Home
last modified time | relevance | path

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

/linux-5.19.10/tools/testing/selftests/landlock/
Dfs_test.c319 int ruleset_fd; in TEST_F_FORK() local
438 const int ruleset_fd = in TEST_F_FORK() local
490 const int ruleset_fd, const __u64 allowed_access, in add_path_beneath()
533 int ruleset_fd, i; in create_ruleset() local
562 const int ruleset_fd) in enforce_ruleset()
582 const int ruleset_fd = create_ruleset( in TEST_F_FORK() local
629 int ruleset_fd; in TEST_F_FORK() local
657 const int ruleset_fd = create_ruleset(_metadata, ACCESS_RW, rules); in TEST_F_FORK() local
711 const int ruleset_fd = create_ruleset(_metadata, ACCESS_RO, rules); in TEST_F_FORK() local
744 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.h87 static inline int landlock_add_rule(const int ruleset_fd, in landlock_add_rule()
98 static inline int landlock_restrict_self(const int ruleset_fd, in landlock_restrict_self()
Dptrace_test.c24 int ruleset_fd; in create_domain() local
/linux-5.19.10/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()
83 static int populate_ruleset(const char *const env_var, const int ruleset_fd, in populate_ruleset()
174 int ruleset_fd, abi; in main() local
/linux-5.19.10/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