Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/landlock/
H A 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 …]
H A 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 …]
H A Dbase_test.c201 ASSERT_LE(0, ruleset_fd); in TEST() local
106 int ruleset_fd; TEST() local
154 const int ruleset_fd = TEST() local
241 int ruleset_fd; TEST() local
335 int ruleset_fd, dir_fd; TEST() local
[all...]
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 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
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 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
H A Dptrace_test.c28 int ruleset_fd; create_domain() local
H A Dscoped_abstract_unix_test.c31 int ruleset_fd; 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() argument
49 static inline int landlock_restrict_self(const int ruleset_fd, in landlock_restrict_self() argument
114 populate_ruleset_fs(const char * const env_var,const int ruleset_fd,const __u64 allowed_access) populate_ruleset_fs() argument
182 populate_ruleset_net(const char * const env_var,const int ruleset_fd,const __u64 allowed_access) populate_ruleset_net() argument
342 int ruleset_fd, abi; main() local
[all...]
/linux/security/landlock/
H A 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