Searched refs:path_beneath_attr (Results 1 – 3 of 3) sorted by relevance
| /linux/tools/testing/selftests/landlock/ |
| A D | base_test.c | 178 &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() 205 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() 277 path_beneath_attr.parent_fd = in TEST() 279 ASSERT_LE(0, path_beneath_attr.parent_fd); in TEST() [all …]
|
| /linux/security/landlock/ |
| A D | syscalls.c | 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() [all …]
|
| /linux/tools/perf/tests/workloads/ |
| A D | landlock.c | 47 struct landlock_path_beneath_attr path_beneath_attr = { in landlock() local 58 &path_beneath_attr, flags); in landlock()
|
Completed in 8 milliseconds