Home
last modified time | relevance | path

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

/linux-6.1.9/security/landlock/
Druleset.c32 kzalloc(struct_size(new_ruleset, fs_access_masks, num_layers), in create_ruleset()
58 new_ruleset->fs_access_masks[0] = fs_access_mask; in landlock_create_ruleset()
120 typeof(ruleset.fs_access_masks[0]) fs_access_mask = ~0; in build_check_ruleset()
284 dst->fs_access_masks[dst->num_layers - 1] = src->fs_access_masks[0]; in merge_ruleset()
343 memcpy(child->fs_access_masks, parent->fs_access_masks, in inherit_ruleset()
344 flex_array_size(parent, fs_access_masks, parent->num_layers)); in inherit_ruleset()
Druleset.h151 access_mask_t fs_access_masks[]; member
Dsyscalls.c351 if ((path_beneath_attr.allowed_access | ruleset->fs_access_masks[0]) != in SYSCALL_DEFINE4()
352 ruleset->fs_access_masks[0]) { in SYSCALL_DEFINE4()
Dfs.c182 ~(ruleset->fs_access_masks[0] | ACCESS_INITIALLY_DENIED); in landlock_append_fs_rule()
296 access_dom |= domain->fs_access_masks[layer_level]; in get_handled_accesses()
325 (domain->fs_access_masks[layer_level] | in init_layer_masks()