Searched refs:acl (Results 1 – 8 of 8) sorted by relevance
/security/tomoyo/ |
D | gc.c | 51 head->r.acl == element || &head->w.domain->list == element) in tomoyo_struct_used_by_io_buffer() 158 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() 166 = container_of(acl, typeof(*entry), head); in tomoyo_del_acl() 173 = container_of(acl, typeof(*entry), head); in tomoyo_del_acl() 181 = container_of(acl, typeof(*entry), head); in tomoyo_del_acl() 189 = container_of(acl, typeof(*entry), head); in tomoyo_del_acl() 199 = container_of(acl, typeof(*entry), head); in tomoyo_del_acl() [all …]
|
D | file.c | 255 const struct tomoyo_path_acl *acl = container_of(ptr, typeof(*acl), in tomoyo_check_path_acl() local 258 if (acl->perm & (1 << r->param.path.operation)) { in tomoyo_check_path_acl() 261 &acl->name); in tomoyo_check_path_acl() 278 const struct tomoyo_path_number_acl *acl = in tomoyo_check_path_number_acl() local 279 container_of(ptr, typeof(*acl), head); in tomoyo_check_path_number_acl() 281 return (acl->perm & (1 << r->param.path_number.operation)) && in tomoyo_check_path_number_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 300 container_of(ptr, typeof(*acl), head); in tomoyo_check_path2_acl() [all …]
|
D | mount.c | 50 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()
|
D | network.c | 422 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() 434 return acl->address.is_ipv6 == r->param.inet_network.is_ipv6 && 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 [all …]
|
D | environ.c | 21 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()
|
D | common.c | 915 list_for_each_cookie(head->r.acl, &tomoyo_kernel_namespace.policy_list[TOMOYO_ID_MANAGER]) { in tomoyo_read_manager() 917 list_entry(head->r.acl, typeof(*ptr), head.list); in tomoyo_read_manager() 1393 struct tomoyo_acl_info *acl) in tomoyo_print_entry() argument 1395 const u8 acl_type = acl->type; in tomoyo_print_entry() 1401 if (acl->is_deleted) in tomoyo_print_entry() 1407 container_of(acl, typeof(*ptr), head); in tomoyo_print_entry() 1429 container_of(acl, typeof(*ptr), head); in tomoyo_print_entry() 1438 container_of(acl, typeof(*ptr), head); in tomoyo_print_entry() 1459 container_of(acl, typeof(*ptr), head); in tomoyo_print_entry() 1480 container_of(acl, typeof(*ptr), head); in tomoyo_print_entry() [all …]
|
D | securityfs_if.c | 22 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()
|
D | common.h | 805 struct list_head *acl; member
|