-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 This patch looks good to me. acked. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.15 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlJpJHIACgkQrlYvE4MpobNJzQCeJvG89xUF2VtBuW2kE2yURRWa /koAoMn9tLukF8AQ1zCcKQiO+2s9vAVY =Fb3M -----END PGP SIGNATURE-----
>From 2cec9bc58026820953cbfbcca9632b041ef2e58a Mon Sep 17 00:00:00 2001 From: Dan Walsh <dwalsh@xxxxxxxxxx> Date: Wed, 9 Oct 2013 14:38:47 -0400 Subject: [PATCH 06/74] Add missing man page for sefcontext_compile --- libselinux/man/man8/sefcontext_compile.8 | 19 +++++++++++++++++++ policycoreutils/man/man5/selinux_config.5 | 4 ++-- 2 files changed, 21 insertions(+), 2 deletions(-) create mode 100644 libselinux/man/man8/sefcontext_compile.8 diff --git a/libselinux/man/man8/sefcontext_compile.8 b/libselinux/man/man8/sefcontext_compile.8 new file mode 100644 index 0000000..c37ed4a --- /dev/null +++ b/libselinux/man/man8/sefcontext_compile.8 @@ -0,0 +1,19 @@ +.TH "sefcontext_compile" "8" "27 Jun 2013" "dwalsh@xxxxxxxxxx" "SELinux Command Line documentation" +.SH "NAME" +sefcontext_compile \- compile file context regular expression files +. +.SH "SYNOPSIS" +.B sefcontext_compile inputfile +. +.SH "DESCRIPTION" +sefcontext_compile is used libsemanage to compile file context regular expressions into prce format. sefcontext_compile writes the compiled prce file with the .bin suffix appended "inputfile".bin. This compiled file is used by libselinux file labeling functions. + +.SH "EXAMPLE" +sefcontext_compile /etc/selinux/targeted/contexts/files/file_contexts +. +.SH AUTHOR +Dan Walsh, <dwalsh@xxxxxxxxxx> +. +.SH "SEE ALSO" +.BR selinux (8), +.BR semanage (8), diff --git a/policycoreutils/man/man5/selinux_config.5 b/policycoreutils/man/man5/selinux_config.5 index 4963cdc..dbfec55 100644 --- a/policycoreutils/man/man5/selinux_config.5 +++ b/policycoreutils/man/man5/selinux_config.5 @@ -92,7 +92,7 @@ The binary policy name has by convention the SELinux policy version that it supp .RS This entry is deprecated and should be removed or set to \fI0\fR. .sp -If set to \fI1\fR, then \fBselinux_mkload_policy\fR(3) will read the local customisation for booleans (see \fBbooleans\fR(5)) and users (see \fBlocal.users\fR(5)). +If set to \fI1\fR, then \fBselinux_mkload_policy\fR(3) will read the local customization for booleans (see \fBbooleans\fR(5)) and users (see \fBlocal.users\fR(5)). .RE .sp .B REQUIRESEUSERS @@ -122,7 +122,7 @@ This is an optional entry that allows the file system to be relabeled. .sp If set to \fI0\fR and there is a file called \fI.autorelabel\fR in the root directory, then on a reboot, the loader will drop to a shell where a root login is required. An administrator can then manually relabel the file system. .sp -If set to \fI1\fR or no entry present (the default) and there is a \fI.autorelabel\fR file in the root directory, then the file system will be automatically relabeled using \fBfixfiles -F restore\fR +If set to \fI1\fR or no entry present (the default) and there is a \fI.autorelabel\fR file in the root directory, then the file system will be automatically relabeled using \fBfixfiles \-F restore\fR .sp In both cases the \fI/.autorelabel\fR file will be removed so that relabeling is not done again. .RE -- 1.8.3.1