All of lore.kernel.org
 help / color / mirror / Atom feed
* Pattern patch.  I believe this is a cut and paste error
@ 2007-08-02 19:24 Daniel J Walsh
  2007-08-02 19:33 ` Christopher J. PeBenito
  0 siblings, 1 reply; 2+ messages in thread
From: Daniel J Walsh @ 2007-08-02 19:24 UTC (permalink / raw)
  To: Christopher J. PeBenito, SE Linux

[-- Attachment #1: Type: text/plain, Size: 1 bytes --]



[-- Attachment #2: pattern.patch --]
[-- Type: text/x-patch, Size: 1814 bytes --]

--- nsaserefpolicy/policy/support/file_patterns.spt	2007-05-29 14:10:59.000000000 -0400
+++ serefpolicy-3.0.5/policy/support/file_patterns.spt	2007-08-02 11:02:03.000000000 -0400
@@ -310,47 +310,47 @@
 #
 define(`getattr_sock_files_pattern',`
 	allow $1 $2:dir search_dir_perms;
-	allow $1 $3:sock_file getattr_fifo_file_perms;
+	allow $1 $3:sock_file getattr_sock_file_perms;
 ')
 
 define(`setattr_sock_files_pattern',`
 	allow $1 $2:dir search_dir_perms;
-	allow $1 $3:sock_file setattr_fifo_file_perms;
+	allow $1 $3:sock_file setattr_sock_file_perms;
 ')
 
 define(`read_sock_files_pattern',`
 	allow $1 $2:dir search_dir_perms;
-	allow $1 $3:sock_file read_fifo_file_perms;
+	allow $1 $3:sock_file read_sock_file_perms;
 ')
 
 define(`write_sock_files_pattern',`
 	allow $1 $2:dir search_dir_perms;
-	allow $1 $3:sock_file write_fifo_file_perms;
+	allow $1 $3:sock_file write_sock_file_perms;
 ')
 
 define(`rw_sock_files_pattern',`
 	allow $1 $2:dir search_dir_perms;
-	allow $1 $3:sock_file rw_fifo_file_perms;
+	allow $1 $3:sock_file rw_sock_file_perms;
 ')
 
 define(`create_sock_files_pattern',`
 	allow $1 $2:dir add_entry_dir_perms;
-	allow $1 $3:sock_file create_fifo_file_perms;
+	allow $1 $3:sock_file create_sock_file_perms;
 ')
 
 define(`delete_sock_files_pattern',`
 	allow $1 $2:dir del_entry_dir_perms;
-	allow $1 $3:sock_file delete_fifo_file_perms;
+	allow $1 $3:sock_file delete_sock_file_perms;
 ')
 
 define(`rename_sock_files_pattern',`
 	allow $1 $2:dir rw_dir_perms;
-	allow $1 $3:sock_file rename_fifo_file_perms;
+	allow $1 $3:sock_file rename_sock_file_perms;
 ')
 
 define(`manage_sock_files_pattern',`
 	allow $1 $2:dir rw_dir_perms;
-	allow $1 $3:sock_file manage_fifo_file_perms;
+	allow $1 $3:sock_file manage_sock_file_perms;
 ')
 
 define(`relabelfrom_sock_files_pattern',`

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

* Re: Pattern patch.  I believe this is a cut and paste error
  2007-08-02 19:24 Pattern patch. I believe this is a cut and paste error Daniel J Walsh
@ 2007-08-02 19:33 ` Christopher J. PeBenito
  0 siblings, 0 replies; 2+ messages in thread
From: Christopher J. PeBenito @ 2007-08-02 19:33 UTC (permalink / raw)
  To: Daniel J Walsh; +Cc: SE Linux

On Thu, 2007-08-02 at 15:24 -0400, Daniel J Walsh wrote:
> --- nsaserefpolicy/policy/support/file_patterns.spt     2007-05-29 14:10:59.000000000 -0400
> +++ serefpolicy-3.0.5/policy/support/file_patterns.spt  2007-08-02 11:02:03.000000000 -0400
> @@ -310,47 +310,47 @@
>  #
>  define(`getattr_sock_files_pattern',`
>         allow $1 $2:dir search_dir_perms;
> -       allow $1 $3:sock_file getattr_fifo_file_perms;
> +       allow $1 $3:sock_file getattr_sock_file_perms;
>  ')

Just happened to fix this in trunk on Tuesday.

http://oss.tresys.com/projects/refpolicy/changeset/2383

>  define(`setattr_sock_files_pattern',`
>         allow $1 $2:dir search_dir_perms;
> -       allow $1 $3:sock_file setattr_fifo_file_perms;
> +       allow $1 $3:sock_file setattr_sock_file_perms;
>  ')
>  
>  define(`read_sock_files_pattern',`
>         allow $1 $2:dir search_dir_perms;
> -       allow $1 $3:sock_file read_fifo_file_perms;
> +       allow $1 $3:sock_file read_sock_file_perms;
>  ')
>  
>  define(`write_sock_files_pattern',`
>         allow $1 $2:dir search_dir_perms;
> -       allow $1 $3:sock_file write_fifo_file_perms;
> +       allow $1 $3:sock_file write_sock_file_perms;
>  ')
>  
>  define(`rw_sock_files_pattern',`
>         allow $1 $2:dir search_dir_perms;
> -       allow $1 $3:sock_file rw_fifo_file_perms;
> +       allow $1 $3:sock_file rw_sock_file_perms;
>  ')
>  
>  define(`create_sock_files_pattern',`
>         allow $1 $2:dir add_entry_dir_perms;
> -       allow $1 $3:sock_file create_fifo_file_perms;
> +       allow $1 $3:sock_file create_sock_file_perms;
>  ')
>  
>  define(`delete_sock_files_pattern',`
>         allow $1 $2:dir del_entry_dir_perms;
> -       allow $1 $3:sock_file delete_fifo_file_perms;
> +       allow $1 $3:sock_file delete_sock_file_perms;
>  ')
>  
>  define(`rename_sock_files_pattern',`
>         allow $1 $2:dir rw_dir_perms;
> -       allow $1 $3:sock_file rename_fifo_file_perms;
> +       allow $1 $3:sock_file rename_sock_file_perms;
>  ')
>  
>  define(`manage_sock_files_pattern',`
>         allow $1 $2:dir rw_dir_perms;
> -       allow $1 $3:sock_file manage_fifo_file_perms;
> +       allow $1 $3:sock_file manage_sock_file_perms;
>  ')
>  
>  define(`relabelfrom_sock_files_pattern',`
> 
-- 
Chris PeBenito
Tresys Technology, LLC
(410) 290-1411 x150


--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.

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

end of thread, other threads:[~2007-08-02 19:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-02 19:24 Pattern patch. I believe this is a cut and paste error Daniel J Walsh
2007-08-02 19:33 ` 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.