All of lore.kernel.org
 help / color / mirror / Atom feed
* [refpolicy] [PATCH 10/10] For virtd
@ 2012-10-30 18:39 Dominick Grift
  2012-10-30 20:00 ` Christopher J. PeBenito
  0 siblings, 1 reply; 2+ messages in thread
From: Dominick Grift @ 2012-10-30 18:39 UTC (permalink / raw)
  To: refpolicy

Signed-off-by: Dominick Grift <dominick.grift@gmail.com>
---
 policy/modules/kernel/devices.if |   18 ++++++++++++++++++
 1 files changed, 18 insertions(+), 0 deletions(-)

diff --git a/policy/modules/kernel/devices.if b/policy/modules/kernel/devices.if
index e59415f..9b9c067 100644
--- a/policy/modules/kernel/devices.if
+++ b/policy/modules/kernel/devices.if
@@ -4167,6 +4167,24 @@ interface(`dev_read_generic_usb_dev',`
 
 ########################################
 ## <summary>
+##	Relabel generic the USB devices.
+## </summary>
+## <param name="domain">
+##	<summary>
+##	Domain allowed access.
+##	</summary>
+## </param>
+#
+interface(`dev_relabel_generic_usb_dev',`
+	gen_require(`
+		type usb_device_t;
+	')
+
+	relabel_chr_files_pattern($1, device_t, usb_device_t)
+')
+
+########################################
+## <summary>
 ##	Read and write generic the USB devices.
 ## </summary>
 ## <param name="domain">
-- 
1.7.7.6

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [refpolicy] [PATCH 10/10] For virtd
  2012-10-30 18:39 [refpolicy] [PATCH 10/10] For virtd Dominick Grift
@ 2012-10-30 20:00 ` Christopher J. PeBenito
  0 siblings, 0 replies; 2+ messages in thread
From: Christopher J. PeBenito @ 2012-10-30 20:00 UTC (permalink / raw)
  To: refpolicy

On 10/30/12 14:39, Dominick Grift wrote:
> Signed-off-by: Dominick Grift <dominick.grift@gmail.com>
> ---
>  policy/modules/kernel/devices.if |   18 ++++++++++++++++++
>  1 files changed, 18 insertions(+), 0 deletions(-)
> 
> diff --git a/policy/modules/kernel/devices.if b/policy/modules/kernel/devices.if
> index e59415f..9b9c067 100644
> --- a/policy/modules/kernel/devices.if
> +++ b/policy/modules/kernel/devices.if
> @@ -4167,6 +4167,24 @@ interface(`dev_read_generic_usb_dev',`
>  
>  ########################################
>  ## <summary>
> +##	Relabel generic the USB devices.
> +## </summary>
> +## <param name="domain">
> +##	<summary>
> +##	Domain allowed access.
> +##	</summary>
> +## </param>
> +#
> +interface(`dev_relabel_generic_usb_dev',`
> +	gen_require(`
> +		type usb_device_t;
> +	')
> +
> +	relabel_chr_files_pattern($1, device_t, usb_device_t)
> +')
> +
> +########################################
> +## <summary>
>  ##	Read and write generic the USB devices.
>  ## </summary>
>  ## <param name="domain">
 
Merged.

-- 
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:[~2012-10-30 20:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-30 18:39 [refpolicy] [PATCH 10/10] For virtd Dominick Grift
2012-10-30 20:00 ` 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.