• Adrian Reber's avatar
    test: add selinux00 test · 2844b95f
    Adrian Reber authored
    This tests if CRIU can restore a process with the same policy as during
    checkpointing.
    
    The test selinux00 is started and if SELinux is available the test
    process moves itself to another process context. To make this possible
    either a new SELinux policy needs to be available containing:
    
    https://github.com/fedora-selinux/selinux-policy/commit/2d537cabbb2df614ea598ac20873c653cbf271a8
    
    Or for a short time SELinux is switched to permissive mode.
    
    The correct SELinux setup is done by zdtm/static/selinux00.checkskip and
    zdtm/static/selinux00.hook and after the test the previous SELinux
    policy state is restored.
    
    After the test case is restored the test case checks if it still has the
    same SELinux process context as before. If not the test cases fails.
    Signed-off-by: 's avatarAdrian Reber <areber@redhat.com>
    2844b95f
Name
Last commit
Last update
..
compel Loading commit data...
exhaustive Loading commit data...
inhfd Loading commit data...
jenkins Loading commit data...
others Loading commit data...
zdtm Loading commit data...
.gitignore Loading commit data...
Makefile Loading commit data...
abrt.sh Loading commit data...
check_actions.py Loading commit data...
crit-recode.py Loading commit data...
empty-netns-prep.sh Loading commit data...
groups.desc Loading commit data...
inhfd.desc Loading commit data...
pycriu Loading commit data...
show_action.sh Loading commit data...
umount2.c Loading commit data...
zdtm.desc Loading commit data...
zdtm.py Loading commit data...
zdtm_ct.c Loading commit data...
zdtm_mount_cgroups Loading commit data...
zdtm_umount_cgroups Loading commit data...