Home
last modified time | relevance | path

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

/Linux-v6.6/tools/testing/selftests/landlock/
Dfs_test.c437 int ruleset_fd; in TEST_F_FORK() local
557 const int ruleset_fd = in TEST_F_FORK() local
609 const int ruleset_fd, const __u64 allowed_access, in add_path_beneath()
652 int ruleset_fd, i; in create_ruleset() local
681 const int ruleset_fd) in enforce_ruleset()
701 const int ruleset_fd = create_ruleset( in TEST_F_FORK() local
748 int ruleset_fd; in TEST_F_FORK() local
776 const int ruleset_fd = create_ruleset(_metadata, ACCESS_RW, rules); in TEST_F_FORK() local
830 const int ruleset_fd = create_ruleset(_metadata, ACCESS_RO, rules); in TEST_F_FORK() local
863 const int ruleset_fd = create_ruleset(_metadata, ACCESS_RW, rules); in TEST_F_FORK() local
[all …]
Dbase_test.c105 int ruleset_fd; in TEST() local
153 const int ruleset_fd = in TEST() local
200 const int ruleset_fd = in TEST() local
240 int ruleset_fd; in TEST() local
Dcommon.h92 static inline int landlock_add_rule(const int ruleset_fd, in landlock_add_rule()
103 static inline int landlock_restrict_self(const int ruleset_fd, in landlock_restrict_self()
Dptrace_test.c30 int ruleset_fd; in create_domain() local
/Linux-v6.6/samples/landlock/
Dsandboxer.c34 static inline int landlock_add_rule(const int ruleset_fd, in landlock_add_rule()
45 static inline int landlock_restrict_self(const int ruleset_fd, in landlock_restrict_self()
84 static int populate_ruleset(const char *const env_var, const int ruleset_fd, in populate_ruleset()
175 int ruleset_fd, abi; in main() local
/Linux-v6.6/security/landlock/
Dsyscalls.c163 int err, ruleset_fd; in SYSCALL_DEFINE3() local
305 SYSCALL_DEFINE4(landlock_add_rule, const int, ruleset_fd, in SYSCALL_DEFINE4() argument
397 SYSCALL_DEFINE2(landlock_restrict_self, const int, ruleset_fd, const __u32, in SYSCALL_DEFINE2() argument