aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorMickaël Salaün <[email protected]>2024-11-09 12:08:54 +0100
committerMickaël Salaün <[email protected]>2024-11-09 19:52:10 +0100
commit0c0effb07f7d662af3e6f74da4d34241e412029b (patch)
treeb43586ba60a21a34658f4d825edd3722d0736501 /lib/memory-notifier-error-inject.c
parent53b9d789df983790015ef04b0283ac5a33917cad (diff)
landlock: Refactor filesystem access mask management
Replace get_raw_handled_fs_accesses() with a generic landlock_union_access_masks(), and replace get_fs_domain() with a generic landlock_get_applicable_domain(). These helpers will also be useful for other types of access. Cc: Mikhail Ivanov <[email protected]> Reviewed-by: Günther Noack <[email protected]> Link: https://lore.kernel.org/r/[email protected] [mic: Slightly improve doc as suggested by Günther] Signed-off-by: Mickaël Salaün <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions