1 |
commit: bd1a6b7906f6d0d7df6af70e91d8eb11a6fc8c7b |
2 |
Author: Dave Sugar <dsugar100 <AT> gmail <DOT> com> |
3 |
AuthorDate: Mon Oct 3 20:54:41 2022 +0000 |
4 |
Commit: Kenton Groombridge <concord <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Nov 2 14:07:25 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=bd1a6b79 |
7 |
|
8 |
fapolicyd: fagenrules chgrp's the compiled.rules |
9 |
|
10 |
node=localhost type=AVC msg=audit(1664829990.107:8051): avc: denied { chown } for pid=3709 comm="chgrp" capability=0 scontext=toor_u:sysadm_r:fagenrules_t:s0 tcontext=sysadm_u:sysadm_r:fagenrules_t:s0 tclass=capability permissive=0 |
11 |
|
12 |
Signed-off-by: Dave Sugar <dsugar100 <AT> gmail.com> |
13 |
Signed-off-by: Kenton Groombridge <concord <AT> gentoo.org> |
14 |
|
15 |
policy/modules/admin/fapolicyd.te | 2 +- |
16 |
1 file changed, 1 insertion(+), 1 deletion(-) |
17 |
|
18 |
diff --git a/policy/modules/admin/fapolicyd.te b/policy/modules/admin/fapolicyd.te |
19 |
index 9effdb04a..2e716c1aa 100644 |
20 |
--- a/policy/modules/admin/fapolicyd.te |
21 |
+++ b/policy/modules/admin/fapolicyd.te |
22 |
@@ -93,7 +93,7 @@ optional_policy(` |
23 |
# fagenrules local policy |
24 |
# |
25 |
|
26 |
-allow fagenrules_t self:capability { fsetid kill }; |
27 |
+allow fagenrules_t self:capability { chown fsetid kill }; |
28 |
allow fagenrules_t self:fifo_file rw_inherited_fifo_file_perms; |