security: adjust test on SELinux for kernel threads
The test currently verifies that all processes running in kernel domain
are kernel threads. It also tests that there is at least one such kernel
thread. However the latter test fails inside a child pid namespace since
all kernel threads always reside in the initial pid-namespace. To fix
this breakage remove the test for existence which is anyway not strictly
needed to validate proper SELinux setup.
1 file changed