[refpolicy] [ patch 1/1] Two insignificant fixes that i stumbled on when merging dev_getattr_fs()

Dominick Grift domg472 at gmail.com
Fri Oct 8 15:40:58 CDT 2010


Signed-off-by: Dominick Grift <domg472 at gmail.com>
---
:100644 100644 1eae156... 975af1a... M	policy/modules/admin/sudo.if
:100644 100644 7788c8e... 99482ca... M	policy/modules/kernel/devices.if
 policy/modules/admin/sudo.if     |    2 +-
 policy/modules/kernel/devices.if |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/policy/modules/admin/sudo.if b/policy/modules/admin/sudo.if
index 1eae156..975af1a 100644
--- a/policy/modules/admin/sudo.if
+++ b/policy/modules/admin/sudo.if
@@ -77,7 +77,7 @@ template(`sudo_role_template',`
 	corecmd_shell_domtrans($1_sudo_t, $3)
 	corecmd_bin_domtrans($1_sudo_t, $3)
 	allow $3 $1_sudo_t:fd use;
-	allow $3 $1_sudo_t:fifo_file rw_file_perms;
+	allow $3 $1_sudo_t:fifo_file rw_fifo_file_perms;
 	allow $3 $1_sudo_t:process signal_perms;
 
 	kernel_read_kernel_sysctls($1_sudo_t)
diff --git a/policy/modules/kernel/devices.if b/policy/modules/kernel/devices.if
index 7788c8e..99482ca 100644
--- a/policy/modules/kernel/devices.if
+++ b/policy/modules/kernel/devices.if
@@ -94,7 +94,7 @@ interface(`dev_associate',`
 ## <summary>
 ##	Get attributes of device filesystems.
 ## </summary>
-## <param name="file_type">
+## <param name="domain">
 ##	<summary>
 ##	Domain allowed access.
 ##	</summary>
-- 
1.7.2.3

-------------- 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/20101008/db93be18/attachment.bin 


More information about the refpolicy mailing list