Home
last modified time | relevance | path

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

/security/integrity/ima/
Dima_template.c16 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt argument
26 {.name = IMA_TEMPLATE_IMA_NAME, .fmt = IMA_TEMPLATE_IMA_FMT},
27 {.name = "ima-ng", .fmt = "d-ng|n-ng"},
28 {.name = "ima-sig", .fmt = "d-ng|n-ng|sig"},
29 {.name = "", .fmt = ""}, /* placeholder for a custom format */
104 builtin_templates[num_templates - 1].fmt = str; in ima_template_fmt_setup()
119 (strcmp(template_desc->fmt, name) == 0)) { in lookup_template_desc()
236 result = template_desc_init_fields(template->fmt, in ima_init_template()
242 template->name : template->fmt), result); in ima_init_template()
264 template_desc->fmt = kstrdup(template_name, GFP_KERNEL); in restore_template_fmt()
[all …]
Dima_template_lib.c234 enum data_formats fmt = DATA_FMT_DIGEST; in ima_eventdigest_init_common() local
238 fmt = DATA_FMT_DIGEST_WITH_ALGO; in ima_eventdigest_init_common()
256 fmt, field_data); in ima_eventdigest_init_common()
381 enum data_formats fmt = DATA_FMT_HEX; in ima_eventsig_init() local
389 rc = ima_write_template_field_data(xattr_value, xattr_len, fmt, in ima_eventsig_init()
Dima_init.c18 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt argument
Dima_queue.c22 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt argument
Dima_main.c20 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt argument
Dima_fs.c145 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_crypto.c16 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt argument
Dima.h90 char *fmt; member
/security/apparmor/include/
Dlib.h40 #define AA_DEBUG(fmt, args...) \ argument
43 pr_debug_ratelimited("AppArmor: " fmt, ##args); \
50 #define AA_BUG_FMT(X, fmt, args...) \ argument
51 WARN((X), "AppArmor WARN %s: (" #X "): " fmt, __func__, ##args)
53 #define AA_BUG_FMT(X, fmt, args...) argument
56 #define AA_ERROR(fmt, args...) \ argument
57 pr_err_ratelimited("AppArmor: " fmt, ##args)
/security/tomoyo/
Daudit.c242 char *tomoyo_init_log(struct tomoyo_request_info *r, int len, const char *fmt, in tomoyo_init_log() argument
285 vsnprintf(buf + pos, len - pos, fmt, args); in tomoyo_init_log()
359 void tomoyo_write_log2(struct tomoyo_request_info *r, int len, const char *fmt, in tomoyo_write_log2() argument
368 buf = tomoyo_init_log(r, len, fmt, args); in tomoyo_write_log2()
412 void tomoyo_write_log(struct tomoyo_request_info *r, const char *fmt, ...) in tomoyo_write_log() argument
416 va_start(args, fmt); in tomoyo_write_log()
417 len = vsnprintf((char *) &len, 1, fmt, args) + 1; in tomoyo_write_log()
419 va_start(args, fmt); in tomoyo_write_log()
420 tomoyo_write_log2(r, len, fmt, args); in tomoyo_write_log()
Dcommon.c196 static void tomoyo_addprintf(char *buffer, int len, const char *fmt, ...) in tomoyo_addprintf() argument
200 va_start(args, fmt); in tomoyo_addprintf()
201 vsnprintf(buffer + pos, len - pos - 1, fmt, args); in tomoyo_addprintf()
266 static void tomoyo_io_printf(struct tomoyo_io_buffer *head, const char *fmt,
275 static void tomoyo_io_printf(struct tomoyo_io_buffer *head, const char *fmt, in tomoyo_io_printf() argument
284 va_start(args, fmt); in tomoyo_io_printf()
285 len = vsnprintf(head->read_buf + pos, size, fmt, args) + 1; in tomoyo_io_printf()
1996 int tomoyo_supervisor(struct tomoyo_request_info *r, const char *fmt, ...) in tomoyo_supervisor() argument
2004 va_start(args, fmt); in tomoyo_supervisor()
2005 len = vsnprintf((char *) &len, 1, fmt, args) + 1; in tomoyo_supervisor()
[all …]
Dcommon.h946 char *tomoyo_init_log(struct tomoyo_request_info *r, int len, const char *fmt,
993 int tomoyo_supervisor(struct tomoyo_request_info *r, const char *fmt, ...)
1057 void tomoyo_write_log(struct tomoyo_request_info *r, const char *fmt, ...)
1059 void tomoyo_write_log2(struct tomoyo_request_info *r, int len, const char *fmt,
/security/integrity/evm/
Devm_secfs.c16 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt argument
Devm_crypto.c16 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt argument
Devm_main.c17 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt argument
/security/integrity/
Ddigsig_asymmetric.c13 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt argument
Ddigsig.c13 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt argument
/security/loadpin/
Dloadpin.c18 #define pr_fmt(fmt) "LoadPin: " fmt argument
/security/apparmor/
Dlib.c218 const char *fmt = "%s"; in aa_audit_perm_names() local
224 audit_log_format(ab, fmt, names[i]); in aa_audit_perm_names()
227 fmt = " %s"; in aa_audit_perm_names()
/security/keys/
Dbig_key.c13 #define pr_fmt(fmt) "big_key: "fmt argument