Lines Matching refs:path_beneath_attr
89 struct landlock_path_beneath_attr path_beneath_attr; in build_check_abi() local
104 path_beneath_size = sizeof(path_beneath_attr.allowed_access); in build_check_abi()
105 path_beneath_size += sizeof(path_beneath_attr.parent_fd); in build_check_abi()
106 BUILD_BUG_ON(sizeof(path_beneath_attr) != path_beneath_size); in build_check_abi()
107 BUILD_BUG_ON(sizeof(path_beneath_attr) != 12); in build_check_abi()
313 struct landlock_path_beneath_attr path_beneath_attr; in add_rule_path_beneath() local
319 res = copy_from_user(&path_beneath_attr, rule_attr, in add_rule_path_beneath()
320 sizeof(path_beneath_attr)); in add_rule_path_beneath()
328 if (!path_beneath_attr.allowed_access) in add_rule_path_beneath()
333 if ((path_beneath_attr.allowed_access | mask) != mask) in add_rule_path_beneath()
337 err = get_path_from_fd(path_beneath_attr.parent_fd, &path); in add_rule_path_beneath()
343 path_beneath_attr.allowed_access); in add_rule_path_beneath()