]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/test/test-execute.c
test: add test case for PrivateDevices=y and Group=daemon 13823/head
authorAnita Zhang <the.anitazha@gmail.com>
Wed, 20 Nov 2019 01:25:23 +0000 (17:25 -0800)
committerAnita Zhang <the.anitazha@gmail.com>
Wed, 18 Dec 2019 19:09:30 +0000 (11:09 -0800)
commitb6657e2c53eef5474465c29239f1eccfdd0830aa
tree343ec0cc03d77978acec4fc98cae3b5f1cdef9ce
parente5f10cafe0bb1034505cba934cd6fae5f332b1dc
test: add test case for PrivateDevices=y and Group=daemon

For root, group enforcement needs to come after PrivateDevices=y set up
according to 096424d1230e0a0339735c51b43949809e972430. Add a test to
verify this is the case.
src/test/test-execute.c
test/meson.build
test/test-execute/exec-privatedevices-yes-with-group.service [new file with mode: 0644]