Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/landlock/
H A 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 …]
H A Dbase_test.c106 int ruleset_fd; in TEST() local
154 const int ruleset_fd = in TEST() local
201 const int ruleset_fd = in TEST() local
241 int ruleset_fd; in TEST() local
335 int ruleset_fd, dir_fd; in TEST() local
H A 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()
H A Dscoped_common.h15 int ruleset_fd; in create_scoped_domain() local
H A Dsandbox-and-launch.c24 int pipe_child, pipe_parent, ruleset_fd; in main() local
H A Dptrace_test.c28 int ruleset_fd; in create_domain() local
H A Dcommon.h198 enforce_ruleset(struct __test_metadata *const _metadata, const int ruleset_fd) in enforce_ruleset()
H A Dscoped_abstract_unix_test.c31 int ruleset_fd; in create_fs_domain() local
/linux/samples/landlock/
H A 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/security/landlock/
H A Dsyscalls.c186 int err, ruleset_fd; in SYSCALL_DEFINE3() local
398 SYSCALL_DEFINE4(landlock_add_rule, const int, ruleset_fd, in SYSCALL_DEFINE4() argument
451 SYSCALL_DEFINE2(landlock_restrict_self, const int, ruleset_fd, const __u32, in SYSCALL_DEFINE2() argument