Skip to contentSkip to conversation

libsemanage: clarify handle-unkown configuration setting in man page

PATCH In review Christian Göttsche 2 participants 4 messages Apr 20, 2020 – Apr 28, 2020 SELinux security module

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 libsemanage: clarify handle-unkown configuration setting in man page

---
 libsemanage/man/man5/semanage.conf.5 | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
libsemanage/man/man5/semanage.conf.5 +2 -2
index 8efc7dd5..7d6f2fef 100644
@@ -95,8 +95,8 @@ to this option set to "false").
 
 .TP
 .B handle-unknown
-This option controls the kernel behavior for handling permissions defined in the kernel but missing from the actual policy.
-It can be set to "deny", "reject" or "allow".
+This option overrides the kernel behavior for handling permissions defined in the kernel but missing from the actual policy.
+It can be set to "deny", "reject" or "allow". By default the setting from the policy is taken.
 
 .TP
 .B bzip-blocksize
Signature · 1 line
2.26.1
#1 lore raw

PATCH 2/2 semodule: mention ignoredirs setting in genhomedircon man page

---
 policycoreutils/semodule/genhomedircon.8 | 3 +++
 1 file changed, 3 insertions(+)
policycoreutils/semodule/genhomedircon.8 +3 -0
index 2a3315b5..ecab7ba3 100644
@@ -16,6 +16,9 @@ This script is usually executed by
 although this default behavior can be optionally modified by setting to "true" the
 "disable-genhomedircon" in /etc/selinux/semanage.conf.
 
+Directories can be excluded from the list of home directories by the setting "ignoredirs"
+in /etc/selinux/semanage.conf.
+
 .SH AUTHOR
 This manual page was written by
 .I Dan Walsh <[email protected]>
Signature · 1 line
2.26.1
Acked-by on v1 1/2
#2 lore raw
In reply to Christian Göttsche
Quoted 2 lines · Christian Göttsche

For both patches:

If nobody raises an objection, I will merge the 2 patches tomorrow, with "unkown" replaced with "unknown" in the subject of the first one.

Thanks,
Nicolas

Quoted 22 lines
---
 libsemanage/man/man5/semanage.conf.5 | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
libsemanage/man/man5/semanage.conf.5 +2 -3
index 8efc7dd5..7d6f2fef 100644
@@ -95,8 +95,8 @@ to this option set to "false").
 
 .TP
 .B handle-unknown
-This option controls the kernel behavior for handling permissions defined in the kernel but missing from the actual policy.
-It can be set to "deny", "reject" or "allow".
+This option overrides the kernel behavior for handling permissions defined in the kernel but missing from the actual policy.
+It can be set to "deny", "reject" or "allow". By default the setting from the policy is taken.
 
 .TP
 .B bzip-blocksize
--

2.26.1

#3 lore raw
Quoted 4 lines · Nicolas Iooss
Quoted 1 line · Christian Göttsche
Quoted 8 lines
Quoted 1 line

For both patches:

If nobody raises an objection, I will merge the 2 patches tomorrow, with "unkown" replaced with "unknown" in the subject of the first one.

Merged both patches about man pages. As discussed in another thread, I did not merge the third patch (mark security_context_t typedef as deprecated).

Thanks,
Nicolas

Quoted 22 lines
Quoted 22 lines
---
 libsemanage/man/man5/semanage.conf.5 | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
libsemanage/man/man5/semanage.conf.5 +2 -3
index 8efc7dd5..7d6f2fef 100644
@@ -95,8 +95,8 @@ to this option set to "false").
 
 .TP
 .B handle-unknown
-This option controls the kernel behavior for handling permissions defined in the kernel but missing from the actual policy.
-It can be set to "deny", "reject" or "allow".
+This option overrides the kernel behavior for handling permissions defined in the kernel but missing from the actual policy.
+It can be set to "deny", "reject" or "allow". By default the setting from the policy is taken.
 
 .TP
 .B bzip-blocksize
--

2.26.1