/security/ |
D | device_cgroup.c | 598 const char *b; in devcgroup_update_access() local 608 b = buffer; in devcgroup_update_access() 610 switch (*b) { in devcgroup_update_access() 649 b++; in devcgroup_update_access() 650 if (!isspace(*b)) in devcgroup_update_access() 652 b++; in devcgroup_update_access() 653 if (*b == '*') { in devcgroup_update_access() 655 b++; in devcgroup_update_access() 656 } else if (isdigit(*b)) { in devcgroup_update_access() 659 temp[count] = *b; in devcgroup_update_access() [all …]
|
/security/apparmor/ |
D | label.c | 107 static int ns_cmp(struct aa_ns *a, struct aa_ns *b) in ns_cmp() argument 112 AA_BUG(!b); in ns_cmp() 114 AA_BUG(!b->base.hname); in ns_cmp() 116 if (a == b) in ns_cmp() 119 res = a->level - b->level; in ns_cmp() 123 return strcmp(a->base.hname, b->base.hname); in ns_cmp() 135 static int profile_cmp(struct aa_profile *a, struct aa_profile *b) in profile_cmp() argument 140 AA_BUG(!b); in profile_cmp() 142 AA_BUG(!b->ns); in profile_cmp() 144 AA_BUG(!b->base.hname); in profile_cmp() [all …]
|
D | match.c | 372 u32 b = (base)[(state)]; \ 373 unsigned int pos = base_idx(b) + (C); \ 376 if (b & MATCH_FLAG_DIFF_ENCODE) \
|
/security/tomoyo/ |
D | group.c | 22 const struct tomoyo_acl_head *b) in tomoyo_same_path_group() argument 25 container_of(b, struct tomoyo_path_group, head)->member_name; in tomoyo_same_path_group() 37 const struct tomoyo_acl_head *b) in tomoyo_same_number_group() argument 41 &container_of(b, struct tomoyo_number_group, head) in tomoyo_same_number_group() 56 const struct tomoyo_acl_head *b) in tomoyo_same_address_group() argument 60 const struct tomoyo_address_group *p2 = container_of(b, typeof(*p2), in tomoyo_same_address_group()
|
D | file.c | 342 const struct tomoyo_acl_info *b) in tomoyo_same_path_acl() argument 345 const struct tomoyo_path_acl *p2 = container_of(b, typeof(*p2), head); in tomoyo_same_path_acl() 360 struct tomoyo_acl_info *b, in tomoyo_merge_path_acl() argument 366 const u16 b_perm = container_of(b, struct tomoyo_path_acl, head)->perm; in tomoyo_merge_path_acl() 414 const struct tomoyo_acl_info *b) in tomoyo_same_mkdev_acl() argument 417 const struct tomoyo_mkdev_acl *p2 = container_of(b, typeof(*p2), head); in tomoyo_same_mkdev_acl() 435 struct tomoyo_acl_info *b, in tomoyo_merge_mkdev_acl() argument 441 const u8 b_perm = container_of(b, struct tomoyo_mkdev_acl, head) in tomoyo_merge_mkdev_acl() 496 const struct tomoyo_acl_info *b) in tomoyo_same_path2_acl() argument 499 const struct tomoyo_path2_acl *p2 = container_of(b, typeof(*p2), head); in tomoyo_same_path2_acl() [all …]
|
D | common.h | 1166 const struct tomoyo_path_info *b) in tomoyo_pathcmp() argument 1168 return a->hash != b->hash || strcmp(a->name, b->name); in tomoyo_pathcmp() 1234 (const struct tomoyo_name_union *a, const struct tomoyo_name_union *b) in tomoyo_same_name_union() argument 1236 return a->filename == b->filename && a->group == b->group; in tomoyo_same_name_union() 1248 (const struct tomoyo_number_union *a, const struct tomoyo_number_union *b) in tomoyo_same_number_union() argument 1250 return a->values[0] == b->values[0] && a->values[1] == b->values[1] && in tomoyo_same_number_union() 1251 a->group == b->group && a->value_type[0] == b->value_type[0] && in tomoyo_same_number_union() 1252 a->value_type[1] == b->value_type[1]; in tomoyo_same_number_union() 1264 (const struct tomoyo_ipaddr_union *a, const struct tomoyo_ipaddr_union *b) in tomoyo_same_ipaddr_union() argument 1266 return !memcmp(a->ip, b->ip, sizeof(a->ip)) && a->group == b->group && in tomoyo_same_ipaddr_union() [all …]
|
D | network.c | 193 const struct tomoyo_acl_info *b) in tomoyo_same_inet_acl() argument 196 const struct tomoyo_inet_acl *p2 = container_of(b, typeof(*p2), head); in tomoyo_same_inet_acl() 212 const struct tomoyo_acl_info *b) in tomoyo_same_unix_acl() argument 215 const struct tomoyo_unix_acl *p2 = container_of(b, typeof(*p2), head); in tomoyo_same_unix_acl() 231 struct tomoyo_acl_info *b, in tomoyo_merge_inet_acl() argument 237 const u8 b_perm = container_of(b, struct tomoyo_inet_acl, head)->perm; in tomoyo_merge_inet_acl() 257 struct tomoyo_acl_info *b, in tomoyo_merge_unix_acl() argument 263 const u8 b_perm = container_of(b, struct tomoyo_unix_acl, head)->perm; in tomoyo_merge_unix_acl()
|
D | condition.c | 358 const struct tomoyo_condition *b) in tomoyo_same_condition() argument 360 return a->size == b->size && a->condc == b->condc && in tomoyo_same_condition() 361 a->numbers_count == b->numbers_count && in tomoyo_same_condition() 362 a->names_count == b->names_count && in tomoyo_same_condition() 363 a->argc == b->argc && a->envc == b->envc && in tomoyo_same_condition() 364 a->grant_log == b->grant_log && a->transit == b->transit && in tomoyo_same_condition() 365 !memcmp(a + 1, b + 1, a->size - sizeof(*a)); in tomoyo_same_condition()
|
D | environ.c | 77 const struct tomoyo_acl_info *b) in tomoyo_same_env_acl() argument 80 const struct tomoyo_env_acl *p2 = container_of(b, typeof(*p2), head); in tomoyo_same_env_acl()
|
D | domain.c | 74 const struct tomoyo_acl_info *b) in tomoyo_same_acl_head() argument 76 return a->type == b->type && a->cond == b->cond; in tomoyo_same_acl_head() 220 const struct tomoyo_acl_head *b) in tomoyo_same_transition_control() argument 225 const struct tomoyo_transition_control *p2 = container_of(b, in tomoyo_same_transition_control() 383 const struct tomoyo_acl_head *b) in tomoyo_same_aggregator() argument 387 const struct tomoyo_aggregator *p2 = container_of(b, typeof(*p2), in tomoyo_same_aggregator()
|
D | common.c | 845 const struct tomoyo_acl_head *b) in tomoyo_same_manager() argument 848 container_of(b, struct tomoyo_manager, head)->manager; in tomoyo_same_manager() 1044 const struct tomoyo_acl_info *b) in tomoyo_same_task_acl() argument 1047 const struct tomoyo_task_acl *p2 = container_of(b, typeof(*p2), head); in tomoyo_same_task_acl()
|
/security/smack/ |
D | Kconfig | 21 Enable the bring-up ("b") access mode in Smack rules. 22 When access is granted by a rule with the "b" mode a
|
/security/integrity/platform_certs/ |
D | efi_parser.c | 58 list.signature_type.b, list.signature_list_size, in parse_efi_signature_list()
|
/security/apparmor/include/ |
D | label.h | 297 struct aa_label *b); 298 struct aa_label *aa_label_find_merge(struct aa_label *a, struct aa_label *b); 299 struct aa_label *aa_label_merge(struct aa_label *a, struct aa_label *b,
|
/security/keys/ |
D | keyring.c | 329 const struct keyring_index_key *b = data; in keyring_diff_objects() local 335 seg_b = b->hash; in keyring_diff_objects() 345 seg_b = b->x; in keyring_diff_objects() 352 seg_b = (unsigned long)b->type; in keyring_diff_objects() 358 seg_b = (unsigned long)b->domain_tag; in keyring_diff_objects() 369 seg_b = *(unsigned char *)(b->description + i); in keyring_diff_objects()
|
/security/selinux/ss/ |
D | conditional.c | 209 static int bool_isvalid(struct cond_bool_datum *b) in bool_isvalid() argument 211 if (!(b->state == 0 || b->state == 1)) in bool_isvalid()
|