Home
last modified time | relevance | path

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

/Linux-v5.15/tools/testing/selftests/landlock/
Dfs_test.c301 int ruleset_fd; in TEST_F_FORK() local
407 const int ruleset_fd = landlock_create_ruleset(&ruleset_attr, in TEST_F_FORK() local
430 const int ruleset_fd, const __u64 allowed_access, in add_path_beneath()
466 int ruleset_fd, i; in create_ruleset() local
492 const int ruleset_fd) in enforce_ruleset()
511 const int ruleset_fd = create_ruleset(_metadata, rules[0].access | in TEST_F_FORK() local
556 int ruleset_fd; in TEST_F_FORK() local
584 const int ruleset_fd = create_ruleset(_metadata, ACCESS_RW, rules); in TEST_F_FORK() local
632 const int ruleset_fd = create_ruleset(_metadata, ACCESS_RO, rules); in TEST_F_FORK() local
665 const int ruleset_fd = create_ruleset(_metadata, ACCESS_RW, rules); in TEST_F_FORK() local
[all …]
Dcommon.h89 static inline int landlock_add_rule(const int ruleset_fd, in landlock_add_rule()
99 static inline int landlock_restrict_self(const int ruleset_fd, in landlock_restrict_self()
Dbase_test.c117 const int ruleset_fd = landlock_create_ruleset(&ruleset_attr, in TEST() local
150 int ruleset_fd; in TEST() local
Dptrace_test.c24 int ruleset_fd; in create_domain() local
/Linux-v5.15/samples/landlock/
Dsandboxer.c34 static inline int landlock_add_rule(const int ruleset_fd, in landlock_add_rule()
44 static inline int landlock_restrict_self(const int ruleset_fd, in landlock_restrict_self()
79 const char *const env_var, const int ruleset_fd, in populate_ruleset()
162 int ruleset_fd; in main() local
/Linux-v5.15/security/landlock/
Dsyscalls.c162 int err, ruleset_fd; in SYSCALL_DEFINE3() local
305 const int, ruleset_fd, const enum landlock_rule_type, rule_type, in SYSCALL_DEFINE4() argument
393 const int, ruleset_fd, const __u32, flags) in SYSCALL_DEFINE2() argument