All of lore.kernel.org
 help / color / mirror / Atom feed
* [refpolicy] Add Open to sock_file patch
@ 2009-03-05 20:34 Daniel J Walsh
  2009-03-11 15:22 ` Christopher J. PeBenito
  0 siblings, 1 reply; 2+ messages in thread
From: Daniel J Walsh @ 2009-03-05 20:34 UTC (permalink / raw)
  To: refpolicy


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: flask_access_vectors.patch
Url: http://oss.tresys.com/pipermail/refpolicy/attachments/20090305/7bbc84de/attachment.pl 

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

* [refpolicy] Add Open to sock_file patch
  2009-03-05 20:34 [refpolicy] Add Open to sock_file patch Daniel J Walsh
@ 2009-03-11 15:22 ` Christopher J. PeBenito
  0 siblings, 0 replies; 2+ messages in thread
From: Christopher J. PeBenito @ 2009-03-11 15:22 UTC (permalink / raw)
  To: refpolicy

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

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

end of thread, other threads:[~2009-03-11 15:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-05 20:34 [refpolicy] Add Open to sock_file patch Daniel J Walsh
2009-03-11 15:22 ` 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.