selinux October 2012 archive
Main Archive Page > Month Archives  > selinux archives
selinux: [PATCH 14/15] libsepol: Fix cases where hyphen were use

[PATCH 14/15] libsepol: Fix cases where hyphen were used as minus sign in manpages

From: Laurent Bigonville <bigon_at_nospam>
Date: Mon Oct 01 2012 - 16:31:56 GMT
To: selinux@tycho.nsa.gov

From: Laurent Bigonville <bigon@bigon.be>

--- libsepol/man/man3/sepol_check_context.3 | 2 +- libsepol/man/man3/sepol_genbools.3 | 2 +- libsepol/man/man3/sepol_genusers.3 | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/libsepol/man/man3/sepol_check_context.3 b/libsepol/man/man3/sepol_check_context.3 index a63cd56..4a3c57d 100644 --- a/libsepol/man/man3/sepol_check_context.3 +++ b/libsepol/man/man3/sepol_check_context.3 @@ -22,4 +22,4 @@ policy on a SELinux system, use from libselinux instead. .SH "RETURN VALUE" -Returns 0 on success or -1 with errno set otherwise. +Returns 0 on success or \-1 with errno set otherwise. diff --git a/libsepol/man/man3/sepol_genbools.3 b/libsepol/man/man3/sepol_genbools.3 index 0a30137..ca5b5a6 100644 --- a/libsepol/man/man3/sepol_genbools.3 +++ b/libsepol/man/man3/sepol_genbools.3 @@ -21,7 +21,7 @@ does likewise, but obtains the boolean settings from the parallel arrays (names, values) with nel elements each. .SH "RETURN VALUE" -Returns 0 on success or -1 otherwise, with errno set appropriately. +Returns 0 on success or \-1 otherwise, with errno set appropriately. An errno of ENOENT indicates that the boolean file did not exist. An errno of EINVAL indicates that one or more booleans listed in the boolean file was undefined in the policy or had an invalid value specified; diff --git a/libsepol/man/man3/sepol_genusers.3 b/libsepol/man/man3/sepol_genusers.3 index 05dff00..1f820ff 100644 --- a/libsepol/man/man3/sepol_genusers.3 +++ b/libsepol/man/man3/sepol_genusers.3 @@ -44,7 +44,7 @@ set to 1 prior to calling in order to enable deletion of such users. .SH "RETURN VALUE" -Returns 0 on success or -1 otherwise, with errno set appropriately. +Returns 0 on success or \-1 otherwise, with errno set appropriately. An errno of ENOENT indicates that one or both of the user configuration files did not exist. An errno of EINVAL indicates that either the original binary policy image or the generated one were -- 1.7.10.4 -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with the words "unsubscribe selinux" without quotes as the message.