Skip to contentSkip to conversation

Two insignificant fixes that i stumbled on when merging dev_getattr_fs()

PATCH New Dominick Grift 2 participants 2 messages Oct 8, 2010 – Oct 11, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Two insignificant fixes that i stumbled on when merging dev_getattr_fs()

---
: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(-)
policy/modules/admin/sudo.if +1 -1
index 1eae156..975af1a 100644
@@ -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)
policy/modules/kernel/devices.if +1 -1
index 7788c8e..99482ca 100644
@@ -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>
Signature · 9 lines
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 
#1 lore raw

PATCH 1/1 Two insignificant fixes that i stumbled on when merging dev_getattr_fs()

Quoted 26 lines · Dominick Grift

---
: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(-)
policy/modules/admin/sudo.if +1 -1
index 1eae156..975af1a 100644
@@ -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)
policy/modules/kernel/devices.if +0 -0
index 7788c8e..99482ca 100644

policy/modules/kernel/devices.if interface(`dev_associate',` · line 100

Quoted 8 lines
policy/modules/kernel/devices.if +1 -1
@@ -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>

Merged.

Signature · 3 lines
Chris PeBenito
Tresys Technology, LLC
www.tresys.com | oss.tresys.com