/openbmc/linux/tools/testing/selftests/landlock/ |
H A D | base_test.c | 160 ASSERT_EQ(-1, landlock_add_rule(-1, 0, NULL, 1)); in TEST() 164 ASSERT_EQ(-1, landlock_add_rule(-1, 0, NULL, 0)); in TEST() 168 ASSERT_EQ(-1, landlock_add_rule(ruleset_fd, 0, NULL, 0)); in TEST() 172 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()
|
H A D | common.h | 91 #ifndef landlock_add_rule 92 static inline int landlock_add_rule(const int ruleset_fd, in landlock_add_rule() function
|
H A D | fs_test.c | 447 ASSERT_EQ(-1, landlock_add_rule(ruleset_fd, LANDLOCK_RULE_PATH_BENEATH, in TEST_F_FORK() 455 ASSERT_EQ(-1, landlock_add_rule(ruleset_fd, LANDLOCK_RULE_PATH_BENEATH, in TEST_F_FORK() 465 ASSERT_EQ(0, landlock_add_rule(ruleset_fd, LANDLOCK_RULE_PATH_BENEATH, in TEST_F_FORK() 472 ASSERT_EQ(0, landlock_add_rule(ruleset_fd, LANDLOCK_RULE_PATH_BENEATH, in TEST_F_FORK() 478 ASSERT_EQ(-1, landlock_add_rule(ruleset_fd, LANDLOCK_RULE_PATH_BENEATH, in TEST_F_FORK() 489 ASSERT_EQ(-1, landlock_add_rule(ruleset_fd, LANDLOCK_RULE_PATH_BENEATH, in TEST_F_FORK() 496 ASSERT_EQ(-1, landlock_add_rule(ruleset_fd, LANDLOCK_RULE_PATH_BENEATH, in TEST_F_FORK() 503 ASSERT_EQ(-1, landlock_add_rule(ruleset_fd, LANDLOCK_RULE_PATH_BENEATH, in TEST_F_FORK() 575 ASSERT_EQ(0, landlock_add_rule(ruleset_fd, in TEST_F_FORK() 580 err = landlock_add_rule(ruleset_fd, LANDLOCK_RULE_PATH_BENEATH, in TEST_F_FORK() [all …]
|
/openbmc/linux/samples/landlock/ |
H A D | sandboxer.c | 33 #ifndef landlock_add_rule 34 static inline int landlock_add_rule(const int ruleset_fd, in landlock_add_rule() function 128 if (landlock_add_rule(ruleset_fd, LANDLOCK_RULE_PATH_BENEATH, in populate_ruleset()
|
/openbmc/linux/security/landlock/ |
H A D | Kconfig | 15 landlock_add_rule(), and landlock_restrict_self().
|
H A D | syscalls.c | 317 SYSCALL_DEFINE4(landlock_add_rule, const int, ruleset_fd, in SYSCALL_DEFINE4() argument
|
/openbmc/linux/kernel/ |
H A D | sys_ni.c | 169 COND_SYSCALL(landlock_add_rule);
|
/openbmc/qemu/linux-user/mips64/ |
H A D | syscall_n32.tbl | 386 445 n32 landlock_add_rule sys_landlock_add_rule
|
H A D | syscall_n64.tbl | 362 445 n64 landlock_add_rule sys_landlock_add_rule
|
/openbmc/linux/tools/perf/arch/mips/entry/syscalls/ |
H A D | syscall_n64.tbl | 362 445 n64 landlock_add_rule sys_landlock_add_rule
|
/openbmc/linux/arch/mips/kernel/syscalls/ |
H A D | syscall_n64.tbl | 362 445 n64 landlock_add_rule sys_landlock_add_rule
|
H A D | syscall_n32.tbl | 386 445 n32 landlock_add_rule sys_landlock_add_rule
|
/openbmc/linux/arch/ia64/kernel/syscalls/ |
H A D | syscall.tbl | 368 445 common landlock_add_rule sys_landlock_add_rule
|
/openbmc/qemu/linux-user/x86_64/ |
H A D | syscall_64.tbl | 369 445 common landlock_add_rule sys_landlock_add_rule
|
/openbmc/qemu/linux-user/xtensa/ |
H A D | syscall.tbl | 418 445 common landlock_add_rule sys_landlock_add_rule
|
/openbmc/linux/tools/perf/arch/x86/entry/syscalls/ |
H A D | syscall_64.tbl | 369 445 common landlock_add_rule sys_landlock_add_rule
|
/openbmc/linux/arch/xtensa/kernel/syscalls/ |
H A D | syscall.tbl | 418 445 common landlock_add_rule sys_landlock_add_rule
|
/openbmc/linux/arch/x86/entry/syscalls/ |
H A D | syscall_64.tbl | 369 445 common landlock_add_rule sys_landlock_add_rule
|
/openbmc/qemu/linux-user/sh4/ |
H A D | syscall.tbl | 450 445 common landlock_add_rule sys_landlock_add_rule
|
/openbmc/qemu/linux-user/microblaze/ |
H A D | syscall.tbl | 453 445 common landlock_add_rule sys_landlock_add_rule
|
/openbmc/qemu/linux-user/arm/ |
H A D | syscall.tbl | 461 445 common landlock_add_rule sys_landlock_add_rule
|
/openbmc/qemu/linux-user/m68k/ |
H A D | syscall.tbl | 447 445 common landlock_add_rule sys_landlock_add_rule
|
/openbmc/qemu/linux-user/hppa/ |
H A D | syscall.tbl | 445 445 common landlock_add_rule sys_landlock_add_rule
|
/openbmc/linux/arch/m68k/kernel/syscalls/ |
H A D | syscall.tbl | 447 445 common landlock_add_rule sys_landlock_add_rule
|
/openbmc/linux/arch/arm/tools/ |
H A D | syscall.tbl | 461 445 common landlock_add_rule sys_landlock_add_rule
|