2010-10-08 20:40:58

by domg472

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

Signed-off-by: Dominick Grift <[email protected]>
---
: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


2010-10-11 14:33:24

by cpebenito

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

On 10/08/10 16:40, Dominick Grift wrote:
> Signed-off-by: Dominick Grift<[email protected]>
> ---
> :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>

Merged.

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