]> git.ipfire.org Git - thirdparty/systemd.git/commit
core: Also check if we can mount /proc if pid namespace is delegated
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Mon, 17 Mar 2025 15:17:25 +0000 (16:17 +0100)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Wed, 19 Mar 2025 09:00:45 +0000 (10:00 +0100)
commit918a188fdab1278fbbe2c960e1da7c655f644340
treeaf08ca8c279a0668555ae233cfaf06ffd9cf776f
parentc8912e3d8347fee3a325276177eed132e131ae19
core: Also check if we can mount /proc if pid namespace is delegated

If the pid namespace is delegated, it doesn't matter if we have CAP_SYS_ADMIN,
we'll still fail to mount /proc if part of it is masked on the host so also
check if we can mount /proc if the pid namespace is delegated.
src/core/exec-invoke.c