1 |
commit: 16ad490b87e5629bafc5251261fc294340096fe9 |
2 |
Author: Guido Trentalancia <guido <AT> trentalancia <DOT> net> |
3 |
AuthorDate: Thu May 25 10:53:07 2017 +0000 |
4 |
Commit: Jason Zaman <perfinion <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jun 5 17:16:18 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=16ad490b |
7 |
|
8 |
zabbix: Grant zabbix_agent_t to call setrlimit on self |
9 |
|
10 |
Zabbix Agent wants to disable core dumps on its process |
11 |
or it refuses to start. |
12 |
|
13 |
See zabbix bug ZBX-10542 |
14 |
|
15 |
policy/modules/contrib/zabbix.te | 4 ++-- |
16 |
1 file changed, 2 insertions(+), 2 deletions(-) |
17 |
|
18 |
diff --git a/policy/modules/contrib/zabbix.te b/policy/modules/contrib/zabbix.te |
19 |
index 3f45497a..5d57a2af 100644 |
20 |
--- a/policy/modules/contrib/zabbix.te |
21 |
+++ b/policy/modules/contrib/zabbix.te |
22 |
@@ -1,4 +1,4 @@ |
23 |
-policy_module(zabbix, 1.10.1) |
24 |
+policy_module(zabbix, 1.10.2) |
25 |
|
26 |
######################################## |
27 |
# |
28 |
@@ -133,7 +133,7 @@ optional_policy(` |
29 |
# |
30 |
|
31 |
allow zabbix_agent_t self:capability { setgid setuid }; |
32 |
-allow zabbix_agent_t self:process { setsched getsched signal }; |
33 |
+allow zabbix_agent_t self:process { setsched getsched signal setrlimit }; |
34 |
allow zabbix_agent_t self:fifo_file rw_fifo_file_perms; |
35 |
allow zabbix_agent_t self:sem create_sem_perms; |
36 |
allow zabbix_agent_t self:shm create_shm_perms; |