mirror of
https://github.com/SELinuxProject/selinux
synced 2025-01-14 17:30:48 +00:00
5af0827097
Email: dwalsh@redhat.com Subject: Small patch to fix is_selinux_enabled man page. Date: Tue, 16 Mar 2010 12:35:22 -0400 Signed-off-by: Joshua Brindle <method@manicmethod.com>
25 lines
621 B
Groff
25 lines
621 B
Groff
.TH "is_selinux_enabled" "3" "7 Mar 2010" "russell@coker.com.au" "SELinux API documentation"
|
|
.SH "NAME"
|
|
is_selinux_enabled \- check whether SELinux is enabled
|
|
|
|
.SH "NAME"
|
|
is_selinux_mls_enabled \- check whether SELinux is enabled for (Multi Level Securty) MLS
|
|
.SH "SYNOPSIS"
|
|
.B #include <selinux/selinux.h>
|
|
.sp
|
|
.B int is_selinux_enabled();
|
|
|
|
.B int is_selinux_mls_enabled();
|
|
|
|
.SH "DESCRIPTION"
|
|
.B is_selinux_enabled
|
|
returns 1 if SELinux is running or 0 if it is not.
|
|
On error, \-1 is returned.
|
|
|
|
.B is_selinux_mls_enabled
|
|
returns 1 if SELinux is running in MLS mode or 0 if it is not.
|
|
|
|
.SH "SEE ALSO"
|
|
.BR selinux "(8)"
|
|
|