diff options
author | Mickaël Salaün <mic@digikod.net> | 2022-05-06 18:10:55 +0200 |
---|---|---|
committer | Mickaël Salaün <mic@digikod.net> | 2022-05-23 13:27:58 +0200 |
commit | 9da82b20fde95814af721a2a7b1796a5b4a3d78e (patch) | |
tree | d75fd6cc64d4afce5ab8e4170f1b5a85503be383 /include/linux/lsm_hook_defs.h | |
parent | 8ba0005ff418ec356e176b26eaa04a6ac755d05b (diff) | |
download | lwn-9da82b20fde95814af721a2a7b1796a5b4a3d78e.tar.gz lwn-9da82b20fde95814af721a2a7b1796a5b4a3d78e.zip |
landlock: Move filesystem helpers and add a new one
Move the SB_NOUSER and IS_PRIVATE dentry check to a standalone
is_nouser_or_private() helper. This will be useful for a following
commit.
Move get_mode_access() and maybe_remove() to make them usable by new
code provided by a following commit.
Reviewed-by: Paul Moore <paul@paul-moore.com>
Signed-off-by: Mickaël Salaün <mic@digikod.net>
Link: https://lore.kernel.org/r/20220506161102.525323-6-mic@digikod.net
Diffstat (limited to 'include/linux/lsm_hook_defs.h')
0 files changed, 0 insertions, 0 deletions