Mickaël Salaün 0c0effb07f
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 <ivanov.mikhail1@huawei-partners.com>
Reviewed-by: Günther Noack <gnoack@google.com>
Link: https://lore.kernel.org/r/20241109110856.222842-2-mic@digikod.net
[mic: Slightly improve doc as suggested by Günther]
Signed-off-by: Mickaël Salaün <mic@digikod.net>
2024-11-09 19:52:10 +01:00
..
2024-02-27 11:21:45 +01:00
2024-09-16 23:50:52 +02:00
2024-09-16 23:50:52 +02:00
2024-02-27 11:21:45 +01:00
2024-09-16 23:50:52 +02:00
2022-05-09 12:31:10 +02:00
2022-05-09 12:31:10 +02:00
2024-09-16 23:50:52 +02:00