Searched defs:ruleset_fd (Results 1 – 10 of 10) sorted by relevance
/linux/tools/testing/selftests/landlock/ |
H A D | net_test.c | 653 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 D | base_test.c | 106 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 D | wrappers.h | 26 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 D | scoped_common.h | 15 int ruleset_fd; in create_scoped_domain() local
|
H A D | sandbox-and-launch.c | 24 int pipe_child, pipe_parent, ruleset_fd; in main() local
|
H A D | ptrace_test.c | 28 int ruleset_fd; in create_domain() local
|
H A D | common.h | 198 enforce_ruleset(struct __test_metadata *const _metadata, const int ruleset_fd) in enforce_ruleset()
|
H A D | scoped_abstract_unix_test.c | 31 int ruleset_fd; in create_fs_domain() local
|
/linux/samples/landlock/ |
H A D | sandboxer.c | 38 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 D | syscalls.c | 186 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
|