Home
last modified time | relevance | path

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

/linux-6.1.9/security/landlock/
Druleset.c29 struct landlock_ruleset *new_ruleset; in create_ruleset() local
31 new_ruleset = in create_ruleset()
32 kzalloc(struct_size(new_ruleset, fs_access_masks, num_layers), in create_ruleset()
34 if (!new_ruleset) in create_ruleset()
36 refcount_set(&new_ruleset->usage, 1); in create_ruleset()
37 mutex_init(&new_ruleset->lock); in create_ruleset()
38 new_ruleset->root = RB_ROOT; in create_ruleset()
39 new_ruleset->num_layers = num_layers; in create_ruleset()
45 return new_ruleset; in create_ruleset()
51 struct landlock_ruleset *new_ruleset; in landlock_create_ruleset() local
[all …]