Skip to contentSkip to conversation

init: curb on userdom permissions

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

lore
Share & tools
lore
#0 lore raw

PATCH 12/33 init: curb on userdom permissions

This patch curbs on userdomain file read and/or write permissions for the init daemon module (initrc_t domain).

It aims to ensure user data confidentiality.

The existing userdom permission looks odd.

---
 policy/modules/system/init.te |    1 -
 1 file changed, 1 deletion(-)
policy/modules/system/init.te +0 -1
@@ -566,7 +566,6 @@ modutils_domtrans_insmod(initrc_t)
 
 seutil_read_config(initrc_t)
 
-userdom_read_user_home_content_files(initrc_t)
 # Allow access to the sysadm TTYs. Note that this will give access to the
 # TTYs to any process in the initrc_t domain. Therefore, daemons and such
 # started from init should be placed in their own domain.