* [refpolicy] [PATCH 1/1] Allow mdadm to generate uevents (write to /sys/.../uevent) when raids are (dis)assembled
@ 2011-02-02 19:37 Sven Vermeulen
2011-02-14 14:01 ` Christopher J. PeBenito
0 siblings, 1 reply; 2+ messages in thread
From: Sven Vermeulen @ 2011-02-02 19:37 UTC (permalink / raw)
To: refpolicy
The mdadm application will write into /sys/.../uevent whenever arrays are
assembled or disassembled.
Signed-off-by: Sven Vermeulen <sven.vermeulen@siphos.be>
---
policy/modules/system/raid.te | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/policy/modules/system/raid.te b/policy/modules/system/raid.te
index 09845c4..e5e61c5 100644
--- a/policy/modules/system/raid.te
+++ b/policy/modules/system/raid.te
@@ -42,7 +42,7 @@ kernel_getattr_core_if(mdadm_t)
corecmd_exec_bin(mdadm_t)
corecmd_exec_shell(mdadm_t)
-dev_read_sysfs(mdadm_t)
+dev_rw_sysfs(mdadm_t)
# Ignore attempts to read every device file
dev_dontaudit_getattr_all_blk_files(mdadm_t)
dev_dontaudit_getattr_all_chr_files(mdadm_t)
--
1.7.3.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [refpolicy] [PATCH 1/1] Allow mdadm to generate uevents (write to /sys/.../uevent) when raids are (dis)assembled
2011-02-02 19:37 [refpolicy] [PATCH 1/1] Allow mdadm to generate uevents (write to /sys/.../uevent) when raids are (dis)assembled Sven Vermeulen
@ 2011-02-14 14:01 ` Christopher J. PeBenito
0 siblings, 0 replies; 2+ messages in thread
From: Christopher J. PeBenito @ 2011-02-14 14:01 UTC (permalink / raw)
To: refpolicy
On 2/2/2011 2:37 PM, Sven Vermeulen wrote:
> The mdadm application will write into /sys/.../uevent whenever arrays are
> assembled or disassembled.
Merged.
> Signed-off-by: Sven Vermeulen<sven.vermeulen@siphos.be>
> ---
> policy/modules/system/raid.te | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/policy/modules/system/raid.te b/policy/modules/system/raid.te
> index 09845c4..e5e61c5 100644
> --- a/policy/modules/system/raid.te
> +++ b/policy/modules/system/raid.te
> @@ -42,7 +42,7 @@ kernel_getattr_core_if(mdadm_t)
> corecmd_exec_bin(mdadm_t)
> corecmd_exec_shell(mdadm_t)
>
> -dev_read_sysfs(mdadm_t)
> +dev_rw_sysfs(mdadm_t)
> # Ignore attempts to read every device file
> dev_dontaudit_getattr_all_blk_files(mdadm_t)
> dev_dontaudit_getattr_all_chr_files(mdadm_t)
--
Chris PeBenito
Tresys Technology, LLC
www.tresys.com | oss.tresys.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-02-14 14:01 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-02 19:37 [refpolicy] [PATCH 1/1] Allow mdadm to generate uevents (write to /sys/.../uevent) when raids are (dis)assembled Sven Vermeulen
2011-02-14 14:01 ` Christopher J. PeBenito
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.