init: add init_rw_inherited_stream_socket
This commit is contained in:
parent
519cada9f1
commit
288bc8471c
|
@ -889,6 +889,24 @@ interface(`init_dgram_send',`
|
|||
allow $1 init_t:unix_stream_socket getattr;
|
||||
')
|
||||
|
||||
########################################
|
||||
## <summary>
|
||||
## Read and write to inherited init unix streams.
|
||||
## </summary>
|
||||
## <param name="domain">
|
||||
## <summary>
|
||||
## Domain allowed access.
|
||||
## </summary>
|
||||
## </param>
|
||||
#
|
||||
interface(`init_rw_inherited_stream_socket',`
|
||||
gen_require(`
|
||||
type init_t;
|
||||
')
|
||||
|
||||
allow $1 init_t:unix_stream_socket { getattr read write ioctl };
|
||||
')
|
||||
|
||||
########################################
|
||||
## <summary>
|
||||
## Allow the specified domain to read/write to
|
||||
|
|
Loading…
Reference in New Issue