2008-08-19 19:30:36 +00:00
|
|
|
.TH "is_selinux_enabled" "3" "1 January 2004" "russell@coker.com.au" "SELinux API documentation"
|
|
|
|
.SH "NAME"
|
|
|
|
is_selinux_enabled \- check whether SELinux is enabled
|
2008-09-29 19:55:18 +00:00
|
|
|
|
|
|
|
.SH "NAME"
|
|
|
|
is_selinux_mls_enabled \- check whether SELinux is enabled for (Multi Level Securty) MLS
|
2008-08-19 19:30:36 +00:00
|
|
|
.SH "SYNOPSIS"
|
|
|
|
.B #include <selinux/selinux.h>
|
|
|
|
.sp
|
|
|
|
.B int is_selinux_enabled();
|
|
|
|
|
2008-09-29 19:55:18 +00:00
|
|
|
.B int is_selinux_mls_enabled();
|
|
|
|
|
2008-08-19 19:30:36 +00:00
|
|
|
.SH "DESCRIPTION"
|
|
|
|
.B is_selinux_enabled
|
2008-09-29 19:55:18 +00:00
|
|
|
returns 1 if SELinux is running or 0 if it is not.
|
|
|
|
|
|
|
|
.B is_selinux_mls_enabled
|
|
|
|
returns 1 if SELinux is running in MLS mode or 0 if it is not.
|
2008-08-19 19:30:36 +00:00
|
|
|
|
|
|
|
.SH "SEE ALSO"
|
|
|
|
.BR selinux "(8)"
|
|
|
|
|