summaryrefslogtreecommitdiff
path: root/include/linux/stringify.h
diff options
context:
space:
mode:
authorTingmao Wang <m@maowtm.org>2026-06-12 04:48:48 +0300
committerMickaël Salaün <mic@digikod.net>2026-06-14 21:17:19 +0300
commit29752205db5ff1793437b352c9e343b8e41fb184 (patch)
treed3f2260164fd5c69382365b2fe5ed52c0feb938c /include/linux/stringify.h
parenta260c0055665fc38804400b3dbdca165d5e0aa15 (diff)
downloadlinux-29752205db5ff1793437b352c9e343b8e41fb184.tar.xz
landlock: Add API support and docs for the quiet flags
Adds the UAPI for the quiet flags feature (but not the implementation yet). Even though currently LANDLOCK_ADD_RULE_QUIET only affects audit logging, in the future this can also be used as part of a supervisor mechanism, where it will also suppress denial notifications on a per-object basis. Thus the name is deliberately generic, as opposed to e.g. LANDLOCK_ADD_RULE_LOG_QUIET. According to pahole, even after adding the struct access_masks quiet_masks in struct landlock_hierarchy, the u32 log_* bitfield still only has a size of 2 bytes, so there's minimal wasted space. Assisted-by: GitHub-Copilot:claude-opus-4.8 Signed-off-by: Tingmao Wang <m@maowtm.org> [mic: Update date, fix comment formatting] Link: https://patch.msgid.link/031184748a8e74c0bb02f1fa13d7a3f10918c627.1781228815.git.m@maowtm.org Signed-off-by: Mickaël Salaün <mic@digikod.net>
Diffstat (limited to 'include/linux/stringify.h')
0 files changed, 0 insertions, 0 deletions