Home
last modified time | relevance | path

Searched refs:acl (Results 1 – 8 of 8) sorted by relevance

/security/tomoyo/
A Dgc.c158 struct tomoyo_acl_info *acl = in tomoyo_del_acl() local
159 container_of(element, typeof(*acl), list); in tomoyo_del_acl()
161 tomoyo_put_condition(acl->cond); in tomoyo_del_acl()
162 switch (acl->type) { in tomoyo_del_acl()
209 container_of(acl, typeof(*entry), head); in tomoyo_del_acl()
255 struct tomoyo_acl_info *acl; in tomoyo_del_domain() local
264 tomoyo_del_acl(&acl->list); in tomoyo_del_domain()
265 tomoyo_memory_free(acl); in tomoyo_del_domain()
508 struct tomoyo_acl_info *acl; in tomoyo_collect_acl() local
512 if (!acl->is_deleted) in tomoyo_collect_acl()
[all …]
A Dfile.c255 const struct tomoyo_path_acl *acl = container_of(ptr, typeof(*acl), in tomoyo_check_path_acl() local
261 &acl->name); in tomoyo_check_path_acl()
283 &acl->number) && in tomoyo_check_path_number_acl()
285 &acl->name); in tomoyo_check_path_number_acl()
299 const struct tomoyo_path2_acl *acl = in tomoyo_check_path2_acl() local
305 &acl->name2); in tomoyo_check_path2_acl()
319 const struct tomoyo_mkdev_acl *acl = in tomoyo_check_mkdev_acl() local
324 &acl->mode) && in tomoyo_check_mkdev_acl()
326 &acl->major) && in tomoyo_check_mkdev_acl()
328 &acl->minor) && in tomoyo_check_mkdev_acl()
[all …]
A Dmount.c50 const struct tomoyo_mount_acl *acl = in tomoyo_check_mount_acl() local
51 container_of(ptr, typeof(*acl), head); in tomoyo_check_mount_acl()
54 &acl->flags) && in tomoyo_check_mount_acl()
56 &acl->fs_type) && in tomoyo_check_mount_acl()
58 &acl->dir_name) && in tomoyo_check_mount_acl()
61 &acl->dev_name)); in tomoyo_check_mount_acl()
A Dnetwork.c422 const struct tomoyo_inet_acl *acl = in tomoyo_check_inet_acl() local
423 container_of(ptr, typeof(*acl), head); in tomoyo_check_inet_acl()
426 if (!(acl->perm & (1 << r->param.inet_network.operation)) || in tomoyo_check_inet_acl()
428 &acl->port)) in tomoyo_check_inet_acl()
430 if (acl->address.group) in tomoyo_check_inet_acl()
433 r->param.inet_network.address, acl->address.group); in tomoyo_check_inet_acl()
435 memcmp(&acl->address.ip[0], in tomoyo_check_inet_acl()
438 &acl->address.ip[1], size) <= 0; in tomoyo_check_inet_acl()
452 const struct tomoyo_unix_acl *acl = in tomoyo_check_unix_acl() local
453 container_of(ptr, typeof(*acl), head); in tomoyo_check_unix_acl()
[all …]
A Denviron.c21 const struct tomoyo_env_acl *acl = in tomoyo_check_env_acl() local
22 container_of(ptr, typeof(*acl), head); in tomoyo_check_env_acl()
24 return tomoyo_path_matches_pattern(r->param.environ.name, acl->env); in tomoyo_check_env_acl()
A Dcommon.c1385 struct tomoyo_acl_info *acl) in tomoyo_print_entry() argument
1387 const u8 acl_type = acl->type; in tomoyo_print_entry()
1393 if (acl->is_deleted) in tomoyo_print_entry()
1399 container_of(acl, typeof(*ptr), head); in tomoyo_print_entry()
1564 if (acl->cond) { in tomoyo_print_entry()
1599 head->r.acl = NULL; in tomoyo_read_domain2()
1832 head->r.acl = NULL; in tomoyo_read_group()
1855 struct tomoyo_acl_head *acl = in tomoyo_read_policy() local
1856 container_of(head->r.acl, typeof(*acl), list); in tomoyo_read_policy()
1857 if (acl->is_deleted) in tomoyo_read_policy()
[all …]
A Dsecurityfs_if.c22 const struct tomoyo_task_acl *acl = container_of(ptr, typeof(*acl), in tomoyo_check_task_acl() local
25 return !tomoyo_pathcmp(r->param.task.domainname, acl->domainname); in tomoyo_check_task_acl()
A Dcommon.h805 struct list_head *acl; member

Completed in 23 milliseconds