Home
last modified time | relevance | path

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

/security/integrity/ima/
A Dima_template.c21 {.name = "ima-ng", .fmt = "d-ng|n-ng"},
22 {.name = "ima-sig", .fmt = "d-ng|n-ng|sig"},
23 {.name = "ima-ngv2", .fmt = "d-ngv2|n-ng"},
24 {.name = "ima-sigv2", .fmt = "d-ngv2|n-ng|sig"},
25 {.name = "ima-buf", .fmt = "d-ng|n-ng|buf"},
155 builtin_templates[num_templates - 1].fmt = str; in ima_template_fmt_setup()
171 (strcmp(template_desc->fmt, name) == 0)) { in lookup_template_desc()
298 result = template_desc_init_fields(template->fmt, in ima_init_template()
304 template->name : template->fmt), result); in ima_init_template()
343 if (!template_desc->fmt) { in restore_template_fmt()
[all …]
A Dima_template_lib.c307 enum data_formats fmt = DATA_FMT_DIGEST; in ima_eventdigest_init_common() local
311 fmt = DATA_FMT_DIGEST_WITH_TYPE_AND_ALGO; in ima_eventdigest_init_common()
316 fmt = DATA_FMT_DIGEST_WITH_ALGO; in ima_eventdigest_init_common()
338 fmt, field_data); in ima_eventdigest_init_common()
A Dima_fs.c152 e->template_desc->name : e->template_desc->fmt; in ima_measurements_show()
249 e->template_desc->name : e->template_desc->fmt; in ima_ascii_measurements_show()
A Dima.h101 char *fmt; member
A Dima_policy.c1881 template_desc_init_fields(template_desc->fmt, in ima_parse_rule()
/security/apparmor/include/
A Dlib.h40 #define AA_DEBUG(opt, fmt, args...) \ argument
43 pr_warn_ratelimited("%s: " fmt, __func__, ##args); \
45 #define AA_DEBUG_LABEL(LAB, X, fmt, args...) \ argument
48 AA_DEBUG(X, fmt, args); \
60 #define AA_BUG_FMT(X, fmt, args...) \ argument
61 WARN((X), "AppArmor WARN %s: (" #X "): " fmt, __func__, ##args)
63 #define AA_BUG_FMT(X, fmt, args...) \ argument
66 no_printk(fmt, ##args); \
73 #define AA_ERROR(fmt, args...) \ argument
74 pr_err_ratelimited("AppArmor: " fmt, ##args)
/security/tomoyo/
A 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(NULL, 0, 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()
A Dcommon.h13 #define pr_fmt(fmt) fmt argument
956 char *tomoyo_init_log(struct tomoyo_request_info *r, int len, const char *fmt,
1002 int tomoyo_supervisor(struct tomoyo_request_info *r, const char *fmt, ...)
1065 void tomoyo_write_log(struct tomoyo_request_info *r, const char *fmt, ...)
1067 void tomoyo_write_log2(struct tomoyo_request_info *r, int len, const char *fmt,
A Dcommon.c188 static void tomoyo_addprintf(char *buffer, int len, const char *fmt, ...) in tomoyo_addprintf() argument
193 va_start(args, fmt); in tomoyo_addprintf()
194 vsnprintf(buffer + pos, len - pos - 1, fmt, args); in tomoyo_addprintf()
279 va_start(args, fmt); in tomoyo_io_printf()
280 len = vsnprintf(head->read_buf + pos, size, fmt, args) + 1; in tomoyo_io_printf()
2169 va_start(args, fmt); in tomoyo_supervisor()
2170 len = vsnprintf(NULL, 0, fmt, args) + 1; in tomoyo_supervisor()
2173 va_start(args, fmt); in tomoyo_supervisor()
2174 tomoyo_write_log2(r, len, fmt, args); in tomoyo_supervisor()
2197 va_start(args, fmt); in tomoyo_supervisor()
[all …]
/security/landlock/
A Dcommon.h18 #define pr_fmt(fmt) LANDLOCK_NAME ": " fmt argument
/security/ipe/
A Dipe.h12 #define pr_fmt(fmt) "ipe: " fmt argument
/security/integrity/platform_certs/
A Defi_parser.c8 #define pr_fmt(fmt) "EFI: "fmt argument
/security/integrity/
A Dintegrity.h13 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt argument
/security/apparmor/
A Dlib.c321 const char *fmt = "%s"; in aa_audit_perm_names() local
327 audit_log_format(ab, fmt, names[i]); in aa_audit_perm_names()
330 fmt = " %s"; in aa_audit_perm_names()
/security/safesetid/
A Dlsm.c15 #define pr_fmt(fmt) "SafeSetID: " fmt argument
A Dsecurityfs.c15 #define pr_fmt(fmt) "SafeSetID: " fmt argument
/security/keys/
A Dbig_key.c9 #define pr_fmt(fmt) "big_key: "fmt argument
/security/loadpin/
A Dloadpin.c10 #define pr_fmt(fmt) "LoadPin: " fmt argument
/security/integrity/evm/
A Devm_crypto.c13 #define pr_fmt(fmt) "EVM: "fmt argument
A Devm_main.c14 #define pr_fmt(fmt) "EVM: "fmt argument
/security/
A Dsecurity.c12 #define pr_fmt(fmt) "LSM: " fmt argument

Completed in 46 milliseconds