SELinuxProject / selinux-testsuite

This is the upstream SELinux testsuite which is designed as a basic set of regression tests for the SELinux kernel functionality.
GNU General Public License v2.0
54 stars 43 forks source link

RFE: make cgroupfs_label work with cgroup v1 #54

Closed WOnder93 closed 5 years ago

WOnder93 commented 5 years ago

Fallback to cgroup v1 filesystem if cgroup2 is not supported on the system so that the test can work also on older kernels without cgroup2 support (e.g. on RHEL-8).

WOnder93 commented 5 years ago

I added another commit to disable cgroupfs_label on kernels that don't have the fix. It is not directly related to this PR, so let me know if you prefer to have it in a separate PR.

WOnder93 commented 5 years ago

Rebased on latest master.