d0c1939 test if systemd-sleep can sys_ptrace and write to sysfs_t

2 files Authored by mmalik 3 years ago, Committed by mmalik 3 years ago,
    test if systemd-sleep can sys_ptrace and write to sysfs_t
    
    Recent testing of the new policy for the system-sleep program revealed,
    that the program wants the sys_ptrace capability and it also wants to
    write to /sys/power directory. Unfortunately, these actions are prevented
    by SELinux because SELinux policy does not contain appropriate allow
    rules.
    
    This automated TC checks for appropriate SELinux policy rules and it
    also reproduces the issue.
    
    This TC covers BZ#1850177.