2006-12-12 20:08:08 +00:00
|
|
|
#
|
|
|
|
# unix domain socket patterns
|
|
|
|
#
|
|
|
|
define(`stream_connect_pattern',`
|
|
|
|
allow $1 $2:dir search_dir_perms;
|
2009-03-11 14:58:03 +00:00
|
|
|
allow $1 $3:sock_file write_sock_file_perms;
|
2006-12-12 20:08:08 +00:00
|
|
|
allow $1 $4:unix_stream_socket connectto;
|
|
|
|
')
|
|
|
|
|
|
|
|
define(`dgram_send_pattern',`
|
|
|
|
allow $1 $2:dir search_dir_perms;
|
2009-03-11 14:58:03 +00:00
|
|
|
allow $1 $3:sock_file write_sock_file_perms;
|
2006-12-12 20:08:08 +00:00
|
|
|
allow $1 $4:unix_dgram_socket sendto;
|
|
|
|
')
|