Home
last modified time | relevance | path

Searched refs:path_beneath (Results 1 – 10 of 10) sorted by relevance

/dports/multimedia/libv4l/linux-5.13-rc2/samples/landlock/
H A Dsandboxer.c85 struct landlock_path_beneath_attr path_beneath = { in populate_ruleset() local
110 path_beneath.parent_fd = open(path_list[i], O_PATH | in populate_ruleset()
112 if (path_beneath.parent_fd < 0) { in populate_ruleset()
118 if (fstat(path_beneath.parent_fd, &statbuf)) { in populate_ruleset()
119 close(path_beneath.parent_fd); in populate_ruleset()
122 path_beneath.allowed_access = allowed_access; in populate_ruleset()
124 path_beneath.allowed_access &= ACCESS_FILE; in populate_ruleset()
126 &path_beneath, 0)) { in populate_ruleset()
129 close(path_beneath.parent_fd); in populate_ruleset()
132 close(path_beneath.parent_fd); in populate_ruleset()
/dports/multimedia/v4l_compat/linux-5.13-rc2/samples/landlock/
H A Dsandboxer.c85 struct landlock_path_beneath_attr path_beneath = { in populate_ruleset() local
110 path_beneath.parent_fd = open(path_list[i], O_PATH | in populate_ruleset()
112 if (path_beneath.parent_fd < 0) { in populate_ruleset()
118 if (fstat(path_beneath.parent_fd, &statbuf)) { in populate_ruleset()
119 close(path_beneath.parent_fd); in populate_ruleset()
122 path_beneath.allowed_access = allowed_access; in populate_ruleset()
124 path_beneath.allowed_access &= ACCESS_FILE; in populate_ruleset()
126 &path_beneath, 0)) { in populate_ruleset()
129 close(path_beneath.parent_fd); in populate_ruleset()
132 close(path_beneath.parent_fd); in populate_ruleset()
/dports/multimedia/v4l-utils/linux-5.13-rc2/samples/landlock/
H A Dsandboxer.c85 struct landlock_path_beneath_attr path_beneath = { in populate_ruleset() local
110 path_beneath.parent_fd = open(path_list[i], O_PATH | in populate_ruleset()
112 if (path_beneath.parent_fd < 0) { in populate_ruleset()
118 if (fstat(path_beneath.parent_fd, &statbuf)) { in populate_ruleset()
119 close(path_beneath.parent_fd); in populate_ruleset()
122 path_beneath.allowed_access = allowed_access; in populate_ruleset()
124 path_beneath.allowed_access &= ACCESS_FILE; in populate_ruleset()
126 &path_beneath, 0)) { in populate_ruleset()
129 close(path_beneath.parent_fd); in populate_ruleset()
132 close(path_beneath.parent_fd); in populate_ruleset()
/dports/benchmarks/stress-ng/stress-ng-0.13.09/
H A Dstress-landlock.c139 struct landlock_path_beneath_attr path_beneath = { in stress_landlock_flag() local
170 path_beneath.parent_fd = -1; in stress_landlock_flag()
172 &path_beneath, 0); in stress_landlock_flag()
175 path_beneath.parent_fd = open(path, O_PATH | O_CLOEXEC); in stress_landlock_flag()
176 if (path_beneath.parent_fd < 0) in stress_landlock_flag()
181 &path_beneath, 0); in stress_landlock_flag()
186 &path_beneath, ~0); in stress_landlock_flag()
190 &path_beneath, 0); in stress_landlock_flag()
194 &path_beneath, 0); in stress_landlock_flag()
242 (void)close(path_beneath.parent_fd); in stress_landlock_flag()
/dports/multimedia/v4l_compat/linux-5.13-rc2/tools/testing/selftests/landlock/
H A Dfs_test.c310 &path_beneath, 0)); in TEST_F_FORK()
318 &path_beneath, 0)); in TEST_F_FORK()
328 &path_beneath, 0)); in TEST_F_FORK()
335 &path_beneath, 0)); in TEST_F_FORK()
341 &path_beneath, 0)); in TEST_F_FORK()
352 &path_beneath, 0)); in TEST_F_FORK()
359 &path_beneath, 0)); in TEST_F_FORK()
366 &path_beneath, 0)); in TEST_F_FORK()
418 &path_beneath, 0); in TEST_F_FORK()
443 &path_beneath, 0)) { in add_path_beneath()
[all …]
/dports/multimedia/libv4l/linux-5.13-rc2/tools/testing/selftests/landlock/
H A Dfs_test.c310 &path_beneath, 0)); in TEST_F_FORK()
318 &path_beneath, 0)); in TEST_F_FORK()
328 &path_beneath, 0)); in TEST_F_FORK()
335 &path_beneath, 0)); in TEST_F_FORK()
341 &path_beneath, 0)); in TEST_F_FORK()
352 &path_beneath, 0)); in TEST_F_FORK()
359 &path_beneath, 0)); in TEST_F_FORK()
366 &path_beneath, 0)); in TEST_F_FORK()
418 &path_beneath, 0); in TEST_F_FORK()
443 &path_beneath, 0)) { in add_path_beneath()
[all …]
/dports/multimedia/v4l-utils/linux-5.13-rc2/tools/testing/selftests/landlock/
H A Dfs_test.c310 &path_beneath, 0)); in TEST_F_FORK()
318 &path_beneath, 0)); in TEST_F_FORK()
328 &path_beneath, 0)); in TEST_F_FORK()
335 &path_beneath, 0)); in TEST_F_FORK()
341 &path_beneath, 0)); in TEST_F_FORK()
352 &path_beneath, 0)); in TEST_F_FORK()
359 &path_beneath, 0)); in TEST_F_FORK()
366 &path_beneath, 0)); in TEST_F_FORK()
418 &path_beneath, 0); in TEST_F_FORK()
443 &path_beneath, 0)) { in add_path_beneath()
[all …]
/dports/multimedia/libv4l/linux-5.13-rc2/Documentation/userspace-api/
H A Dlandlock.rst73 struct landlock_path_beneath_attr path_beneath = {
80 path_beneath.parent_fd = open("/usr", O_PATH | O_CLOEXEC);
81 if (path_beneath.parent_fd < 0) {
87 &path_beneath, 0);
88 close(path_beneath.parent_fd);
/dports/multimedia/v4l-utils/linux-5.13-rc2/Documentation/userspace-api/
H A Dlandlock.rst73 struct landlock_path_beneath_attr path_beneath = {
80 path_beneath.parent_fd = open("/usr", O_PATH | O_CLOEXEC);
81 if (path_beneath.parent_fd < 0) {
87 &path_beneath, 0);
88 close(path_beneath.parent_fd);
/dports/multimedia/v4l_compat/linux-5.13-rc2/Documentation/userspace-api/
H A Dlandlock.rst73 struct landlock_path_beneath_attr path_beneath = {
80 path_beneath.parent_fd = open("/usr", O_PATH | O_CLOEXEC);
81 if (path_beneath.parent_fd < 0) {
87 &path_beneath, 0);
88 close(path_beneath.parent_fd);