Home
last modified time | relevance | path

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

/linux-6.1.9/security/landlock/
Dfs.c257 unsigned long access_bit; in unmask_layers() local
265 for_each_set_bit(access_bit, &access_req, in unmask_layers()
267 if (layer->access & BIT_ULL(access_bit)) 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()
316 unsigned long access_bit; in init_layer_masks() local
318 for_each_set_bit(access_bit, &access_req, in init_layer_masks()
324 if (BIT_ULL(access_bit) & in init_layer_masks()
327 (*layer_masks)[access_bit] |= in init_layer_masks()
329 handled_accesses |= BIT_ULL(access_bit); in init_layer_masks()
[all …]