Skip to contentSkip to conversation

evolution: add some critical permissions

PATCH New Guido Trentalancia 1 participant 1 message Apr 13, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 6/10 evolution: add some critical permissions

Update the evolution module with permissions strictly needed to run new versions.

---
 policy/modules/contrib/evolution.te |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
policy/modules/contrib/evolution.te +3 -1
@@ -111,7 +111,7 @@ userdom_user_tmpfs_file(evolution_webcal
 #
 
 allow evolution_t self:capability { setgid setuid sys_nice };
-allow evolution_t self:process { signal getsched setsched };
+allow evolution_t self:process { execmem getsched setsched signal };
 allow evolution_t self:fifo_file rw_file_perms;
 
 allow evolution_t evolution_home_t:dir manage_dir_perms;
@@ -185,7 +185,9 @@ domain_dontaudit_read_all_domains_state(
 files_read_usr_files(evolution_t)
 
 fs_dontaudit_getattr_xattr_fs(evolution_t)
+fs_getattr_tmpfs(evolution_t)
 fs_search_auto_mountpoints(evolution_t)
+fs_search_cgroup_dirs(evolution_t)
 
 auth_use_nsswitch(evolution_t)