File: selinuxenabled.c

package info (click to toggle)
libselinux 1.22-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 2,916 kB
  • ctags: 1,580
  • sloc: ansic: 7,448; makefile: 82; sh: 78
file content (9 lines) | stat: -rw-r--r-- 140 bytes parent folder | download
1
2
3
4
5
6
7
8
9
#include <unistd.h>
#include <stdio.h>
#include <stdlib.h>
#include <selinux/selinux.h>

int main(void) 
{
	return !is_selinux_enabled();
}