/security/smack/ |
D | smack_access.c | 286 static inline void smack_str_from_perm(char *string, int access) in smack_str_from_perm() argument 291 string[i++] = 'r'; in smack_str_from_perm() 293 string[i++] = 'w'; in smack_str_from_perm() 295 string[i++] = 'x'; in smack_str_from_perm() 297 string[i++] = 'a'; in smack_str_from_perm() 299 string[i++] = 't'; in smack_str_from_perm() 301 string[i++] = 'l'; in smack_str_from_perm() 302 string[i] = '\0'; in smack_str_from_perm() 420 struct smack_known *smk_find_entry(const char *string) in smk_find_entry() argument 426 hash = full_name_hash(NULL, string, strlen(string)); in smk_find_entry() [all …]
|
D | smack.h | 303 char *smk_parse_smack(const char *string, int len);
|
D | smackfs.c | 260 static int smk_perm_from_str(const char *string) in smk_perm_from_str() argument 265 for (cp = string; ; cp++) in smk_perm_from_str()
|
D | smack_lsm.c | 714 rc = smack_add_opt(opt, param->string, &fc->security); in smack_fs_context_parse_param() 716 param->string = NULL; in smack_fs_context_parse_param()
|
/security/apparmor/ |
D | procattr.c | 33 int aa_getprocattr(struct aa_label *label, char **string) in aa_getprocattr() argument 49 *string = kmalloc(len + 2, GFP_KERNEL); in aa_getprocattr() 50 if (!*string) { in aa_getprocattr() 55 len = aa_label_snxprint(*string, len + 2, current_ns, label, in aa_getprocattr() 63 (*string)[len] = '\n'; in aa_getprocattr() 64 (*string)[len + 1] = 0; in aa_getprocattr()
|
D | policy_unpack.c | 390 static int unpack_str(struct aa_ext *e, const char **string, const char *name) in unpack_str() argument 395 *string = NULL; in unpack_str() 402 *string = src_str; in unpack_str() 413 static int unpack_strdup(struct aa_ext *e, char **string, const char *name) in unpack_strdup() argument 418 *string = NULL; in unpack_strdup() 423 *string = kmemdup(tmp, res, GFP_KERNEL); in unpack_strdup() 424 if (!*string) { in unpack_strdup()
|
D | apparmorfs.c | 1001 seq_printf(seq, "%s\n", fs_file->v.string); in aa_sfs_seq_show()
|
/security/tomoyo/ |
D | util.c | 114 bool tomoyo_permstr(const char *string, const char *keyword) in tomoyo_permstr() argument 116 const char *cp = strstr(string, keyword); in tomoyo_permstr() 119 return cp == string || *(cp - 1) == '/'; in tomoyo_permstr() 433 static bool tomoyo_correct_word2(const char *string, size_t len) in tomoyo_correct_word2() argument 435 const char *const start = string; in tomoyo_correct_word2() 444 c = *string++; in tomoyo_correct_word2() 448 c = *string++; in tomoyo_correct_word2() 464 if (string - 3 < start || *(string - 3) != '/') in tomoyo_correct_word2() 469 if (*string != '/') in tomoyo_correct_word2() 481 d = *string++; in tomoyo_correct_word2() [all …]
|
D | gc.c | 71 static bool tomoyo_name_used_by_io_buffer(const char *string) in tomoyo_name_used_by_io_buffer() argument 74 const size_t size = strlen(string) + 1; in tomoyo_name_used_by_io_buffer() 87 if (w < string || w > string + size) in tomoyo_name_used_by_io_buffer()
|
D | Kconfig | 59 string "Location of userspace policy loader" 69 string "Trigger for calling userspace policy loader"
|
D | common.c | 259 static void tomoyo_set_string(struct tomoyo_io_buffer *head, const char *string) in tomoyo_set_string() argument 262 head->r.w[head->r.w_pos++] = string; in tomoyo_set_string() 553 static s8 tomoyo_find_yesno(const char *string, const char *find) in tomoyo_find_yesno() argument 555 const char *cp = strstr(string, find); in tomoyo_find_yesno() 576 static void tomoyo_set_uint(unsigned int *i, const char *string, in tomoyo_set_uint() argument 579 const char *cp = strstr(string, find); in tomoyo_set_uint()
|
D | common.h | 935 bool tomoyo_correct_word(const char *string); 952 bool tomoyo_permstr(const char *string, const char *keyword);
|
/security/apparmor/include/ |
D | apparmorfs.h | 33 char *string; member 48 .v_type = AA_SFS_TYPE_STRING, .v.string = (_value), \
|
D | procattr.h | 14 int aa_getprocattr(struct aa_label *label, char **string);
|
/security/ |
D | Kconfig | 198 Detect overflows of buffers in common string and memory functions 221 STATIC_USERMODEHELPER_PATH to an empty string. 224 string "Path to the static usermode helper binary" 234 specify an empty string here (i.e. ""). 282 string "Ordered list of enabled LSMs"
|
/security/integrity/evm/ |
D | Kconfig | 70 string "EVM X509 certificate path"
|
/security/integrity/ima/ |
D | Kconfig | 82 string 113 string 280 string "IMA X509 certificate path"
|
/security/selinux/ |
D | hooks.c | 2862 rc = selinux_add_opt(opt, param->string, &fc->security); in selinux_fs_context_parse_param() 2864 param->string = NULL; in selinux_fs_context_parse_param()
|