All of lore.kernel.org
 help / color / mirror / Atom feed
* [refpolicy] [PATCH 1/2] locallogin: Grant local_login_t the dac_read_search capability
@ 2017-11-15  7:10 Luis Ressel
  2017-11-15  7:10 ` [refpolicy] [PATCH 2/2] locallogin: Allow local_login_t to list Maildirs in home directories Luis Ressel
  2017-11-18 10:55 ` [refpolicy] [PATCH 1/2] locallogin: Grant local_login_t the dac_read_search capability Chris PeBenito
  0 siblings, 2 replies; 7+ messages in thread
From: Luis Ressel @ 2017-11-15  7:10 UTC (permalink / raw)
  To: refpolicy

It already has dac_override, and depending on the pam modules being
used, this may actually be neccessary. Due to the 4.13 changes, I'm now
getting dac_read_search denials.
---
 policy/modules/system/locallogin.te | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/policy/modules/system/locallogin.te b/policy/modules/system/locallogin.te
index 92679ce36..ff8df49df 100644
--- a/policy/modules/system/locallogin.te
+++ b/policy/modules/system/locallogin.te
@@ -32,7 +32,7 @@ role system_r types sulogin_t;
 # Local login local policy
 #
 
-allow local_login_t self:capability { chown dac_override fowner fsetid kill setgid setuid sys_nice sys_resource sys_tty_config };
+allow local_login_t self:capability { chown dac_read_search dac_override fowner fsetid kill setgid setuid sys_nice sys_resource sys_tty_config };
 dontaudit local_login_t self:capability net_admin;
 allow local_login_t self:process { setexec setrlimit setsched };
 allow local_login_t self:fd use;
-- 
2.15.0

^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2017-11-18 10:55 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-15  7:10 [refpolicy] [PATCH 1/2] locallogin: Grant local_login_t the dac_read_search capability Luis Ressel
2017-11-15  7:10 ` [refpolicy] [PATCH 2/2] locallogin: Allow local_login_t to list Maildirs in home directories Luis Ressel
2017-11-15  9:40   ` Russell Coker
2017-11-15 19:58     ` Luis Ressel
2017-11-15 20:00       ` Dominick Grift
2017-11-15 20:25         ` Dominick Grift
2017-11-18 10:55 ` [refpolicy] [PATCH 1/2] locallogin: Grant local_login_t the dac_read_search capability Chris PeBenito

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.