Home
last modified time | relevance | path

Searched refs:landlock_restrict_self (Results 1 – 22 of 22) sorted by relevance

/tools/testing/selftests/landlock/
A Dbase_test.c260 ASSERT_EQ(-1, landlock_restrict_self(-1, 0)); in TEST()
272 ASSERT_EQ(-1, landlock_restrict_self(-1, 0)); in TEST()
287 EXPECT_EQ(-1, landlock_restrict_self(fd, 0)); in TEST()
302 EXPECT_EQ(-1, landlock_restrict_self( in TEST()
324 EXPECT_EQ(-1, landlock_restrict_self( in TEST()
329 landlock_restrict_self( in TEST()
336 landlock_restrict_self( in TEST()
342 EXPECT_EQ(-1, landlock_restrict_self( in TEST()
347 landlock_restrict_self( in TEST()
354 EXPECT_EQ(-1, landlock_restrict_self( in TEST()
[all …]
A Dwrappers.h36 #ifndef landlock_restrict_self
37 static inline int landlock_restrict_self(const int ruleset_fd, in landlock_restrict_self() function
A Dwait-pipe-sandbox.c83 if (landlock_restrict_self(ruleset_fd, 0)) { in main()
112 if (landlock_restrict_self(ruleset_fd, 0)) { in main()
A Dsandbox-and-launch.c51 if (landlock_restrict_self(ruleset_fd, 0)) { in main()
A Daudit_test.c100 EXPECT_EQ(0, landlock_restrict_self(ruleset_fd, 0)); in TEST_F()
122 EXPECT_EQ(-1, landlock_restrict_self(ruleset_fd, 0)); in TEST_F()
179 if (landlock_restrict_self(data->ruleset_fd, 0)) { in thread_audit_test()
373 ASSERT_EQ(0, landlock_restrict_self(ruleset_fd, in TEST_F()
579 if (landlock_restrict_self(ruleset_fd, in TEST_F()
A Dcommon.h205 ASSERT_EQ(0, landlock_restrict_self(ruleset_fd, 0)) in enforce_ruleset()
A Dptrace_test.c42 EXPECT_EQ(0, landlock_restrict_self(ruleset_fd, 0)); in create_domain()
A Dscoped_abstract_unix_test.c44 EXPECT_EQ(0, landlock_restrict_self(ruleset_fd, 0)); in create_fs_domain()
A Dfs_test.c566 ASSERT_EQ(0, landlock_restrict_self(ruleset_fd, 0)); in TEST_F_FORK()
858 ASSERT_EQ(-1, landlock_restrict_self(ruleset_fd, 0)); in TEST_F_FORK()
1504 err = landlock_restrict_self(ruleset_fd, 0); in TEST_F_FORK()
2590 ASSERT_EQ(0, landlock_restrict_self(ruleset_fd, 0)); in TEST_F_FORK()
/tools/perf/arch/mips/entry/syscalls/
A Dsyscall_n64.tbl363 446 n64 landlock_restrict_self sys_landlock_restrict_self
/tools/scripts/
A Dsyscall.tbl389 446 common landlock_restrict_self sys_landlock_restrict_self
/tools/perf/arch/parisc/entry/syscalls/
A Dsyscall.tbl447 446 common landlock_restrict_self sys_landlock_restrict_self
/tools/perf/arch/sh/entry/syscalls/
A Dsyscall.tbl452 446 common landlock_restrict_self sys_landlock_restrict_self
/tools/perf/arch/x86/entry/syscalls/
A Dsyscall_64.tbl372 446 common landlock_restrict_self sys_landlock_restrict_self
A Dsyscall_32.tbl454 446 i386 landlock_restrict_self sys_landlock_restrict_self
/tools/perf/arch/xtensa/entry/syscalls/
A Dsyscall.tbl419 446 common landlock_restrict_self sys_landlock_restrict_self
/tools/perf/arch/alpha/entry/syscalls/
A Dsyscall.tbl488 556 common landlock_restrict_self sys_landlock_restrict_self
/tools/perf/arch/arm/entry/syscalls/
A Dsyscall.tbl463 446 common landlock_restrict_self sys_landlock_restrict_self
/tools/perf/arch/arm64/entry/syscalls/
A Dsyscall_32.tbl460 446 common landlock_restrict_self sys_landlock_restrict_self
/tools/perf/arch/sparc/entry/syscalls/
A Dsyscall.tbl494 446 common landlock_restrict_self sys_landlock_restrict_self
/tools/perf/arch/powerpc/entry/syscalls/
A Dsyscall.tbl539 446 common landlock_restrict_self sys_landlock_restrict_self
/tools/perf/arch/s390/entry/syscalls/
A Dsyscall.tbl451 446 common landlock_restrict_self sys_landlock_restrict_self sys_landlock_restrict_self

Completed in 37 milliseconds