From 8fffd0bd7cc1efea7a0f58cad9eeec3ff15f5abc Mon Sep 17 00:00:00 2001 From: Eric Renfro Date: Mon, 9 Nov 2015 03:01:09 -0500 Subject: [PATCH] Added passwd_file_t read --- mlogc.te | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/mlogc.te b/mlogc.te index 2dcb653..a55a281 100644 --- a/mlogc.te +++ b/mlogc.te @@ -1,5 +1,5 @@ -policy_module(mlogc,1.0.43) +policy_module(mlogc,1.0.44) ######################################## # @@ -24,7 +24,7 @@ files_tmp_file(mlogc_tmp_t) require { type cert_t; type mlogc_log_t; - #type urandom_device_t; + type urandom_device_t; type mlogc_t; type httpd_t; type httpd_log_t; @@ -115,6 +115,8 @@ allow mlogc_t cert_t:file { read getattr open lock }; allow mlogc_t urandom_device_t:chr_file { read getattr open }; +allow mlogc_t passwd_file_t:file { getattr read open }; + #allow mlogc_t http_port_t:tcp_socket { create connect name_connect getopt getattr setopt }; #allow mlogc_t cert_t:dir { write getattr };