]> git.ipfire.org Git - thirdparty/systemd.git/commit
test-execute: add tests for credentials directory with mount namespace 28787/head
authorYu Watanabe <watanabe.yu+github@gmail.com>
Sat, 12 Aug 2023 13:08:47 +0000 (22:08 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 22 Aug 2023 02:50:20 +0000 (11:50 +0900)
commit9ae3624889b98f75efa6fd0c5f4b4de3eaf328d4
tree07870c2186a15af7f68a6efbaa1472b881ea853f
parent94fe4cf2557d1f70f20ee02d32f4c2ae6bc1fb3f
test-execute: add tests for credentials directory with mount namespace

This also adds cases that open_tree() and move_mount() are filtered, to
emulate old kernel behavior.
src/test/test-execute.c
test/test-execute/exec-load-credential-with-mount-namespace.service [new file with mode: 0644]
test/test-execute/exec-load-credential-with-seccomp.service [new file with mode: 0644]
test/test-execute/exec-set-credential-with-mount-namespace.service [new file with mode: 0644]
test/test-execute/exec-set-credential-with-seccomp.service [new file with mode: 0644]