]> git.ipfire.org Git - thirdparty/systemd.git/commit
core: introduce unit_verify_contexts 33016/head
authorMike Yuan <me@yhndnzj.com>
Sat, 25 May 2024 20:43:53 +0000 (04:43 +0800)
committerMike Yuan <me@yhndnzj.com>
Sun, 26 May 2024 05:41:43 +0000 (13:41 +0800)
commit52d8ba71b6c1e215e1e99bd1b35c87603cbebc6b
tree5b80cdfd6066a1c2f2bcc28f0123419c0c2aed38
parent4dd884af1ba74d837d230490480396b3ceaca935
core: introduce unit_verify_contexts

Refuse WorkingDirectory=~ both in that and exec_invoke()
when dynamic user is used.
src/core/exec-invoke.c
src/core/unit.c
src/test/test-execute.c