2015-05-06 10:51:36

by Laurent Bigonville

[permalink] [raw]
Subject: [refpolicy] [PATCH v2] Add fc for /sys/kernel/debug as debugfs_t

From: Laurent Bigonville <[email protected]>

---
policy/modules/kernel/kernel.fc | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/policy/modules/kernel/kernel.fc b/policy/modules/kernel/kernel.fc
index 7be4ddf..5000ce2 100644
--- a/policy/modules/kernel/kernel.fc
+++ b/policy/modules/kernel/kernel.fc
@@ -1 +1,2 @@
-# This module currently does not have any file contexts.
+/sys/kernel/debug -d gen_context(system_u:object_r:debugfs_t,s0)
+/sys/kernel/debug/.* <<none>>
--
2.1.4


2015-05-06 14:04:26

by cpebenito

[permalink] [raw]
Subject: [refpolicy] [PATCH v2] Add fc for /sys/kernel/debug as debugfs_t

On 5/6/2015 6:51 AM, Laurent Bigonville wrote:
> From: Laurent Bigonville <[email protected]>
>
> ---
> policy/modules/kernel/kernel.fc | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/policy/modules/kernel/kernel.fc b/policy/modules/kernel/kernel.fc
> index 7be4ddf..5000ce2 100644
> --- a/policy/modules/kernel/kernel.fc
> +++ b/policy/modules/kernel/kernel.fc
> @@ -1 +1,2 @@
> -# This module currently does not have any file contexts.
> +/sys/kernel/debug -d gen_context(system_u:object_r:debugfs_t,s0)
> +/sys/kernel/debug/.* <<none>>


Merged.

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