Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/landlock/
H A Dfs_test.c650 static int create_ruleset(struct __test_metadata *const _metadata, in create_ruleset() function
703 const int ruleset_fd = create_ruleset( in TEST_F_FORK()
754 ruleset_fd = create_ruleset(_metadata, ACCESS_RO, rules); in TEST_F_FORK()
778 const int ruleset_fd = create_ruleset(_metadata, ACCESS_RW, rules); in TEST_F_FORK()
832 const int ruleset_fd = create_ruleset(_metadata, ACCESS_RO, rules); in TEST_F_FORK()
865 const int ruleset_fd = create_ruleset(_metadata, ACCESS_RW, rules); in TEST_F_FORK()
921 int ruleset_fd = create_ruleset(_metadata, ACCESS_RW, layer1); in TEST_F_FORK()
947 ruleset_fd = create_ruleset(_metadata, ACCESS_RW, layer2); in TEST_F_FORK()
972 ruleset_fd = create_ruleset(_metadata, ACCESS_RW, layer3); in TEST_F_FORK()
1019 create_ruleset(_metadata, LANDLOCK_ACCESS_FS_MAKE_REG, layer1); in TEST_F_FORK()
[all …]
/openbmc/linux/security/landlock/
H A 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()