Co-authored-by: aleksandr.vodyanov <aleksandr.vodyanov@avroid.tech> Reviewed-on: https://git.avroid.tech/Conan/conan_build/pulls/10
12 lines
201 B
C
12 lines
201 B
C
#include <stdio.h>
|
|
#include <selinux/selinux.h>
|
|
|
|
int main()
|
|
{
|
|
if (is_selinux_enabled())
|
|
printf("SELinux is enabled\n");
|
|
else
|
|
printf("SELinux is not enabled\n");
|
|
return 0;
|
|
}
|