Home
last modified time | relevance | path

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

/linux/security/landlock/
H A Dlimits.h22 #define LANDLOCK_MASK_ACCESS_FS ((LANDLOCK_LAST_ACCESS_FS << 1) - 1) macro
23 #define LANDLOCK_NUM_ACCESS_FS __const_hweight64(LANDLOCK_MASK_ACCESS_FS)
H A Dsyscalls.c209 if ((ruleset_attr.handled_access_fs | LANDLOCK_MASK_ACCESS_FS) != in SYSCALL_DEFINE3()
210 LANDLOCK_MASK_ACCESS_FS) in SYSCALL_DEFINE3()
H A Dfs.c334 access_rights |= LANDLOCK_MASK_ACCESS_FS & in landlock_append_fs_rule()
805 domain, LANDLOCK_MASK_ACCESS_FS, in is_access_to_paths_allowed()
815 domain, LANDLOCK_MASK_ACCESS_FS, in is_access_to_paths_allowed()
1003 access_dom = landlock_init_layer_masks(domain, LANDLOCK_MASK_ACCESS_FS, in collect_domain_accesses()
1487 landlock_file(file)->allowed_access = LANDLOCK_MASK_ACCESS_FS; in hook_file_alloc_security()
H A Druleset.h333 access_mask_t fs_mask = fs_access_mask & LANDLOCK_MASK_ACCESS_FS; in landlock_add_fs_access_mask()
H A Druleset.c289 BUILD_BUG_ON(layer.access < LANDLOCK_MASK_ACCESS_FS); in build_check_layer()