landlock_get...nal_accesses(9)
π landlock_get...nal_accesses(9) π
okay so this is a page from the Kernel API Manual (yes, the kernel has a manual, she's iconic like that) and today we're learning about landlock_get_quiet_optional_accesses(9) π
β¨ NAME β¨
landlock_get_quiet_optional_accesses β get the optional accesses that are covered by the quiet rule flags π¦
like, the whole point: which optional accesses are being covered by quiet rule flags. that's the vibe check of this function, fr fr.
πΈ SYNOPSIS πΈ
optional_access_t landlock_get_quiet_optional_accesses (const access_mask_t all_existing_optional_access , const deny_masks_t deny_masks , const struct layer_masks *const masks );
she takes three args and gives you back a bitmask. periodt. β¨
π ARGUMENTS π
all_existing_optional_accessβ bitmask of the valid optional accesses, aka the full guest list of which optional accesses even exist πdeny_masksβ the domain layer levels that denied each optional access (this is literally thedeny_masksfield onstruct landlock_file_security, iykyk) π₯masksβ thestruct layer_masksthat got collected during the path walk π§
β RETURN β
she returns a bitmask of which optional accesses are denied by layers where the quiet flag was collected during the path walk π like, the answer to "who got quietly denied" no cap.
ngl bestie, the return value is a bitmask, so don't try to read it like a boolean β read it bit by bit π«Ά
π SEE ALSO π
- Kernel file
./security/landlock/domain.cπ landlock_unmask_layers(9)landlock_init_layer_masks(9)landlock_merge_ruleset(9)get_current_exe(9)landlock_init_hierarchy_log(9)
and that's the whole page bestie, no crumbs left π
mwah π β brought to you by ./security/landlock, October 2026, go read the source, she slays π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms