1 |
commit: deb2d62e038340dcc03361b4fce83930d47f5bf7 |
2 |
Author: Christian Göttsche <cgzones <AT> googlemail <DOT> com> |
3 |
AuthorDate: Tue Mar 22 16:55:16 2022 +0000 |
4 |
Commit: Jason Zaman <perfinion <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Mar 31 02:40:53 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=deb2d62e |
7 |
|
8 |
policy_capabilities: add ioctl_skip_cloexec |
9 |
|
10 |
Add new future policy capability ioctl_skip_cloexec. |
11 |
|
12 |
Drop estimate comments from genfs_seclabel_symlinks. |
13 |
|
14 |
Signed-off-by: Christian Göttsche <cgzones <AT> googlemail.com> |
15 |
Signed-off-by: Jason Zaman <perfinion <AT> gentoo.org> |
16 |
|
17 |
policy/policy_capabilities | 10 +++++++++- |
18 |
1 file changed, 9 insertions(+), 1 deletion(-) |
19 |
|
20 |
diff --git a/policy/policy_capabilities b/policy/policy_capabilities |
21 |
index 9e309fbf..b800997f 100644 |
22 |
--- a/policy/policy_capabilities |
23 |
+++ b/policy/policy_capabilities |
24 |
@@ -100,9 +100,17 @@ policycap cgroup_seclabel; |
25 |
policycap nnp_nosuid_transition; |
26 |
|
27 |
# Enable extended genfscon labeling for symlinks. |
28 |
-# Requires libsepol 3.1 (estimated) and kernel 5.7 (estimated). |
29 |
+# Requires libsepol 3.1 and kernel 5.7. |
30 |
# |
31 |
# Added checks: |
32 |
# (none) |
33 |
# |
34 |
#policycap genfs_seclabel_symlinks; |
35 |
+ |
36 |
+# Always allow FIOCLEX and FIONCLEX ioctl. |
37 |
+# Requires libsepol 3.4 (estimated) and kernel 5.18 (estimated). |
38 |
+# |
39 |
+# Removed checks: |
40 |
+# common file/socket: ioctl { 0x5450 0x5451 } |
41 |
+# |
42 |
+#policycap ioctl_skip_cloexec; |