Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/landlock/
H A Dfs_test.c439 int ruleset_fd; in TEST_F_FORK() local
559 const int ruleset_fd = in TEST_F_FORK() local
611 const int ruleset_fd, const __u64 allowed_access, in add_path_beneath()
654 int ruleset_fd, i; in create_ruleset() local
683 const int ruleset_fd) in enforce_ruleset()
703 const int ruleset_fd = create_ruleset( in TEST_F_FORK() local
750 int ruleset_fd; in TEST_F_FORK() local
778 const int ruleset_fd = create_ruleset(_metadata, ACCESS_RW, rules); in TEST_F_FORK() local
832 const int ruleset_fd = create_ruleset(_metadata, ACCESS_RO, rules); in TEST_F_FORK() local
865 const int ruleset_fd = create_ruleset(_metadata, ACCESS_RW, rules); in TEST_F_FORK() local
[all …]
H A Dbase_test.c106 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 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()
H A Dptrace_test.c30 int ruleset_fd; in create_domain() local
/openbmc/linux/samples/landlock/
H A 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()
87 static int populate_ruleset(const char *const env_var, const int ruleset_fd, in populate_ruleset()
182 int ruleset_fd, abi; in main() local
/openbmc/linux/security/landlock/
H A Dsyscalls.c175 int err, ruleset_fd; in SYSCALL_DEFINE3() local
317 SYSCALL_DEFINE4(landlock_add_rule, const int, ruleset_fd, in SYSCALL_DEFINE4() argument
409 SYSCALL_DEFINE2(landlock_restrict_self, const int, ruleset_fd, const __u32, in SYSCALL_DEFINE2() argument