selinux/libselinux/utils/selinuxenabled.c
2008-08-19 15:30:36 -04:00

10 lines
139 B
C

#include <unistd.h>
#include <stdio.h>
#include <stdlib.h>
#include <selinux/selinux.h>
int main(void)
{
return !is_selinux_enabled();
}