policycoreutils man pages patch

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The attached patch documents semanage -i, the -p option for setfiles and 
restorecon, the -0 option for restorecon, and the fact that setfiles and 
restorecon are the same program.

-- 
My Main Blog         http://etbe.coker.com.au/
My Documents Blog    http://doc.coker.com.au/
--- policycoreutils-2.1.0.orig/semanage/semanage.8
+++ policycoreutils-2.1.0/semanage/semanage.8
@@ -21,6 +21,8 @@
 .br
 .B semanage permissive \-{a|d} type
 .br
+.B semanage -i command-file
+.br
 .B semanage dontaudit [ on | off ]
 .P
 
@@ -99,6 +101,10 @@
 .TP
 .I                \-t, \-\-type       
 SELinux Type for the object
+.TP
+.I                \-i
+Take a set of commands from a specified file and load them in a single
+transaction.
 
 .SH EXAMPLE
 .nf
--- policycoreutils-2.1.0.orig/setfiles/restorecon.8
+++ policycoreutils-2.1.0/setfiles/restorecon.8
@@ -4,10 +4,10 @@
 
 .SH "SYNOPSIS"
 .B restorecon
-.I [\-o outfilename ] [\-R] [\-n] [\-v] [\-e directory ] pathname...
+.I [\-o outfilename ] [\-R] [\-n] [\-v|\-p] [\-e directory ] pathname...
 .P
 .B restorecon
-.I \-f infilename [\-o outfilename ] [\-e directory ] [\-R] [\-n] [\-v] [\-F]
+.I \-f infilename [\-o outfilename ] [\-e directory ] [\-R] [\-n] [\-v|\-p] [\-F]
 
 .SH "DESCRIPTION"
 This manual page describes the
@@ -20,6 +20,10 @@
 It can be run at any time to correct errors, to add support for
 new policy, or with the \-n option it can just check whether the file
 contexts are all as you expect.
+.P
+It is the same executable as
+.BR setfiles
+but operates in a slightly different manner depending on it's argv[0].
 
 .SH "OPTIONS"
 .TP 
@@ -46,10 +50,16 @@
 .TP 
 .B \-vv
 show changes in file labels, if type, role, or user are changing.
+.TP
+.B \-p
+show a progress indication in the form of one dot per 1000 files.
 .TP 
 .B \-F
 Force reset of context to match file_context for customizable files, or the user section, if it has changed. 
 .TP 
+.B \-0
+Input items are terminated by a null character instead of by whitespace,  and the quotes and backslash are not special (every character is taken literally).  Disables the end of file string, which  is  treated  like  any other argument.  Useful when input items might contain white space, quote  marks,  or  backslashes.The  GNU  find  -print0  option produces input suitable for this mode.
+
 .SH "ARGUMENTS"
 .B pathname...
 The pathname for the file(s) to be relabeled. 
--- policycoreutils-2.1.0.orig/setfiles/setfiles.8
+++ policycoreutils-2.1.0/setfiles/setfiles.8
@@ -4,7 +4,7 @@
 
 .SH "SYNOPSIS"
 .B setfiles
-.I [\-c policy ] [\-d] [\-l] [\-n] [\-e directory ] [\-o filename ] [\-q] [\-s] [\-v] [\-vv] [\-W] [\-F] spec_file pathname...
+.I [\-c policy ] [\-d] [\-l] [\-n] [\-e directory ] [\-o filename ] [\-q] [\-s] [\-v] [\-vv|\-p] [\-W] [\-F] spec_file pathname...
 .SH "DESCRIPTION"
 This manual page describes the
 .BR setfiles
@@ -17,6 +17,10 @@
 It can also be run at any time to correct errors, to add support for
 new policy, or with the \-n option it can just check whether the file
 contexts are all as you expect.
+.P
+It is the same executable as 
+.BR setfiles
+but operates in a slightly different manner depending on it's argv[0].
 
 .SH "OPTIONS"
 .TP 
@@ -57,6 +61,9 @@
 .B \-vv
 show changes in file labels, if type, role, or user are changing.
 .TP 
+.B \-p
+show a progress indication in the form of one dot per 1000 files.
+.TP
 .B \-W
 display warnings about entries that had no matching files.
 .TP 

[Index of Archives]     [Selinux Refpolicy]     [Linux SGX]     [Fedora Users]     [Fedora Desktop]     [Yosemite Photos]     [Yosemite Camping]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux