Home
last modified time | relevance | path

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

/linux-6.12.1/security/landlock/
Druleset.h250 const access_mask_t scope_mask);
354 const access_mask_t scope_mask, const u16 layer_level) in landlock_add_scope_mask() argument
356 access_mask_t mask = scope_mask & LANDLOCK_MASK_SCOPE; in landlock_add_scope_mask()
359 WARN_ON_ONCE(scope_mask != mask); in landlock_add_scope_mask()
Druleset.c56 const access_mask_t scope_mask) in landlock_create_ruleset() argument
61 if (!fs_access_mask && !net_access_mask && !scope_mask) in landlock_create_ruleset()
70 if (scope_mask) in landlock_create_ruleset()
71 landlock_add_scope_mask(new_ruleset, scope_mask, 0); in landlock_create_ruleset()
/linux-6.12.1/arch/arm64/kernel/
Dcpufeature.c3163 static void update_cpu_capabilities(u16 scope_mask) in update_cpu_capabilities() argument
3168 scope_mask &= ARM64_CPUCAP_SCOPE_MASK; in update_cpu_capabilities()
3171 if (!caps || !(caps->type & scope_mask) || in update_cpu_capabilities()
3181 if ((scope_mask & SCOPE_BOOT_CPU) && (caps->type & SCOPE_BOOT_CPU)) in update_cpu_capabilities()
3214 static void __init enable_cpu_capabilities(u16 scope_mask) in enable_cpu_capabilities() argument
3220 scope_mask &= ARM64_CPUCAP_SCOPE_MASK; in enable_cpu_capabilities()
3221 boot_scope = !!(scope_mask & SCOPE_BOOT_CPU); in enable_cpu_capabilities()
3225 if (!caps || !(caps->type & scope_mask) || in enable_cpu_capabilities()
3258 static void verify_local_cpu_caps(u16 scope_mask) in verify_local_cpu_caps() argument
3264 scope_mask &= ARM64_CPUCAP_SCOPE_MASK; in verify_local_cpu_caps()
[all …]