landlock-lsm / linux

Linux kernel - See Landlock issues
https://git.kernel.org/pub/scm/linux/kernel/git/mic/linux.git/
Other
33 stars 9 forks source link

File metadata control #11

Open l0kod opened 5 months ago

l0kod commented 5 months ago

We should be able to control access to file metadata (e.g. chmod, chgrp, setxattr, getxattr, utime). Some path-based LSM hooks enable to control a subset of these modifications, but we should provide users a safe and simple way to group these accesses, like with the following access rights:

This work depends on #9.

See https://lore.kernel.org/all/Ywpw66EYRDTQIyTx@nuc/