Home
last modified time | relevance | path

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

/security/integrity/ima/
Dima_template.c20 {.name = IMA_TEMPLATE_IMA_NAME, .fmt = IMA_TEMPLATE_IMA_FMT},
21 {.name = "ima-ng", .fmt = "d-ng|n-ng"},
22 {.name = "ima-sig", .fmt = "d-ng|n-ng|sig"},
23 {.name = "ima-buf", .fmt = "d-ng|n-ng|buf"},
24 {.name = "ima-modsig", .fmt = "d-ng|n-ng|sig|d-modsig|modsig"},
26 .fmt = "d-ng|n-ng|evmsig|xattrnames|xattrlengths|xattrvalues|iuid|igid|imode"},
27 {.name = "", .fmt = ""}, /* placeholder for a custom format */
151 builtin_templates[num_templates - 1].fmt = str; in ima_template_fmt_setup()
167 (strcmp(template_desc->fmt, name) == 0)) { in lookup_template_desc()
294 result = template_desc_init_fields(template->fmt, in ima_init_template()
[all …]
Dima_template_lib.c279 enum data_formats fmt = DATA_FMT_DIGEST; in ima_eventdigest_init_common() local
283 fmt = DATA_FMT_DIGEST_WITH_ALGO; in ima_eventdigest_init_common()
301 fmt, field_data); in ima_eventdigest_init_common()
Dima_fs.c143 e->template_desc->name : e->template_desc->fmt; in ima_measurements_show()
231 e->template_desc->name : e->template_desc->fmt; in ima_ascii_measurements_show()
Dima.h93 char *fmt; member
Dima_policy.c1684 template_desc_init_fields(template_desc->fmt, in ima_parse_rule()
/security/apparmor/include/
Dlib.h31 #define AA_DEBUG(fmt, args...) \ argument
34 pr_debug_ratelimited("AppArmor: " fmt, ##args); \
41 #define AA_BUG_FMT(X, fmt, args...) \ argument
42 WARN((X), "AppArmor WARN %s: (" #X "): " fmt, __func__, ##args)
44 #define AA_BUG_FMT(X, fmt, args...) argument
47 #define AA_ERROR(fmt, args...) \ argument
48 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()
366 void tomoyo_write_log2(struct tomoyo_request_info *r, int len, const char *fmt, in tomoyo_write_log2() argument
376 buf = tomoyo_init_log(r, len, fmt, args); in tomoyo_write_log2()
420 void tomoyo_write_log(struct tomoyo_request_info *r, const char *fmt, ...) in tomoyo_write_log() argument
425 va_start(args, fmt); in tomoyo_write_log()
426 len = vsnprintf((char *) &len, 1, fmt, args) + 1; in tomoyo_write_log()
428 va_start(args, fmt); in tomoyo_write_log()
429 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/landlock/
Dcommon.h18 #define pr_fmt(fmt) LANDLOCK_NAME ": " fmt argument
/security/integrity/platform_certs/
Defi_parser.c8 #define pr_fmt(fmt) "EFI: "fmt argument
/security/loadpin/
Dloadpin.c10 #define pr_fmt(fmt) "LoadPin: " fmt argument
/security/integrity/
Dintegrity.h13 #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/keys/
Dbig_key.c9 #define pr_fmt(fmt) "big_key: "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/integrity/evm/
Devm_crypto.c13 #define pr_fmt(fmt) "EVM: "fmt argument
Devm_main.c14 #define pr_fmt(fmt) "EVM: "fmt argument
/security/
Dsecurity.c11 #define pr_fmt(fmt) "LSM: " fmt argument