core: serialize device cgroup bpf progs across daemon-reload/reexec
authorAnita Zhang <the.anitazha@gmail.com>
Mon, 11 Oct 2021 07:25:20 +0000 (00:25 -0700)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 13 Oct 2021 02:13:56 +0000 (11:13 +0900)
commit0b4f8d94989dec304e70102798d5e942effe8bee
treea3e799f00b1a386bc1da3ad0244b38c55c03cce3
parentc2e22d73aedbc69e3436a980999892937f4e1cad
core: serialize device cgroup bpf progs across daemon-reload/reexec

Follows what was done in b57d75232615f98aefcf41cb145ec2ea3262857d and
adds a test that verifies the device BPF program is not detached during
reload/reexec.
src/core/unit-serialize.c
test/TEST-66-DEVICE-ISOLATION/Makefile [new symlink]
test/TEST-66-DEVICE-ISOLATION/test.sh [new file with mode: 0755]
test/units/testsuite-66-deviceisolation.service [new file with mode: 0644]
test/units/testsuite-66.service [new file with mode: 0644]
test/units/testsuite-66.sh [new file with mode: 0755]