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

NAME

9       is_selinux_mls_enabled  -  check  whether SELinux is enabled for (Multi
10       Level Security) MLS
11

SYNOPSIS

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

DESCRIPTION

20       is_selinux_enabled() returns 1 if SELinux is running or 0 if it is not.
21
22       is_selinux_mls_enabled() returns 1 if SELinux is capable of running  in
23       MLS  mode or 0 if it is not. To determine the policy in use on the sys‐
24       tem, use selinux_getpolicytype(3).
25

SEE ALSO

27       selinux(8)
28
29
30
31russell@coker.com.au              7 Mar 2010             is_selinux_enabled(3)
Impressum