From ead1e1d8e2889e55ca882ba76ddfeda4f742470c Mon Sep 17 00:00:00 2001 From: Laurent Bigonville Date: Fri, 10 May 2013 14:45:17 +0200 Subject: [PATCH] libselinux: Fix various minor manpage issues and correct section numbering. --- libselinux/man/man3/security_disable.3 | 4 ++-- libselinux/man/man3/security_load_policy.3 | 4 ++-- libselinux/man/man8/getenforce.8 | 2 +- libselinux/man/man8/selinuxenabled.8 | 2 +- libselinux/man/man8/selinuxexeccon.8 | 2 +- libselinux/man/man8/setenforce.8 | 2 +- libselinux/man/man8/togglesebool.8 | 2 +- 7 files changed, 9 insertions(+), 9 deletions(-) diff --git a/libselinux/man/man3/security_disable.3 b/libselinux/man/man3/security_disable.3 index aeb78da2..c75ce0d9 100644 --- a/libselinux/man/man3/security_disable.3 +++ b/libselinux/man/man3/security_disable.3 @@ -17,7 +17,7 @@ and then unmounts This function can only be called at runtime and prior to the initial policy load. After the initial policy load, the SELinux kernel code cannot be disabled, but only placed in "permissive" mode by using -.BR setenforce (1). +.BR security_setenforce(3). . .SH "RETURN VALUE" .BR security_disable () @@ -27,4 +27,4 @@ returns zero on success or \-1 on error. This manual page has been written by Guido Trentalancia . .SH "SEE ALSO" -.BR selinux (8), " setenforce "(3) +.BR selinux (8), " setenforce "(8) diff --git a/libselinux/man/man3/security_load_policy.3 b/libselinux/man/man3/security_load_policy.3 index c4439bfe..af561636 100644 --- a/libselinux/man/man3/security_load_policy.3 +++ b/libselinux/man/man3/security_load_policy.3 @@ -43,7 +43,7 @@ unmounted using a call to .BR security_disable (3). Therefore, after the initial policy load, the only operational changes are those permitted by -.BR setenforce (3) +.BR security_setenforce (3) (i.e. eventually setting the framework in permissive mode rather than in enforcing one). . @@ -54,4 +54,4 @@ Returns zero on success or \-1 on error. This manual page has been written by Guido Trentalancia . .SH "SEE ALSO" -.BR selinux "(8), " security_disable "(3), " setenforce "(1) +.BR selinux "(8), " security_disable "(3), " setenforce "(8) diff --git a/libselinux/man/man8/getenforce.8 b/libselinux/man/man8/getenforce.8 index 906279fb..e0924d8f 100644 --- a/libselinux/man/man8/getenforce.8 +++ b/libselinux/man/man8/getenforce.8 @@ -1,4 +1,4 @@ -.TH "getenforce" "1" "7 April 2004" "dwalsh@redhat.com" "SELinux Command Line documentation" +.TH "getenforce" "8" "7 April 2004" "dwalsh@redhat.com" "SELinux Command Line documentation" .SH "NAME" getenforce \- get the current mode of SELinux . diff --git a/libselinux/man/man8/selinuxenabled.8 b/libselinux/man/man8/selinuxenabled.8 index e0b52012..ac20587b 100644 --- a/libselinux/man/man8/selinuxenabled.8 +++ b/libselinux/man/man8/selinuxenabled.8 @@ -1,4 +1,4 @@ -.TH "selinuxenabled" "1" "7 April 2004" "dwalsh@redhat.com" "SELinux Command Line documentation" +.TH "selinuxenabled" "8" "7 April 2004" "dwalsh@redhat.com" "SELinux Command Line documentation" .SH "NAME" selinuxenabled \- tool to be used within shell scripts to determine if selinux is enabled . diff --git a/libselinux/man/man8/selinuxexeccon.8 b/libselinux/man/man8/selinuxexeccon.8 index 765cf8c6..30c20ed8 100644 --- a/libselinux/man/man8/selinuxexeccon.8 +++ b/libselinux/man/man8/selinuxexeccon.8 @@ -1,4 +1,4 @@ -.TH "selinuxexeccon" "1" "14 May 2011" "dwalsh@redhat.com" "SELinux Command Line documentation" +.TH "selinuxexeccon" "8" "14 May 2011" "dwalsh@redhat.com" "SELinux Command Line documentation" .SH "NAME" selinuxexeccon \- report SELinux context used for this executable . diff --git a/libselinux/man/man8/setenforce.8 b/libselinux/man/man8/setenforce.8 index b038da00..8a24f1ce 100644 --- a/libselinux/man/man8/setenforce.8 +++ b/libselinux/man/man8/setenforce.8 @@ -1,4 +1,4 @@ -.TH "setenforce" "1" "7 April 2004" "dwalsh@redhat.com" "SELinux Command Line documentation" +.TH "setenforce" "8" "7 April 2004" "dwalsh@redhat.com" "SELinux Command Line documentation" .SH "NAME" setenforce \- modify the mode SELinux is running in . diff --git a/libselinux/man/man8/togglesebool.8 b/libselinux/man/man8/togglesebool.8 index 948aff17..598dc942 100644 --- a/libselinux/man/man8/togglesebool.8 +++ b/libselinux/man/man8/togglesebool.8 @@ -1,4 +1,4 @@ -.TH "togglesebool" "1" "26 Oct 2004" "sgrubb@redhat.com" "SELinux Command Line documentation" +.TH "togglesebool" "8" "26 Oct 2004" "sgrubb@redhat.com" "SELinux Command Line documentation" .SH "NAME" togglesebool \- flip the current value of a SELinux boolean .