Home
last modified time | relevance | path

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

/linux-6.12.1/security/landlock/
Druleset.h285 size_t layer_level; in landlock_union_access_masks() local
287 for (layer_level = 0; layer_level < domain->num_layers; layer_level++) { in landlock_union_access_masks()
289 .masks = domain->access_masks[layer_level], in landlock_union_access_masks()
331 const u16 layer_level) in landlock_add_fs_access_mask() argument
337 ruleset->access_masks[layer_level].fs |= fs_mask; in landlock_add_fs_access_mask()
343 const u16 layer_level) in landlock_add_net_access_mask() argument
349 ruleset->access_masks[layer_level].net |= net_mask; in landlock_add_net_access_mask()
354 const access_mask_t scope_mask, const u16 layer_level) in landlock_add_scope_mask() argument
360 ruleset->access_masks[layer_level].scope |= mask; in landlock_add_scope_mask()
365 const u16 layer_level) in landlock_get_fs_access_mask() argument
[all …]
Druleset.c627 size_t layer_level; in landlock_unmask_layers() local
644 for (layer_level = 0; layer_level < rule->num_layers; layer_level++) { in landlock_unmask_layers()
646 &rule->layers[layer_level]; in landlock_unmask_layers()
670 const u16 layer_level);
694 size_t layer_level, num_access; in landlock_init_layer_masks() local
723 for (layer_level = 0; layer_level < domain->num_layers; layer_level++) { in landlock_init_layer_masks()
726 get_access_mask(domain, layer_level); in landlock_init_layer_masks()
732 BIT_ULL(layer_level); in landlock_init_layer_masks()