1is_selinux_enabled(3)      SELinux API documentation     is_selinux_enabled(3)
2
3
4

NAME

6       is_selinux_enabled - check whether SELinux is enabled
7
8

NAME

10       is_selinux_mls_enabled  -  check  whether SELinux is enabled for (Multi
11       Level Securty) MLS
12

SYNOPSIS

14       #include <selinux/selinux.h>
15
16       int is_selinux_enabled();
17
18       int is_selinux_mls_enabled();
19
20

DESCRIPTION

22       is_selinux_enabled returns 1 if SELinux is running or 0 if it  is  not.
23       On error, -1 is returned.
24
25       is_selinux_mls_enabled returns 1 if SELinux is running in MLS mode or 0
26       if it is not.
27
28

SEE ALSO

30       selinux(8)
31
32
33
34
35russell@coker.com.au              7 Mar 2010             is_selinux_enabled(3)
Impressum