Home
last modified time | relevance | path

Searched refs:allowed_access (Results 1 – 3 of 3) sorted by relevance

/security/landlock/
A Dsyscalls.c108 path_beneath_size = sizeof(path_beneath_attr.allowed_access); in build_check_abi()
113 net_port_size = sizeof(net_port_attr.allowed_access); in build_check_abi()
332 if (!path_beneath_attr.allowed_access) in add_rule_path_beneath()
337 if ((path_beneath_attr.allowed_access | mask) != mask) in add_rule_path_beneath()
347 path_beneath_attr.allowed_access); in add_rule_path_beneath()
368 if (!net_port_attr.allowed_access) in add_rule_net_port()
373 if ((net_port_attr.allowed_access | mask) != mask) in add_rule_net_port()
382 net_port_attr.allowed_access); in add_rule_net_port()
A Dfs.c1605 landlock_file(file)->allowed_access = LANDLOCK_MASK_ACCESS_FS; in hook_file_alloc_security()
1619 access_mask_t open_access_request, full_access_request, allowed_access, in hook_file_open() local
1651 allowed_access = full_access_request; in hook_file_open()
1661 allowed_access = 0; in hook_file_open()
1665 allowed_access |= BIT_ULL(access_bit); in hook_file_open()
1675 landlock_file(file)->allowed_access = allowed_access; in hook_file_open()
1682 if ((open_access_request & allowed_access) == open_access_request) in hook_file_open()
1703 if (landlock_file(file)->allowed_access & LANDLOCK_ACCESS_FS_TRUNCATE) in hook_file_truncate()
1724 access_mask_t allowed_access = landlock_file(file)->allowed_access; in hook_file_ioctl_common() local
1732 if (allowed_access & LANDLOCK_ACCESS_FS_IOCTL_DEV) in hook_file_ioctl_common()
A Dfs.h58 access_mask_t allowed_access; member

Completed in 7 milliseconds