All of lore.kernel.org
 help / color / mirror / Atom feed
From: cpebenito@tresys.com (Christopher J. PeBenito)
To: refpolicy@oss.tresys.com
Subject: [refpolicy] Add Open to sock_file patch
Date: Wed, 11 Mar 2009 11:22:40 -0400	[thread overview]
Message-ID: <1236784963.17032.257.camel@gorn> (raw)
In-Reply-To: <49B0376E.10306@redhat.com>

On Thu, 2009-03-05 at 15:34 -0500, Daniel J Walsh wrote:
> --- nsaserefpolicy/policy/flask/access_vectors  2009-03-05 10:02:34.000000000 -0500
> +++ serefpolicy-3.6.8/policy/flask/access_vectors       2009-03-05 15:26:58.000000000 -0500
> @@ -157,6 +157,9 @@
>  
>  class sock_file
>  inherits file
> +{
> +       open
> +}
>  
>  class fifo_file
>  inherits file
> --- nsaserefpolicy/policy/support/obj_perm_sets.spt     2008-10-16 17:21:16.000000000 -0400
> +++ serefpolicy-3.6.8/policy/support/obj_perm_sets.spt  2009-03-05 15:27:08.000000000 -0500
> @@ -252,13 +252,13 @@
>  #
>  define(`getattr_sock_file_perms',`{ getattr }')
>  define(`setattr_sock_file_perms',`{ setattr }')
> -define(`read_sock_file_perms',`{ getattr read }')
> -define(`write_sock_file_perms',`{ getattr write append }')
> -define(`rw_sock_file_perms',`{ getattr read write append }')
> -define(`create_sock_file_perms',`{ getattr create }')
> +define(`read_sock_file_perms',`{ getattr open read }')
> +define(`write_sock_file_perms',`{ getattr write open append }')
> +define(`rw_sock_file_perms',`{ getattr open read write append }')
> +define(`create_sock_file_perms',`{ getattr create open }')
>  define(`rename_sock_file_perms',`{ getattr rename }')
>  define(`delete_sock_file_perms',`{ getattr unlink }')
> -define(`manage_sock_file_perms',`{ create getattr setattr read write rename link unlink ioctl lock append }')
> +define(`manage_sock_file_perms',`{ create open getattr setattr read write rename link unlink ioctl lock append }')
>  define(`relabelfrom_sock_file_perms',`{ getattr relabelfrom }')
>  define(`relabelto_sock_file_perms',`{ getattr relabelto }')
>  define(`relabel_sock_file_perms',`{ getattr relabelfrom relabelto }')

Merged.

-- 
Chris PeBenito
Tresys Technology, LLC
(410) 290-1411 x150

      reply	other threads:[~2009-03-11 15:22 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-05 20:34 [refpolicy] Add Open to sock_file patch Daniel J Walsh
2009-03-11 15:22 ` 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=1236784963.17032.257.camel@gorn \
    --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.