]> git.ipfire.org Git - thirdparty/systemd.git/commit
nspawn: mount mqueue with nodev,noexec,nosuid, too 12105/head
authorLennart Poettering <lennart@poettering.net>
Mon, 25 Mar 2019 18:42:47 +0000 (19:42 +0100)
committerLennart Poettering <lennart@poettering.net>
Mon, 25 Mar 2019 18:53:05 +0000 (19:53 +0100)
commit849b9b85b8faa5accc65ed13c871fbb772e7284d
tree528120b49ed41a3285542f8fc3e46184be79ebf9
parent5cb02182fd875884ce27636e3c694705a525de94
nspawn: mount mqueue with nodev,noexec,nosuid, too

The host mounts it like that, nspawn hence should do too.

Moreover, mount the file system after doing CLONEW_NEWIPC so that it
actually reflects the right mqueues. Finally, mount it wthout
considering it fatal, since POSIX mqueue support is little used and it
should be fine not to support it in the kernel.
src/nspawn/nspawn-mount.c