Skip to contentSkip to conversation

evolution: curb on userdom permissions

PATCH New Guido Trentalancia 1 participant 2 messages Apr 20, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 7/33 evolution: curb on userdom permissions

This patch curbs on userdomain file read and/or write permissions for the evolution application module.

It aims to ensure user data confidentiality.

A boolean has been introduced to revert the previous read/write behavior.

---
 policy/modules/contrib/evolution.fc |    3 +
 policy/modules/contrib/evolution.te |   76 ++++++++++++++++++++++++++++++++++--
 2 files changed, 76 insertions(+), 3 deletions(-)
policy/modules/contrib/evolution.fc +3 -0
@@ -1,5 +1,8 @@
 HOME_DIR/\.camel_certs(/.*)?	gen_context(system_u:object_r:evolution_home_t,s0)
+HOME_DIR/\.config/evolution(/.*)?	--	gen_context(system_u:object_r:evolution_home_t,s0)
 HOME_DIR/\.evolution(/.*)?	gen_context(system_u:object_r:evolution_home_t,s0)
+HOME_DIR/\.local/share/evolution(/.*)?	--	gen_context(system_u:object_r:evolution_home_t,s0)
+HOME_DIR/\.local/share/camel_certs(/.*)?	--	gen_context(system_u:object_r:evolution_home_t,s0)
 
 /tmp/\.exchange-%{USERNAME}(/.*)?	gen_context(system_u:object_r:evolution_exchange_tmp_t,s0)
 
policy/modules/contrib/evolution.te +73 -3

143 lines not on this page · raw message

#1 lore raw

PATCH v2 7/33 evolution: curb on userdom permissions

This patch curbs on userdomain file read and/or write permissions for the evolution application module.

It aims to ensure user data confidentiality.

A boolean has been introduced to revert the previous read/write behavior.

This second version removes misplaced unrelated bits already submitted separately.

---
 policy/modules/contrib/evolution.fc |    3 +
 policy/modules/contrib/evolution.te |   70 ++++++++++++++++++++++++++++++++++--
 2 files changed, 70 insertions(+), 3 deletions(-)
policy/modules/contrib/evolution.fc +3 -0
@@ -1,5 +1,8 @@
 HOME_DIR/\.camel_certs(/.*)?	gen_context(system_u:object_r:evolution_home_t,s0)
+HOME_DIR/\.config/evolution(/.*)?	--	gen_context(system_u:object_r:evolution_home_t,s0)
 HOME_DIR/\.evolution(/.*)?	gen_context(system_u:object_r:evolution_home_t,s0)
+HOME_DIR/\.local/share/evolution(/.*)?	--	gen_context(system_u:object_r:evolution_home_t,s0)
+HOME_DIR/\.local/share/camel_certs(/.*)?	--	gen_context(system_u:object_r:evolution_home_t,s0)
 
 /tmp/\.exchange-%{USERNAME}(/.*)?	gen_context(system_u:object_r:evolution_exchange_tmp_t,s0)
 
policy/modules/contrib/evolution.te +67 -3

119 lines not on this page · raw message