Home
last modified time | relevance | path

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

/linux-6.1.9/security/landlock/
Dfs.c233 layer_mask_t (*const layer_masks)[LANDLOCK_NUM_ACCESS_FS]) in unmask_layers()
237 if (!access_request || !layer_masks) in unmask_layers()
266 ARRAY_SIZE(*layer_masks)) { in unmask_layers()
268 (*layer_masks)[access_bit] &= ~layer_bit; in unmask_layers()
269 is_empty = is_empty && !(*layer_masks)[access_bit]; in unmask_layers()
303 layer_mask_t (*const layer_masks)[LANDLOCK_NUM_ACCESS_FS]) in init_layer_masks()
308 memset(layer_masks, 0, sizeof(*layer_masks)); in init_layer_masks()
319 ARRAY_SIZE(*layer_masks)) { in init_layer_masks()
327 (*layer_masks)[access_bit] |= in init_layer_masks()
396 layer_mask_t (*const layer_masks)[LANDLOCK_NUM_ACCESS_FS]) in scope_to_request()
[all …]