Skip to content
Snippets Groups Projects
Unverified Commit 0c0effb0 authored by Mickaël Salaün's avatar Mickaël Salaün
Browse files

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: default avatarGü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: default avatarMickaël Salaün <mic@digikod.net>
parent 53b9d789
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment