All of lore.kernel.org
 help / color / mirror / Atom feed
From: cpebenito@tresys.com (Christopher J. PeBenito)
To: refpolicy@oss.tresys.com
Subject: [refpolicy] [PATCH 1/2] pcscd.if: Permit access to pid files inside /var/run/pcscd/.
Date: Sat, 15 Feb 2014 15:37:04 -0500	[thread overview]
Message-ID: <52FFCFF0.1080308@tresys.com> (raw)
In-Reply-To: <1392406549-18426-1-git-send-email-aranea@aixah.de>

On 2/14/2014 2:35 PM, Luis Ressel wrote:
> Gentoo places pcscd's pid file in /var/run/pcscd/ instead of /var/run/,
> but pcscd_read_pid_files() doesn't grant enough permissions for this.
> ---
>  pcscd.if | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/pcscd.if b/pcscd.if
> index 43d50f9..7f77d32 100644
> --- a/pcscd.if
> +++ b/pcscd.if
> @@ -50,7 +50,7 @@ interface(`pcscd_read_pid_files',`
>  	')
>  
>  	files_search_pids($1)
> -	allow $1 pcscd_var_run_t:file read_file_perms;
> +	read_files_pattern($1, pcscd_var_run_t, pcscd_var_run_t)
>  ')
>  
>  ########################################
 
Merged.

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

      parent reply	other threads:[~2014-02-15 20:37 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-14 19:35 [refpolicy] [PATCH 1/2] pcscd.if: Permit access to pid files inside /var/run/pcscd/ Luis Ressel
2014-02-14 19:35 ` [refpolicy] [PATCH 2/2] Allow gpg-agent's scdaemon to connect to pcscd Luis Ressel
2014-02-15 20:36   ` Christopher J. PeBenito
2014-02-15 20:37 ` Christopher J. PeBenito [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=52FFCFF0.1080308@tresys.com \
    --to=cpebenito@tresys.com \
    --cc=refpolicy@oss.tresys.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.