Lines Matching refs:allowed_access
1491 landlock_file(file)->allowed_access = LANDLOCK_MASK_ACCESS_FS; in hook_file_alloc_security()
1505 access_mask_t open_access_request, full_access_request, allowed_access, in hook_file_open() local
1536 allowed_access = full_access_request; in hook_file_open()
1546 allowed_access = 0; in hook_file_open()
1550 allowed_access |= BIT_ULL(access_bit); in hook_file_open()
1560 landlock_file(file)->allowed_access = allowed_access; in hook_file_open()
1562 if ((open_access_request & allowed_access) == open_access_request) in hook_file_open()
1580 if (landlock_file(file)->allowed_access & LANDLOCK_ACCESS_FS_TRUNCATE) in hook_file_truncate()
1588 access_mask_t allowed_access = landlock_file(file)->allowed_access; in hook_file_ioctl() local
1596 if (allowed_access & LANDLOCK_ACCESS_FS_IOCTL_DEV) in hook_file_ioctl()
1611 access_mask_t allowed_access = landlock_file(file)->allowed_access; in hook_file_ioctl_compat() local
1619 if (allowed_access & LANDLOCK_ACCESS_FS_IOCTL_DEV) in hook_file_ioctl_compat()