aboutsummaryrefslogtreecommitdiffstats
path: root/libselinux/man/man3
diff options
context:
space:
mode:
authorDaniel J Walsh <dwalsh@redhat.com>2010-03-18 16:38:17 -0400
committerJoshua Brindle <method@manicmethod.com>2010-03-18 16:38:17 -0400
commit5af082709774bd19e7b6836eccc6bfb162a87185 (patch)
treee13f54b9710c7e30a6836733fd6f3a4e414201b1 /libselinux/man/man3
parent03cd8c2d47eb5ad3d7242ac1a0c71adc1e16ad89 (diff)
downloadandroid_external_selinux-5af082709774bd19e7b6836eccc6bfb162a87185.tar.gz
android_external_selinux-5af082709774bd19e7b6836eccc6bfb162a87185.tar.bz2
android_external_selinux-5af082709774bd19e7b6836eccc6bfb162a87185.zip
Author: Daniel J Walsh
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>
Diffstat (limited to 'libselinux/man/man3')
-rw-r--r--libselinux/man/man3/is_selinux_enabled.33
1 files changed, 2 insertions, 1 deletions
diff --git a/libselinux/man/man3/is_selinux_enabled.3 b/libselinux/man/man3/is_selinux_enabled.3
index 6f763017..d744c0b7 100644
--- a/libselinux/man/man3/is_selinux_enabled.3
+++ b/libselinux/man/man3/is_selinux_enabled.3
@@ -1,4 +1,4 @@
-.TH "is_selinux_enabled" "3" "1 January 2004" "russell@coker.com.au" "SELinux API documentation"
+.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
@@ -14,6 +14,7 @@ is_selinux_mls_enabled \- check whether SELinux is enabled for (Multi Level Secu
.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.