aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris PeBenito <pebenito@ieee.org>2019-01-23 19:01:37 -0500
committerJason Zaman <jason@perfinion.com>2019-02-10 12:11:25 +0800
commitd5238cafa6c1b972527056af9a61ae2052ccbe2c (patch)
tree9ab75020d15bf959a9b222fc000484d44babb9f7
parentchromium: Move line. (diff)
downloadhardened-refpolicy-d5238cafa6c1b972527056af9a61ae2052ccbe2c.tar.gz
hardened-refpolicy-d5238cafa6c1b972527056af9a61ae2052ccbe2c.tar.bz2
hardened-refpolicy-d5238cafa6c1b972527056af9a61ae2052ccbe2c.zip
dovecot: Move lines.
Signed-off-by: Jason Zaman <jason@perfinion.com>
-rw-r--r--policy/modules/services/dovecot.te24
1 files changed, 12 insertions, 12 deletions
diff --git a/policy/modules/services/dovecot.te b/policy/modules/services/dovecot.te
index bee63714..f23cee27 100644
--- a/policy/modules/services/dovecot.te
+++ b/policy/modules/services/dovecot.te
@@ -289,12 +289,6 @@ tunable_policy(`dovecot_can_connect_db',`
')
optional_policy(`
- userdom_list_user_tmp(dovecot_auth_t)
- userdom_read_user_tmp_files(dovecot_auth_t)
- userdom_read_user_tmp_symlinks(dovecot_auth_t)
-')
-
-optional_policy(`
tunable_policy(`dovecot_can_connect_db',`
mysql_stream_connect(dovecot_auth_t)
mysql_read_config(dovecot_auth_t)
@@ -303,6 +297,15 @@ optional_policy(`
')
optional_policy(`
+ nis_authenticate(dovecot_auth_t)
+')
+
+optional_policy(`
+ postfix_manage_private_sockets(dovecot_auth_t)
+ postfix_search_spool(dovecot_auth_t)
+')
+
+optional_policy(`
postgresql_unpriv_client(dovecot_auth_t)
tunable_policy(`dovecot_can_connect_db',`
@@ -312,12 +315,9 @@ optional_policy(`
')
optional_policy(`
- nis_authenticate(dovecot_auth_t)
-')
-
-optional_policy(`
- postfix_manage_private_sockets(dovecot_auth_t)
- postfix_search_spool(dovecot_auth_t)
+ userdom_list_user_tmp(dovecot_auth_t)
+ userdom_read_user_tmp_files(dovecot_auth_t)
+ userdom_read_user_tmp_symlinks(dovecot_auth_t)
')
########################################