All of lore.kernel.org
 help / color / mirror / Atom feed
* [refpolicy] [PATCH] cups: descend "rw" directories when reading configuration files
@ 2016-11-25 22:14 Guido Trentalancia
  2016-11-29  2:00 ` Chris PeBenito
  0 siblings, 1 reply; 2+ messages in thread
From: Guido Trentalancia @ 2016-11-25 22:14 UTC (permalink / raw)
  To: refpolicy

When reading CUPS configuration files under /etc, let the caller
search (i.e. descend into) "rw" directories (such as "ppd").
 
Signed-off-by: Guido Trentalancia <guido@trentalancia.net>
---
 policy/modules/contrib/cups.if |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

--- refpolicy-git/policy/modules/contrib/cups.if	2016-08-14 21:28:11.473519282 +0200
+++ refpolicy-git-06082016/policy/modules/contrib/cups.if	2016-11-25 23:04:48.948269455 +0100
@@ -203,7 +203,7 @@ interface(`cups_read_config',`
 	')
 
 	files_search_etc($1)
-	read_files_pattern($1, cupsd_etc_t, { cupsd_etc_t cupsd_rw_etc_t })
+	read_files_pattern($1, { cupsd_etc_t cupsd_rw_etc_t }, { cupsd_etc_t cupsd_rw_etc_t })
 ')
 
 ########################################
@@ -223,7 +223,7 @@ interface(`cups_read_rw_config',`
 	')
 
 	files_search_etc($1)
-	read_files_pattern($1, cupsd_etc_t, cupsd_rw_etc_t)
+	read_files_pattern($1, { cupsd_etc_t cupsd_rw_etc_t }, cupsd_rw_etc_t)
 ')
 
 ########################################

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

* [refpolicy] [PATCH] cups: descend "rw" directories when reading configuration files
  2016-11-25 22:14 [refpolicy] [PATCH] cups: descend "rw" directories when reading configuration files Guido Trentalancia
@ 2016-11-29  2:00 ` Chris PeBenito
  0 siblings, 0 replies; 2+ messages in thread
From: Chris PeBenito @ 2016-11-29  2:00 UTC (permalink / raw)
  To: refpolicy

On 11/25/16 17:14, Guido Trentalancia via refpolicy wrote:
> When reading CUPS configuration files under /etc, let the caller
> search (i.e. descend into) "rw" directories (such as "ppd").
>
> Signed-off-by: Guido Trentalancia <guido@trentalancia.net>
> ---
>  policy/modules/contrib/cups.if |    4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> --- refpolicy-git/policy/modules/contrib/cups.if	2016-08-14 21:28:11.473519282 +0200
> +++ refpolicy-git-06082016/policy/modules/contrib/cups.if	2016-11-25 23:04:48.948269455 +0100
> @@ -203,7 +203,7 @@ interface(`cups_read_config',`
>  	')
>
>  	files_search_etc($1)
> -	read_files_pattern($1, cupsd_etc_t, { cupsd_etc_t cupsd_rw_etc_t })
> +	read_files_pattern($1, { cupsd_etc_t cupsd_rw_etc_t }, { cupsd_etc_t cupsd_rw_etc_t })
>  ')
>
>  ########################################
> @@ -223,7 +223,7 @@ interface(`cups_read_rw_config',`
>  	')
>
>  	files_search_etc($1)
> -	read_files_pattern($1, cupsd_etc_t, cupsd_rw_etc_t)
> +	read_files_pattern($1, { cupsd_etc_t cupsd_rw_etc_t }, cupsd_rw_etc_t)
>  ')
>
>  ########################################

Merged.

-- 
Chris PeBenito

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

end of thread, other threads:[~2016-11-29  2:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-11-25 22:14 [refpolicy] [PATCH] cups: descend "rw" directories when reading configuration files Guido Trentalancia
2016-11-29  2:00 ` Chris 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.