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 2/3] Properly label the manpages installed by postgresql
Date: Fri, 11 Apr 2014 09:40:06 -0400	[thread overview]
Message-ID: <5347F0B6.3090707@tresys.com> (raw)
In-Reply-To: <1396720883-6183-2-git-send-email-bigon@debian.org>

On 04/05/2014 02:01 PM, Laurent Bigonville wrote:
> From: Laurent Bigonville <bigon@bigon.be>
> 
> The postgresql manpages are installed under a private directory, some of
> them are symlinked to the usual location.
> 
> Properly labeling them ensure that mandb can read them.
> 
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=740591
> ---
>  policy/modules/system/miscfiles.fc | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/policy/modules/system/miscfiles.fc b/policy/modules/system/miscfiles.fc
> index 9fe8e01..b862663 100644
> --- a/policy/modules/system/miscfiles.fc
> +++ b/policy/modules/system/miscfiles.fc
> @@ -50,6 +50,7 @@ ifdef(`distro_redhat',`
>  /usr/share/ghostscript/fonts(/.*)? gen_context(system_u:object_r:fonts_t,s0)
>  /usr/share/locale(/.*)?		gen_context(system_u:object_r:locale_t,s0)
>  /usr/share/man(/.*)?		gen_context(system_u:object_r:man_t,s0)
> +/usr/share/postgresql/[^/]*/man(/.*)?      gen_context(system_u:object_r:man_t,s0)
>  /usr/share/X11/locale(/.*)?	gen_context(system_u:object_r:locale_t,s0)
>  /usr/share/zoneinfo(/.*)?	gen_context(system_u:object_r:locale_t,s0)
  
Merged. 


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

  reply	other threads:[~2014-04-11 13:40 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-05 18:01 [refpolicy] [PATCH 1/3] Add telepathy role for user_r and staff_r Laurent Bigonville
2014-04-05 18:01 ` [refpolicy] [PATCH 2/3] Properly label the manpages installed by postgresql Laurent Bigonville
2014-04-11 13:40   ` Christopher J. PeBenito [this message]
2014-04-05 18:01 ` [refpolicy] [PATCH 3/3] Label /usr/local/share/ca-certificates(/.*)? as cert_t Laurent Bigonville
2014-04-11 13:40   ` Christopher J. PeBenito
2014-04-11 13:40 ` [refpolicy] [PATCH 1/3] Add telepathy role for user_r and staff_r Christopher J. PeBenito

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=5347F0B6.3090707@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.