policycoreutils/setfiles: Mention customizable types in restorecon man page
PATCH 1/1 policycoreutils/setfiles: Mention customizable types in restorecon man page
--- policycoreutils/setfiles/restorecon.8 | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-)
policycoreutils/setfiles/restorecon.8 +7 -1
@@ -58,6 +58,12 @@ The .B \-F option will force a replacement of the entire context. .P +If a file is labeled with +.BR customizable +SELinux type (for list of customizable +types see /etc/selinux/targeted/contexts/customizable_types), restorecon +won't reset the label unless the \-F option is used. +.P It is the same executable as .BR setfiles but operates in a slightly different manner depending on its argv[0].
@@ -124,7 +130,7 @@ change files and directories file labels recursively (descend directories). .br .TP .B \-v -show changes in file labels. Note that the +show changes in file labels. Multiple -v options increase the verbosity. Note that the .B \-v and .B \-p
Signature · 1 line
2.7.4
Quoted 14 lines · Vit Mojzis
Signed-off-by Vit Mojzis <[email protected]>---
policycoreutils/setfiles/restorecon.8 | 8 +++++++-1 file changed, 7 insertions(+), 1 deletion(-)policycoreutils/setfiles/restorecon.8 +0
-0@@ -58,6 +58,12 @@ The.B \-F
option will force a replacement of the entire context. .P
policycoreutils/setfiles/restorecon.8 The
Quoted 4 lines
policycoreutils/setfiles/restorecon.8 +4
-0+If a file is labeled with +.BR customizable +SELinux type (for list of customizable +types see /etc/selinux/targeted/contexts/customizable_types),
Should use {SELINUXTYPE} as we do in other man pages since not everyone is running targeted, and probably add a see also for the customizable_types man page.
Quoted 18 lines
restorecon
+won't reset the label unless the \-F option is used. +.P
It is the same executable as
.BR setfiles
but operates in a slightly different manner depending on its argv[0].policycoreutils/setfiles/restorecon.8 +0
-0@@ -124,7 +130,7 @@ change files and directories file labelsrecursively (descend directories).
.br
.TP
.B \-vpolicycoreutils/setfiles/restorecon.8 +1
-1-show changes in file labels. Note that the +show changes in file labels. Multiple -v options increase theverbosity. Note that the
.B \-v
and
.B \-p
PATCH 1/1 policycoreutils/setfiles: Mention customizable types in restorecon man page
--- policycoreutils/setfiles/restorecon.8 | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-)
policycoreutils/setfiles/restorecon.8 +9 -2
@@ -58,6 +58,12 @@ The .B \-F option will force a replacement of the entire context. .P +If a file is labeled with +.BR customizable +SELinux type (for list of customizable +types see /etc/selinux/{SELINUXTYPE}/contexts/customizable_types), restorecon +won't reset the label unless the \-F option is used. +.P It is the same executable as .BR setfiles but operates in a slightly different manner depending on its argv[0].
@@ -124,7 +130,7 @@ change files and directories file labels recursively (descend directories). .br .TP .B \-v -show changes in file labels. Note that the +show changes in file labels. Multiple -v options increase the verbosity. Note that the .B \-v and .B \-p
@@ -209,4 +215,5 @@ The program was written by Dan Walsh <[email protected]>. .SH "SEE ALSO" .BR setfiles (8), .BR load_policy (8), -.BR checkpolicy (8) +.BR checkpolicy (8), +.BR customizable_types (8)
Signature · 1 line
2.7.4
Quoted 37 lines · Vit Mojzis
Signed-off-by Vit Mojzis <[email protected]>---
policycoreutils/setfiles/restorecon.8 | 11 +++++++++--1 file changed, 9 insertions(+), 2 deletions(-)policycoreutils/setfiles/restorecon.8 +0
-0@@ -58,6 +58,12 @@ The.B \-F
option will force a replacement of the entire context. .Ppolicycoreutils/setfiles/restorecon.8 +4
-0+If a file is labeled with +.BR customizable +SELinux type (for list of customizable +types see /etc/selinux/{SELINUXTYPE}/contexts/customizable_types),restorecon
+won't reset the label unless the \-F option is used. +.P
It is the same executable as
.BR setfiles
but operates in a slightly different manner depending on its argv[0].policycoreutils/setfiles/restorecon.8 +0
-0@@ -124,7 +130,7 @@ change files and directories file labelsrecursively (descend directories).
.br
.TP
.B \-vpolicycoreutils/setfiles/restorecon.8 +1
-1-show changes in file labels. Note that the +show changes in file labels. Multiple -v options increase theverbosity. Note that the
.B \-v
and
.B \-ppolicycoreutils/setfiles/restorecon.8 +0
-0@@ -209,4 +215,5 @@ The program was written by Dan Walsh <dwalsh@redh
Quoted 7 lines
at.com>.
.SH "SEE ALSO"
.BR setfiles (8),
.BRload_policy(8),
-.BR checkpolicy (8)
+.BR checkpolicy (8),
+.BRcustomizable_types(8)
Wrong section - should be 5.
PATCH 1/1 policycoreutils/setfiles: Mention customizable types in restorecon man page
--- policycoreutils/setfiles/restorecon.8 | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-)
policycoreutils/setfiles/restorecon.8 +9 -2
@@ -58,6 +58,12 @@ The .B \-F option will force a replacement of the entire context. .P +If a file is labeled with +.BR customizable +SELinux type (for list of customizable +types see /etc/selinux/{SELINUXTYPE}/contexts/customizable_types), restorecon +won't reset the label unless the \-F option is used. +.P It is the same executable as .BR setfiles but operates in a slightly different manner depending on its argv[0].
@@ -124,7 +130,7 @@ change files and directories file labels recursively (descend directories). .br .TP .B \-v -show changes in file labels. Note that the +show changes in file labels. Multiple -v options increase the verbosity. Note that the .B \-v and .B \-p
@@ -209,4 +215,5 @@ The program was written by Dan Walsh <[email protected]>. .SH "SEE ALSO" .BR setfiles (8), .BR load_policy (8), -.BR checkpolicy (8) +.BR checkpolicy (8), +.BR customizable_types (5)
Signature · 1 line
2.7.4
Stephen Smalley
AppliedQuoted 1 line · Vit Mojzis
Signed-off-by Vit Mojzis <[email protected]>
Thanks, applied
Quoted 43 lines
---
policycoreutils/setfiles/restorecon.8 | 11 +++++++++--1 file changed, 9 insertions(+), 2 deletions(-)policycoreutils/setfiles/restorecon.8 +0
-0@@ -58,6 +58,12 @@ The.B \-F
option will force a replacement of the entire context. .Ppolicycoreutils/setfiles/restorecon.8 +4
-0+If a file is labeled with +.BR customizable +SELinux type (for list of customizable +types see /etc/selinux/{SELINUXTYPE}/contexts/customizable_types),restorecon
+won't reset the label unless the \-F option is used. +.P
It is the same executable as
.BR setfiles
but operates in a slightly different manner depending on its argv[0].policycoreutils/setfiles/restorecon.8 +0
-0@@ -124,7 +130,7 @@ change files and directories file labelsrecursively (descend directories).
.br
.TP
.B \-vpolicycoreutils/setfiles/restorecon.8 +1
-1-show changes in file labels. Note that the +show changes in file labels. Multiple -v options increase theverbosity. Note that the
.B \-v
and
.B \-ppolicycoreutils/setfiles/restorecon.8 +0
-0@@ -209,4 +215,5 @@ The program was written by Dan Walsh <dwalsh@redhat.com>.
.SH "SEE ALSO"
.BR setfiles (8),
.BRload_policy(8),
-.BR checkpolicy (8)
+.BR checkpolicy (8),
+.BRcustomizable_types(5)