1 |
commit: 02180246ec67ee6e32b3aa95c042e9b335f0d6d6 |
2 |
Author: Dominick Grift <dominick.grift <AT> gmail <DOT> com> |
3 |
AuthorDate: Tue Sep 24 13:40:05 2013 +0000 |
4 |
Commit: Sven Vermeulen <swift <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Sep 27 13:20:29 2013 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-refpolicy.git;a=commit;h=02180246 |
7 |
|
8 |
authlogin: Sudo file context specification did not catch paths (squash me) |
9 |
|
10 |
Signed-off-by: Dominick Grift <dominick.grift <AT> gmail.com> |
11 |
|
12 |
--- |
13 |
policy/modules/system/authlogin.fc | 3 ++- |
14 |
1 file changed, 2 insertions(+), 1 deletion(-) |
15 |
|
16 |
diff --git a/policy/modules/system/authlogin.fc b/policy/modules/system/authlogin.fc |
17 |
index 1226c32..bc3f7dc 100644 |
18 |
--- a/policy/modules/system/authlogin.fc |
19 |
+++ b/policy/modules/system/authlogin.fc |
20 |
@@ -48,4 +48,5 @@ ifdef(`distro_gentoo', ` |
21 |
/var/run/sepermit(/.*)? gen_context(system_u:object_r:pam_var_run_t,s0) |
22 |
/var/run/sudo(/.*)? gen_context(system_u:object_r:pam_var_run_t,s0) |
23 |
/var/run/user(/.*)? gen_context(system_u:object_r:var_auth_t,s0) |
24 |
-/var/(db|lib|adm)/sudo(/.*)? gen_context(system_u:object_r:pam_var_run_t,s0) |
25 |
+/var/(db|adm)/sudo(/.*)? gen_context(system_u:object_r:pam_var_run_t,s0) |
26 |
+/var/lib/sudo(/.*)? gen_context(system_u:object_r:pam_var_run_t,s0) |