]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/test/test-execute.c
execute: Make '+' exec prefix ignore PrivateTmp=yes
authorNate Jones <jonesnl@umich.edu>
Sat, 29 Feb 2020 01:31:23 +0000 (20:31 -0500)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Sat, 29 Feb 2020 10:32:01 +0000 (19:32 +0900)
commitecf63c91025b1692d48886b57dae3896ab12c54c
tree5423ea18b9dd5328223384c7c50c77783cbc539f
parentec0c9d3bcd1f359ab7d2356a31c5f56c72a5702f
execute: Make '+' exec prefix ignore PrivateTmp=yes

The man pages state that the '+' prefix in Exec* directives should
ignore filesystem namespacing options such as PrivateTmp. Now it does.

This is very similar to #8842, just with PrivateTmp instead of
PrivateDevices.
src/core/execute.c
src/test/test-execute.c
test/meson.build
test/test-execute/exec-basic.service
test/test-execute/exec-privatetmp-disabled-by-prefix.service [new file with mode: 0644]