]> git.ipfire.org Git - thirdparty/systemd.git/commit
core/namespace: introduce new mount mode READWRITE_IMPLICIT
authorYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 28 Dec 2018 07:11:52 +0000 (16:11 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 13 Mar 2019 02:51:09 +0000 (11:51 +0900)
commit1e05071d278a581aae7d7789f74fabfe06615f02
tree71c5e57174dd807092502c6b965b8a69524e5dbe
parentfbaefc3ff90d1233c43dd020b225c8c4906d0bd5
core/namespace: introduce new mount mode READWRITE_IMPLICIT

ProtectSystem=strict or ProtectKernelTunable=yes create implicit
read-write mounts, but they are not overridable by TemporaryFileSystem=.
This makes such implicit read-write mounts use the new mount mode.
So, they can be override by TemproraryFileSystem= now.
A typical usecase is that ProtectSystem=strict and ProtectHome=tmpfs.

Fixes #11276.
src/core/namespace.c