Home
last modified time | relevance | path

Searched refs:fmt (Results 1 – 25 of 26) sorted by relevance

12

/security/integrity/ima/
Dima_template.c12 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt argument
22 {.name = IMA_TEMPLATE_IMA_NAME, .fmt = IMA_TEMPLATE_IMA_FMT},
23 {.name = "ima-ng", .fmt = "d-ng|n-ng"},
24 {.name = "ima-sig", .fmt = "d-ng|n-ng|sig"},
25 {.name = "ima-buf", .fmt = "d-ng|n-ng|buf"},
26 {.name = "ima-modsig", .fmt = "d-ng|n-ng|sig|d-modsig|modsig"},
27 {.name = "", .fmt = ""}, /* placeholder for a custom format */
129 builtin_templates[num_templates - 1].fmt = str; in ima_template_fmt_setup()
144 (strcmp(template_desc->fmt, name) == 0)) { in lookup_template_desc()
262 result = template_desc_init_fields(template->fmt, in ima_init_template()
[all …]
Dima_template_lib.c12 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt argument
240 enum data_formats fmt = DATA_FMT_DIGEST; in ima_eventdigest_init_common() local
244 fmt = DATA_FMT_DIGEST_WITH_ALGO; in ima_eventdigest_init_common()
262 fmt, field_data); in ima_eventdigest_init_common()
Dima_init.c14 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt argument
Dima_kexec.c9 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt argument
Dima_fs.c15 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt argument
144 e->template_desc->name : e->template_desc->fmt; in ima_measurements_show()
232 e->template_desc->name : e->template_desc->fmt; in ima_ascii_measurements_show()
Dima_queue.c18 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt argument
Dima_main.c18 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt argument
Dima_crypto.c13 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt argument
Dima.h88 char *fmt; member
Dima_policy.c10 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt argument
1209 template_desc_init_fields(template_desc->fmt, in ima_parse_rule()
/security/apparmor/include/
Dlib.h26 #define AA_DEBUG(fmt, args...) \ argument
29 pr_debug_ratelimited("AppArmor: " fmt, ##args); \
36 #define AA_BUG_FMT(X, fmt, args...) \ argument
37 WARN((X), "AppArmor WARN %s: (" #X "): " fmt, __func__, ##args)
39 #define AA_BUG_FMT(X, fmt, args...) argument
42 #define AA_ERROR(fmt, args...) \ argument
43 pr_err_ratelimited("AppArmor: " fmt, ##args)
/security/tomoyo/
Daudit.c244 char *tomoyo_init_log(struct tomoyo_request_info *r, int len, const char *fmt, in tomoyo_init_log() argument
290 vsnprintf(buf + pos, len - pos, fmt, args); in tomoyo_init_log()
365 void tomoyo_write_log2(struct tomoyo_request_info *r, int len, const char *fmt, in tomoyo_write_log2() argument
375 buf = tomoyo_init_log(r, len, fmt, args); in tomoyo_write_log2()
419 void tomoyo_write_log(struct tomoyo_request_info *r, const char *fmt, ...) in tomoyo_write_log() argument
424 va_start(args, fmt); in tomoyo_write_log()
425 len = vsnprintf((char *) &len, 1, fmt, args) + 1; in tomoyo_write_log()
427 va_start(args, fmt); in tomoyo_write_log()
428 tomoyo_write_log2(r, len, fmt, args); in tomoyo_write_log()
Dcommon.h13 #define pr_fmt(fmt) fmt argument
956 char *tomoyo_init_log(struct tomoyo_request_info *r, int len, const char *fmt,
1003 int tomoyo_supervisor(struct tomoyo_request_info *r, const char *fmt, ...)
1068 void tomoyo_write_log(struct tomoyo_request_info *r, const char *fmt, ...)
1070 void tomoyo_write_log2(struct tomoyo_request_info *r, int len, const char *fmt,
Dcommon.c196 static void tomoyo_addprintf(char *buffer, int len, const char *fmt, ...) in tomoyo_addprintf() argument
201 va_start(args, fmt); in tomoyo_addprintf()
202 vsnprintf(buffer + pos, len - pos - 1, fmt, args); in tomoyo_addprintf()
268 static void tomoyo_io_printf(struct tomoyo_io_buffer *head, const char *fmt,
277 static void tomoyo_io_printf(struct tomoyo_io_buffer *head, const char *fmt, in tomoyo_io_printf() argument
287 va_start(args, fmt); in tomoyo_io_printf()
288 len = vsnprintf(head->read_buf + pos, size, fmt, args) + 1; in tomoyo_io_printf()
2059 int tomoyo_supervisor(struct tomoyo_request_info *r, const char *fmt, ...) in tomoyo_supervisor() argument
2068 va_start(args, fmt); in tomoyo_supervisor()
2069 len = vsnprintf((char *) &len, 1, fmt, args) + 1; in tomoyo_supervisor()
[all …]
/security/integrity/platform_certs/
Defi_parser.c8 #define pr_fmt(fmt) "EFI: "fmt argument
/security/integrity/
Ddigsig_asymmetric.c9 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt argument
Ddigsig.c9 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt argument
/security/safesetid/
Dlsm.c15 #define pr_fmt(fmt) "SafeSetID: " fmt argument
Dsecurityfs.c15 #define pr_fmt(fmt) "SafeSetID: " fmt argument
/security/loadpin/
Dloadpin.c10 #define pr_fmt(fmt) "LoadPin: " fmt argument
/security/integrity/evm/
Devm_secfs.c13 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt argument
Devm_crypto.c13 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt argument
Devm_main.c14 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt argument
/security/apparmor/
Dlib.c224 const char *fmt = "%s"; in aa_audit_perm_names() local
230 audit_log_format(ab, fmt, names[i]); in aa_audit_perm_names()
233 fmt = " %s"; in aa_audit_perm_names()
/security/keys/
Dbig_key.c9 #define pr_fmt(fmt) "big_key: "fmt argument

12