Home
last modified time | relevance | path

Searched refs:create_ruleset (Results 1 – 2 of 2) sorted by relevance

/linux-5.19.10/tools/testing/selftests/landlock/
Dfs_test.c529 static int create_ruleset(struct __test_metadata *const _metadata, in create_ruleset() function
582 const int ruleset_fd = create_ruleset( in TEST_F_FORK()
633 ruleset_fd = create_ruleset(_metadata, ACCESS_RO, rules); in TEST_F_FORK()
657 const int ruleset_fd = create_ruleset(_metadata, ACCESS_RW, rules); in TEST_F_FORK()
711 const int ruleset_fd = create_ruleset(_metadata, ACCESS_RO, rules); in TEST_F_FORK()
744 const int ruleset_fd = create_ruleset(_metadata, ACCESS_RW, rules); in TEST_F_FORK()
800 int ruleset_fd = create_ruleset(_metadata, ACCESS_RW, layer1); in TEST_F_FORK()
826 ruleset_fd = create_ruleset(_metadata, ACCESS_RW, layer2); in TEST_F_FORK()
851 ruleset_fd = create_ruleset(_metadata, ACCESS_RW, layer3); in TEST_F_FORK()
898 create_ruleset(_metadata, LANDLOCK_ACCESS_FS_MAKE_REG, layer1); in TEST_F_FORK()
[all …]
/linux-5.19.10/security/landlock/
Druleset.c27 static struct landlock_ruleset *create_ruleset(const u32 num_layers) in create_ruleset() function
56 new_ruleset = create_ruleset(1); in landlock_create_ruleset()
423 new_dom = create_ruleset(num_layers); in landlock_merge_ruleset()