Searched refs:path_beneath_attr (Results 1 – 3 of 3) sorted by relevance
150 struct landlock_path_beneath_attr path_beneath_attr = { in TEST() local178 &path_beneath_attr, 0)); in TEST()182 path_beneath_attr.parent_fd = in TEST()184 ASSERT_LE(0, path_beneath_attr.parent_fd); in TEST()186 &path_beneath_attr, 0)); in TEST()187 ASSERT_EQ(0, close(path_beneath_attr.parent_fd)); in TEST()197 struct landlock_path_beneath_attr path_beneath_attr = { in TEST() local205 path_beneath_attr.parent_fd = in TEST()207 ASSERT_LE(0, path_beneath_attr.parent_fd); in TEST()209 &path_beneath_attr, 0)); in TEST()[all …]
89 struct landlock_path_beneath_attr path_beneath_attr; in build_check_abi() local104 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() local319 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()[all …]
47 struct landlock_path_beneath_attr path_beneath_attr = { in landlock() local58 &path_beneath_attr, flags); in landlock()