Home
last modified time | relevance | path

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

/linux-6.14.4/tools/testing/selftests/landlock/
Dfs_test.c485 int ruleset_fd; in TEST_F_FORK() local
606 const int ruleset_fd = in TEST_F_FORK() local
664 const int ruleset_fd = in TEST_F_FORK() local
690 int ruleset_fd; in TEST_F_FORK() local
719 const int ruleset_fd, const __u64 allowed_access, in add_path_beneath()
762 int ruleset_fd, i; in create_ruleset() local
804 const int ruleset_fd = create_ruleset( in TEST_F_FORK() local
851 int ruleset_fd; in TEST_F_FORK() local
879 const int ruleset_fd = create_ruleset(_metadata, ACCESS_RW, rules); in TEST_F_FORK() local
933 const int ruleset_fd = create_ruleset(_metadata, ACCESS_RO, rules); in TEST_F_FORK() local
[all …]
Dnet_test.c653 int ruleset_fd; in TEST_F() local
703 int ruleset_fd; in TEST_F() local
745 const int ruleset_fd = landlock_create_ruleset( in TEST_F() local
774 const int ruleset_fd = landlock_create_ruleset( in TEST_F() local
854 const int ruleset_fd = landlock_create_ruleset( in TEST_F() local
885 const int ruleset_fd = landlock_create_ruleset( in TEST_F() local
998 int ruleset_fd; in TEST_F() local
1143 int ruleset_fd; in TEST_F() local
1162 int ruleset_fd; in TEST_F() local
1178 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
285 int ruleset_fd; in TEST() local
379 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()
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
Dptrace_test.c28 int ruleset_fd; in create_domain() local
Dcommon.h199 enforce_ruleset(struct __test_metadata *const _metadata, const int ruleset_fd) in enforce_ruleset()
Dscoped_abstract_unix_test.c31 int ruleset_fd; in create_fs_domain() local
/linux-6.14.4/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()
114 static int populate_ruleset_fs(const char *const env_var, const int ruleset_fd, in populate_ruleset_fs()
182 static int populate_ruleset_net(const char *const env_var, const int ruleset_fd, in populate_ruleset_net()
342 int ruleset_fd, abi; in main() local
/linux-6.14.4/security/landlock/
Dsyscalls.c192 int err, ruleset_fd; in SYSCALL_DEFINE3() local
412 SYSCALL_DEFINE4(landlock_add_rule, const int, ruleset_fd, in SYSCALL_DEFINE4() argument
465 SYSCALL_DEFINE2(landlock_restrict_self, const int, ruleset_fd, const __u32, in SYSCALL_DEFINE2() argument