Home
last modified time | relevance | path

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

/linux/security/landlock/
H A Dnet.c53 struct layer_masks layer_masks = {}; in current_check_access_socket()
111 &layer_masks, LANDLOCK_KEY_NET_PORT); in current_check_access_socket()
120 .layer_masks = &layer_masks, in current_check_access_socket()
242 access_request, &layer_masks,
247 if (landlock_unmask_layers(rule, &layer_masks)) in landlock_add_net_hooks()
258 .layer_masks = &layer_masks,
50 struct layer_access_masks layer_masks = {}; current_check_access_socket() local
H A Dfs.c409 static bool may_refer(const struct layer_masks *const src_parent, in may_refer()
410 const struct layer_masks *const src_child, in may_refer()
411 const struct layer_masks *const new_parent, in may_refer()
439 static bool no_more_access(const struct layer_masks *const parent1, in no_more_access()
440 const struct layer_masks *const child1, in no_more_access()
442 const struct layer_masks *const parent2, in no_more_access()
443 const struct layer_masks *const child2, in no_more_access()
462 const struct layer_masks rx0 = { in test_no_more_access()
466 const struct layer_masks mx0 = { in test_no_more_access()
470 const struct layer_masks x in test_no_more_access()
954 struct layer_access_masks layer_masks; current_check_access_path() local
1616 struct layer_access_masks layer_masks = {}; hook_file_open() local
[all...]
H A Daudit.c190 const struct layer_masks *masks) in get_denied_layer()
211 const struct layer_masks masks = { in test_get_denied_layer()
503 if (WARN_ON_ONCE(!(!!request->layer_masks ^
507 if (WARN_ON_ONCE(request->layer_masks ||
568 if (request->layer_masks) {
571 request->layer_masks);
573 request->layer_masks->layers[youngest_layer]
H A Druleset.h322 struct layer_masks *masks);
327 struct layer_masks *masks,