Home
last modified time | relevance | path

Searched refs:b (Results 1 – 10 of 10) sorted by relevance

/security/
Ddevice_cgroup.c543 const char *b; in devcgroup_update_access() local
557 b = buffer; in devcgroup_update_access()
559 switch (*b) { in devcgroup_update_access()
598 b++; in devcgroup_update_access()
599 if (!isspace(*b)) in devcgroup_update_access()
601 b++; in devcgroup_update_access()
602 if (*b == '*') { in devcgroup_update_access()
604 b++; in devcgroup_update_access()
605 } else if (isdigit(*b)) { in devcgroup_update_access()
608 temp[count] = *b; in devcgroup_update_access()
[all …]
/security/tomoyo/
Dgroup.c19 const struct tomoyo_acl_head *b) in tomoyo_same_path_group() argument
22 container_of(b, struct tomoyo_path_group, head)->member_name; in tomoyo_same_path_group()
34 const struct tomoyo_acl_head *b) in tomoyo_same_number_group() argument
38 &container_of(b, struct tomoyo_number_group, head) in tomoyo_same_number_group()
53 const struct tomoyo_acl_head *b) in tomoyo_same_address_group() argument
57 const struct tomoyo_address_group *p2 = container_of(b, typeof(*p2), in tomoyo_same_address_group()
Dfile.c336 const struct tomoyo_acl_info *b) in tomoyo_same_path_acl() argument
339 const struct tomoyo_path_acl *p2 = container_of(b, typeof(*p2), head); in tomoyo_same_path_acl()
353 struct tomoyo_acl_info *b, in tomoyo_merge_path_acl() argument
359 const u16 b_perm = container_of(b, struct tomoyo_path_acl, head)->perm; in tomoyo_merge_path_acl()
405 const struct tomoyo_acl_info *b) in tomoyo_same_mkdev_acl() argument
408 const struct tomoyo_mkdev_acl *p2 = container_of(b, typeof(*p2), head); in tomoyo_same_mkdev_acl()
425 struct tomoyo_acl_info *b, in tomoyo_merge_mkdev_acl() argument
431 const u8 b_perm = container_of(b, struct tomoyo_mkdev_acl, head) in tomoyo_merge_mkdev_acl()
484 const struct tomoyo_acl_info *b) in tomoyo_same_path2_acl() argument
487 const struct tomoyo_path2_acl *p2 = container_of(b, typeof(*p2), head); in tomoyo_same_path2_acl()
[all …]
Dcommon.h1151 const struct tomoyo_path_info *b) in tomoyo_pathcmp() argument
1153 return a->hash != b->hash || strcmp(a->name, b->name); in tomoyo_pathcmp()
1230 (const struct tomoyo_name_union *a, const struct tomoyo_name_union *b) in tomoyo_same_name_union() argument
1232 return a->filename == b->filename && a->group == b->group; in tomoyo_same_name_union()
1244 (const struct tomoyo_number_union *a, const struct tomoyo_number_union *b) in tomoyo_same_number_union() argument
1246 return a->values[0] == b->values[0] && a->values[1] == b->values[1] && in tomoyo_same_number_union()
1247 a->group == b->group && a->value_type[0] == b->value_type[0] && in tomoyo_same_number_union()
1248 a->value_type[1] == b->value_type[1]; in tomoyo_same_number_union()
1260 (const struct tomoyo_ipaddr_union *a, const struct tomoyo_ipaddr_union *b) in tomoyo_same_ipaddr_union() argument
1262 return !memcmp(a->ip, b->ip, sizeof(a->ip)) && a->group == b->group && in tomoyo_same_ipaddr_union()
[all …]
Dnetwork.c192 const struct tomoyo_acl_info *b) in tomoyo_same_inet_acl() argument
195 const struct tomoyo_inet_acl *p2 = container_of(b, typeof(*p2), head); in tomoyo_same_inet_acl()
211 const struct tomoyo_acl_info *b) in tomoyo_same_unix_acl() argument
214 const struct tomoyo_unix_acl *p2 = container_of(b, typeof(*p2), head); in tomoyo_same_unix_acl()
230 struct tomoyo_acl_info *b, in tomoyo_merge_inet_acl() argument
236 const u8 b_perm = container_of(b, struct tomoyo_inet_acl, head)->perm; in tomoyo_merge_inet_acl()
256 struct tomoyo_acl_info *b, in tomoyo_merge_unix_acl() argument
262 const u8 b_perm = container_of(b, struct tomoyo_unix_acl, head)->perm; in tomoyo_merge_unix_acl()
Denviron.c76 const struct tomoyo_acl_info *b) in tomoyo_same_env_acl() argument
79 const struct tomoyo_env_acl *p2 = container_of(b, typeof(*p2), head); in tomoyo_same_env_acl()
Dcondition.c345 const struct tomoyo_condition *b) in tomoyo_same_condition() argument
347 return a->size == b->size && a->condc == b->condc && in tomoyo_same_condition()
348 a->numbers_count == b->numbers_count && in tomoyo_same_condition()
349 a->names_count == b->names_count && in tomoyo_same_condition()
350 a->argc == b->argc && a->envc == b->envc && in tomoyo_same_condition()
351 a->grant_log == b->grant_log && a->transit == b->transit && in tomoyo_same_condition()
352 !memcmp(a + 1, b + 1, a->size - sizeof(*a)); in tomoyo_same_condition()
Ddomain.c70 const struct tomoyo_acl_info *b) in tomoyo_same_acl_head() argument
72 return a->type == b->type && a->cond == b->cond; in tomoyo_same_acl_head()
212 const struct tomoyo_acl_head *b) in tomoyo_same_transition_control() argument
217 const struct tomoyo_transition_control *p2 = container_of(b, in tomoyo_same_transition_control()
369 const struct tomoyo_acl_head *b) in tomoyo_same_aggregator() argument
373 const struct tomoyo_aggregator *p2 = container_of(b, typeof(*p2), in tomoyo_same_aggregator()
Dcommon.c826 const struct tomoyo_acl_head *b) in tomoyo_same_manager() argument
829 container_of(b, struct tomoyo_manager, head)->manager; in tomoyo_same_manager()
1022 const struct tomoyo_acl_info *b) in tomoyo_same_task_acl() argument
1025 const struct tomoyo_task_acl *p2 = container_of(b, typeof(*p2), head); in tomoyo_same_task_acl()
/security/selinux/ss/
Dconditional.c214 static int bool_isvalid(struct cond_bool_datum *b) in bool_isvalid() argument
216 if (!(b->state == 0 || b->state == 1)) in bool_isvalid()