Home
last modified time | relevance | path

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

/Linux-v6.6/security/landlock/
Dfs.c258 unsigned long access_bit; in unmask_layers() local
266 for_each_set_bit(access_bit, &access_req, in unmask_layers()
268 if (layer->access & BIT_ULL(access_bit)) in unmask_layers()
269 (*layer_masks)[access_bit] &= ~layer_bit; in unmask_layers()
270 is_empty = is_empty && !(*layer_masks)[access_bit]; in unmask_layers()
330 unsigned long access_bit; in init_layer_masks() local
332 for_each_set_bit(access_bit, &access_req, in init_layer_masks()
338 if (BIT_ULL(access_bit) & in init_layer_masks()
341 (*layer_masks)[access_bit] |= in init_layer_masks()
343 handled_accesses |= BIT_ULL(access_bit); in init_layer_masks()
[all …]