Home
last modified time | relevance | path

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

/linux-6.8/tools/testing/selftests/landlock/
Dfs_test.c439 int ruleset_fd; in TEST_F_FORK() local
559 const int ruleset_fd = in TEST_F_FORK() local
617 const int ruleset_fd = in TEST_F_FORK() local
643 int ruleset_fd; in TEST_F_FORK() local
672 const int ruleset_fd, const __u64 allowed_access, in add_path_beneath()
715 int ruleset_fd, i; in create_ruleset() local
754 const int ruleset_fd = create_ruleset( in TEST_F_FORK() local
801 int ruleset_fd; in TEST_F_FORK() local
829 const int ruleset_fd = create_ruleset(_metadata, ACCESS_RW, rules); in TEST_F_FORK() local
883 const int ruleset_fd = create_ruleset(_metadata, ACCESS_RO, rules); in TEST_F_FORK() local
[all …]
Dnet_test.c586 int ruleset_fd; in TEST_F() local
636 int ruleset_fd; in TEST_F() local
678 const int ruleset_fd = landlock_create_ruleset( in TEST_F() local
707 const int ruleset_fd = landlock_create_ruleset( in TEST_F() local
787 const int ruleset_fd = landlock_create_ruleset( in TEST_F() local
818 const int ruleset_fd = landlock_create_ruleset( in TEST_F() local
931 int ruleset_fd; in TEST_F() local
1076 int ruleset_fd; in TEST_F() local
1095 int ruleset_fd; in TEST_F() local
1111 int ruleset_fd; in TEST_F() 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.h93 static inline int landlock_add_rule(const int ruleset_fd, in landlock_add_rule()
104 static inline int landlock_restrict_self(const int ruleset_fd, in landlock_restrict_self()
296 enforce_ruleset(struct __test_metadata *const _metadata, const int ruleset_fd) in enforce_ruleset()
Dptrace_test.c30 int ruleset_fd; in create_domain() local
/linux-6.8/samples/landlock/
Dsandboxer.c36 static inline int landlock_add_rule(const int ruleset_fd, in landlock_add_rule()
47 static inline int landlock_restrict_self(const int ruleset_fd, in landlock_restrict_self()
88 static int populate_ruleset_fs(const char *const env_var, const int ruleset_fd, in populate_ruleset_fs()
150 static int populate_ruleset_net(const char *const env_var, const int ruleset_fd, in populate_ruleset_net()
212 int ruleset_fd, abi; in main() local
/linux-6.8/security/landlock/
Dsyscalls.c171 int err, ruleset_fd; in SYSCALL_DEFINE3() local
394 SYSCALL_DEFINE4(landlock_add_rule, const int, ruleset_fd, in SYSCALL_DEFINE4() argument
453 SYSCALL_DEFINE2(landlock_restrict_self, const int, ruleset_fd, const __u32, in SYSCALL_DEFINE2() argument