Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pidfds are ported to a tiny in-kernel filesystem that is not mountable in userspace. This is comparable to sockfs, pipefs, nsfs, or anon_inodefs to name a few examples. Before pidfs it wasn't possible for selinux to manage them because they didn't go through security_file_open(). They now do making it possible for selinux to manage them. pidfds are used in systemd, dbus, LXC, polkit etc. and they currently start failing because selinux denies pidfs: Feb 23 12:09:58 fed1 audit[353]: AVC avc: denied { read write open } for pid=353 comm="systemd-userdbd" path="pidfd:[709]" dev="pidfs" ino=709 scontext=system_u:system_r:systemd_userdbd_t:> Signed-off-by: Christian Brauner <[email protected]>
- Loading branch information