Lines Matching refs:path_beneath_attr
76 struct landlock_path_beneath_attr path_beneath_attr; in build_check_abi() local
88 path_beneath_size = sizeof(path_beneath_attr.allowed_access); in build_check_abi()
89 path_beneath_size += sizeof(path_beneath_attr.parent_fd); in build_check_abi()
90 BUILD_BUG_ON(sizeof(path_beneath_attr) != path_beneath_size); in build_check_abi()
91 BUILD_BUG_ON(sizeof(path_beneath_attr) != 12); in build_check_abi()
309 struct landlock_path_beneath_attr path_beneath_attr; in SYSCALL_DEFINE4() local
332 res = copy_from_user(&path_beneath_attr, rule_attr, in SYSCALL_DEFINE4()
333 sizeof(path_beneath_attr)); in SYSCALL_DEFINE4()
343 if (!path_beneath_attr.allowed_access) { in SYSCALL_DEFINE4()
351 if ((path_beneath_attr.allowed_access | ruleset->fs_access_masks[0]) != in SYSCALL_DEFINE4()
358 err = get_path_from_fd(path_beneath_attr.parent_fd, &path); in SYSCALL_DEFINE4()
364 path_beneath_attr.allowed_access); in SYSCALL_DEFINE4()