Skip to contentSkip to conversation

authlogin: Sudo file context specification did not catch paths (squash me)

PATCH New Dominick Grift 2 participants 2 messages Sep 24, 2013 – Sep 26, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 14/20 authlogin: Sudo file context specification did not catch paths (squash me)

---
 policy/modules/system/authlogin.fc | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
policy/modules/system/authlogin.fc +2 -1
index 28ad538..2479587 100644
@@ -46,4 +46,5 @@ ifdef(`distro_gentoo', `
 /var/run/sepermit(/.*)? 	gen_context(system_u:object_r:pam_var_run_t,s0)
 /var/run/sudo(/.*)?		gen_context(system_u:object_r:pam_var_run_t,s0)
 /var/run/user(/.*)?		gen_context(system_u:object_r:var_auth_t,s0)
-/var/(db|lib|adm)/sudo(/.*)?	gen_context(system_u:object_r:pam_var_run_t,s0)
+/var/(db|adm)/sudo(/.*)?	gen_context(system_u:object_r:pam_var_run_t,s0)
+/var/lib/sudo(/.*)?	gen_context(system_u:object_r:pam_var_run_t,s0)
Signature · 1 line
1.8.3.1
#1 lore raw

PATCH 14/20 authlogin: Sudo file context specification did not catch paths (squash me)

Quoted 10 lines · Dominick Grift
---
 policy/modules/system/authlogin.fc | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
policy/modules/system/authlogin.fc +0 -0
index 28ad538..2479587 100644

policy/modules/system/authlogin.fc ifdef(`distro_gentoo', ` · line 50

Quoted 6 lines
policy/modules/system/authlogin.fc +2 -1
@@ -46,4 +46,5 @@ ifdef(`distro_gentoo', `
 /var/run/sepermit(/.*)? 	gen_context(system_u:object_r:pam_var_run_t,s0)
 /var/run/sudo(/.*)?		gen_context(system_u:object_r:pam_var_run_t,s0)
 /var/run/user(/.*)?		gen_context(system_u:object_r:var_auth_t,s0)
-/var/(db|lib|adm)/sudo(/.*)?	gen_context(system_u:object_r:pam_var_run_t,s0)
+/var/(db|adm)/sudo(/.*)?	gen_context(system_u:object_r:pam_var_run_t,s0)
+/var/lib/sudo(/.*)?	gen_context(system_u:object_r:pam_var_run_t,s0)

Merged.

--
Chris PeBenito
Tresys Technology, LLC
www.tresys.com | oss.tresys.com