Home
last modified time | relevance | path

Searched defs:ruleset_fd (Results 1 – 13 of 13) sorted by relevance

/linux-6.15/tools/testing/selftests/landlock/
Dfs_test.c486 int ruleset_fd; in TEST_F_FORK() local
607 const int ruleset_fd = in TEST_F_FORK() local
665 const int ruleset_fd = in TEST_F_FORK() local
691 int ruleset_fd; in TEST_F_FORK() local
720 const int ruleset_fd, const __u64 allowed_access, in add_path_beneath()
763 int ruleset_fd, i; in create_ruleset() local
805 const int ruleset_fd = create_ruleset( in TEST_F_FORK() local
852 int ruleset_fd; in TEST_F_FORK() local
880 const int ruleset_fd = create_ruleset(_metadata, ACCESS_RW, rules); in TEST_F_FORK() local
934 const int ruleset_fd = create_ruleset(_metadata, ACCESS_RO, rules); in TEST_F_FORK() local
[all …]
Dnet_test.c654 int ruleset_fd; in TEST_F() local
704 int ruleset_fd; in TEST_F() local
746 const int ruleset_fd = landlock_create_ruleset( in TEST_F() local
775 const int ruleset_fd = landlock_create_ruleset( in TEST_F() local
855 const int ruleset_fd = landlock_create_ruleset( in TEST_F() local
886 const int ruleset_fd = landlock_create_ruleset( in TEST_F() local
999 int ruleset_fd; in TEST_F() local
1144 int ruleset_fd; in TEST_F() local
1163 int ruleset_fd; in TEST_F() local
1179 int ruleset_fd; in TEST_F() local
[all …]
Dbase_test.c150 int ruleset_fd; in TEST() local
198 const int ruleset_fd = in TEST() local
245 const int ruleset_fd = in TEST() local
367 int ruleset_fd; in TEST() local
461 int ruleset_fd, dir_fd; in TEST() local
Dwrappers.h26 static inline int landlock_add_rule(const int ruleset_fd, in landlock_add_rule()
37 static inline int landlock_restrict_self(const int ruleset_fd, in landlock_restrict_self()
Daudit_test.c77 int status, ruleset_fd, i; in TEST_F() local
163 int ruleset_fd, pipe_child, pipe_parent; member
365 int ruleset_fd; in TEST_F() local
561 int ruleset_fd; in TEST_F() local
Dscoped_common.h15 int ruleset_fd; in create_scoped_domain() local
Dsandbox-and-launch.c24 int pipe_child, pipe_parent, ruleset_fd; in main() local
Dwait-pipe-sandbox.c49 int err, pipe_child, pipe_parent, ruleset_fd; in main() local
Dcommon.h202 enforce_ruleset(struct __test_metadata *const _metadata, const int ruleset_fd) in enforce_ruleset()
215 int ruleset_fd; in drop_access_rights() local
Dptrace_test.c30 int ruleset_fd; in create_domain() local
Dscoped_abstract_unix_test.c32 int ruleset_fd; in create_fs_domain() local
/linux-6.15/samples/landlock/
Dsandboxer.c38 static inline int landlock_add_rule(const int ruleset_fd, in landlock_add_rule()
49 static inline int landlock_restrict_self(const int ruleset_fd, in landlock_restrict_self()
115 static int populate_ruleset_fs(const char *const env_var, const int ruleset_fd, in populate_ruleset_fs()
183 static int populate_ruleset_net(const char *const env_var, const int ruleset_fd, in populate_ruleset_net()
346 int ruleset_fd, abi; in main() local
/linux-6.15/security/landlock/
Dsyscalls.c201 int err, ruleset_fd; in SYSCALL_DEFINE3() local
419 SYSCALL_DEFINE4(landlock_add_rule, const int, ruleset_fd, in SYSCALL_DEFINE4() argument
479 SYSCALL_DEFINE2(landlock_restrict_self, const int, ruleset_fd, const __u32, in SYSCALL_DEFINE2() argument