Home
last modified time | relevance | path

Searched refs:LANDLOCK_RULE_PATH_BENEATH (Results 1 – 8 of 8) sorted by relevance

/linux-6.12.1/tools/perf/tests/workloads/
Dlandlock.c24 #define LANDLOCK_RULE_PATH_BENEATH 1 macro
57 syscall(__NR_landlock_add_rule, fd, LANDLOCK_RULE_PATH_BENEATH, in landlock()
/linux-6.12.1/tools/testing/selftests/landlock/
Dbase_test.c172 ASSERT_EQ(-1, landlock_add_rule(ruleset_fd, LANDLOCK_RULE_PATH_BENEATH, in TEST()
177 ASSERT_EQ(-1, landlock_add_rule(ruleset_fd, LANDLOCK_RULE_PATH_BENEATH, in TEST()
185 ASSERT_EQ(0, landlock_add_rule(ruleset_fd, LANDLOCK_RULE_PATH_BENEATH, in TEST()
208 ASSERT_EQ(0, landlock_add_rule(ruleset_fd, LANDLOCK_RULE_PATH_BENEATH, in TEST()
281 landlock_add_rule(ruleset_fd_tx, LANDLOCK_RULE_PATH_BENEATH, in TEST()
Dfs_test.c475 ASSERT_EQ(-1, landlock_add_rule(ruleset_fd, LANDLOCK_RULE_PATH_BENEATH, in TEST_F_FORK()
483 ASSERT_EQ(-1, landlock_add_rule(ruleset_fd, LANDLOCK_RULE_PATH_BENEATH, in TEST_F_FORK()
493 ASSERT_EQ(0, landlock_add_rule(ruleset_fd, LANDLOCK_RULE_PATH_BENEATH, in TEST_F_FORK()
500 ASSERT_EQ(0, landlock_add_rule(ruleset_fd, LANDLOCK_RULE_PATH_BENEATH, in TEST_F_FORK()
506 ASSERT_EQ(-1, landlock_add_rule(ruleset_fd, LANDLOCK_RULE_PATH_BENEATH, in TEST_F_FORK()
517 ASSERT_EQ(-1, landlock_add_rule(ruleset_fd, LANDLOCK_RULE_PATH_BENEATH, in TEST_F_FORK()
524 ASSERT_EQ(-1, landlock_add_rule(ruleset_fd, LANDLOCK_RULE_PATH_BENEATH, in TEST_F_FORK()
531 ASSERT_EQ(-1, landlock_add_rule(ruleset_fd, LANDLOCK_RULE_PATH_BENEATH, in TEST_F_FORK()
538 ASSERT_EQ(-1, landlock_add_rule(ruleset_fd, LANDLOCK_RULE_PATH_BENEATH, in TEST_F_FORK()
605 LANDLOCK_RULE_PATH_BENEATH, in TEST_F_FORK()
[all …]
Dnet_test.c1524 ASSERT_EQ(0, landlock_add_rule(ruleset_fd, LANDLOCK_RULE_PATH_BENEATH, in TEST_F()
/linux-6.12.1/include/uapi/linux/
Dlandlock.h75 LANDLOCK_RULE_PATH_BENEATH = 1, enumerator
/linux-6.12.1/security/landlock/
Dsyscalls.c434 case LANDLOCK_RULE_PATH_BENEATH: in SYSCALL_DEFINE4()
/linux-6.12.1/samples/landlock/
Dsandboxer.c157 if (landlock_add_rule(ruleset_fd, LANDLOCK_RULE_PATH_BENEATH, in populate_ruleset_fs()
/linux-6.12.1/Documentation/userspace-api/
Dlandlock.rst167 err = landlock_add_rule(ruleset_fd, LANDLOCK_RULE_PATH_BENEATH,