Skip to contentSkip to conversation

Fix auth_domtrans_chk_passwd to use read_file_perms to surpress open AVC denials.

PATCH New Dominick Grift 2 participants 2 messages Mar 1, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix auth_domtrans_chk_passwd to use read_file_perms to surpress open AVC denials.

---
:100644 100644 8a89f59... 7f21603... M policy/modules/system/authlogin.if

 policy/modules/system/authlogin.if |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
policy/modules/system/authlogin.if +1 -1
index 8a89f59..7f21603 100644
@@ -300,7 +300,7 @@ interface(`auth_domtrans_chk_passwd',`
 	corecmd_search_bin($1)
 	domtrans_pattern($1, chkpwd_exec_t, chkpwd_t)
 
-	dontaudit $1 shadow_t:file { getattr read };
+	dontaudit $1 shadow_t:file read_file_perms;
 
 	dev_read_rand($1)
 	dev_read_urand($1)
Signature · 9 lines
1.6.6.1

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
Url : http://oss.tresys.com/pipermail/refpolicy/attachments/20100301/d4eaec78/attachment.bin 
#1 lore raw

PATCH 1/1 Fix auth_domtrans_chk_passwd to use read_file_perms to surpress open AVC denials.

Quoted 1 line · Dominick Grift

Merged.

Quoted 22 lines

---
:100644 100644 8a89f59... 7f21603... M policy/modules/system/authlogin.if

 policy/modules/system/authlogin.if |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
policy/modules/system/authlogin.if +1 -1
index 8a89f59..7f21603 100644
@@ -300,7 +300,7 @@ interface(`auth_domtrans_chk_passwd',`
 	corecmd_search_bin($1)
 	domtrans_pattern($1, chkpwd_exec_t, chkpwd_t)
 
-	dontaudit $1 shadow_t:file { getattr read };
+	dontaudit $1 shadow_t:file read_file_perms;
 
 	dev_read_rand($1)
 	dev_read_urand($1)

_______________________________________________
refpolicy mailing list
refpolicy at oss.tresys.com
http://oss.tresys.com/mailman/listinfo/refpolicy

Signature · 3 lines
Chris PeBenito
Tresys Technology, LLC
(410) 290-1411 x150