| /security/integrity/ima/ |
| A D | ima_template.c | 21 {.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 D | ima_template_lib.c | 307 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 D | ima_fs.c | 152 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 D | ima.h | 101 char *fmt; member
|
| A D | ima_policy.c | 1881 template_desc_init_fields(template_desc->fmt, in ima_parse_rule()
|
| /security/apparmor/include/ |
| A D | lib.h | 40 #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 D | audit.c | 244 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 D | common.h | 13 #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 D | common.c | 188 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 D | common.h | 18 #define pr_fmt(fmt) LANDLOCK_NAME ": " fmt argument
|
| /security/ipe/ |
| A D | ipe.h | 12 #define pr_fmt(fmt) "ipe: " fmt argument
|
| /security/integrity/platform_certs/ |
| A D | efi_parser.c | 8 #define pr_fmt(fmt) "EFI: "fmt argument
|
| /security/integrity/ |
| A D | integrity.h | 13 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt argument
|
| /security/apparmor/ |
| A D | lib.c | 321 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 D | lsm.c | 15 #define pr_fmt(fmt) "SafeSetID: " fmt argument
|
| A D | securityfs.c | 15 #define pr_fmt(fmt) "SafeSetID: " fmt argument
|
| /security/keys/ |
| A D | big_key.c | 9 #define pr_fmt(fmt) "big_key: "fmt argument
|
| /security/loadpin/ |
| A D | loadpin.c | 10 #define pr_fmt(fmt) "LoadPin: " fmt argument
|
| /security/integrity/evm/ |
| A D | evm_crypto.c | 13 #define pr_fmt(fmt) "EVM: "fmt argument
|
| A D | evm_main.c | 14 #define pr_fmt(fmt) "EVM: "fmt argument
|
| /security/ |
| A D | security.c | 12 #define pr_fmt(fmt) "LSM: " fmt argument
|