2011-02-14 20:24:16

by domg472

[permalink] [raw]
Subject: [refpolicy] [ udev patch 1/1] This is not a single file but a directory.

The -- causes /dev/.udev to be labelled device_t instead of udev_tbl_t.

Signed-off-by: Dominick Grift <[email protected]>
---
:100644 100644 0291685... d1c22f3... M policy/modules/system/udev.fc
policy/modules/system/udev.fc | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/policy/modules/system/udev.fc b/policy/modules/system/udev.fc
index 0291685..d1c22f3 100644
--- a/policy/modules/system/udev.fc
+++ b/policy/modules/system/udev.fc
@@ -1,4 +1,4 @@
-/dev/\.udev(/.*)? -- gen_context(system_u:object_r:udev_tbl_t,s0)
+/dev/\.udev(/.*)? gen_context(system_u:object_r:udev_tbl_t,s0)
/dev/\.udevdb -- gen_context(system_u:object_r:udev_tbl_t,s0)
/dev/udev\.tbl -- gen_context(system_u:object_r:udev_tbl_t,s0)

--
1.7.4

-------------- 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/20110214/edc7bf44/attachment.bin


2011-02-16 14:57:49

by cpebenito

[permalink] [raw]
Subject: [refpolicy] [ udev patch 1/1] This is not a single file but a directory.

On 02/14/11 15:24, Dominick Grift wrote:
> The -- causes /dev/.udev to be labelled device_t instead of udev_tbl_t.

Merged.

> Signed-off-by: Dominick Grift <[email protected]>
> ---
> :100644 100644 0291685... d1c22f3... M policy/modules/system/udev.fc
> policy/modules/system/udev.fc | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/policy/modules/system/udev.fc b/policy/modules/system/udev.fc
> index 0291685..d1c22f3 100644
> --- a/policy/modules/system/udev.fc
> +++ b/policy/modules/system/udev.fc
> @@ -1,4 +1,4 @@
> -/dev/\.udev(/.*)? -- gen_context(system_u:object_r:udev_tbl_t,s0)
> +/dev/\.udev(/.*)? gen_context(system_u:object_r:udev_tbl_t,s0)
> /dev/\.udevdb -- gen_context(system_u:object_r:udev_tbl_t,s0)
> /dev/udev\.tbl -- gen_context(system_u:object_r:udev_tbl_t,s0)

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