Move kernel_stream_connect() declaration.
This commit is contained in:
parent
07c2944493
commit
2dfd2b93a9
|
@ -252,6 +252,25 @@ interface(`kernel_rw_pipes',`
|
||||||
allow $1 kernel_t:fifo_file { read write };
|
allow $1 kernel_t:fifo_file { read write };
|
||||||
')
|
')
|
||||||
|
|
||||||
|
########################################
|
||||||
|
## <summary>
|
||||||
|
## Connect to kernel using a unix
|
||||||
|
## domain stream socket.
|
||||||
|
## </summary>
|
||||||
|
## <param name="domain">
|
||||||
|
## <summary>
|
||||||
|
## Domain allowed access.
|
||||||
|
## </summary>
|
||||||
|
## </param>
|
||||||
|
#
|
||||||
|
interface(`kernel_stream_connect',`
|
||||||
|
gen_require(`
|
||||||
|
type kernel_t;
|
||||||
|
')
|
||||||
|
|
||||||
|
allow $1 kernel_t:unix_stream_socket connectto;
|
||||||
|
')
|
||||||
|
|
||||||
########################################
|
########################################
|
||||||
## <summary>
|
## <summary>
|
||||||
## Read and write kernel unix datagram sockets.
|
## Read and write kernel unix datagram sockets.
|
||||||
|
@ -563,25 +582,6 @@ interface(`kernel_dontaudit_request_load_module',`
|
||||||
dontaudit $1 kernel_t:system module_request;
|
dontaudit $1 kernel_t:system module_request;
|
||||||
')
|
')
|
||||||
|
|
||||||
########################################
|
|
||||||
## <summary>
|
|
||||||
## Connect to kernel using a unix
|
|
||||||
## domain stream socket.
|
|
||||||
## </summary>
|
|
||||||
## <param name="domain">
|
|
||||||
## <summary>
|
|
||||||
## Domain allowed access.
|
|
||||||
## </summary>
|
|
||||||
## </param>
|
|
||||||
#
|
|
||||||
interface(`kernel_stream_connect',`
|
|
||||||
gen_require(`
|
|
||||||
type kernel_t;
|
|
||||||
')
|
|
||||||
|
|
||||||
allow $1 kernel_t:unix_stream_socket connectto;
|
|
||||||
')
|
|
||||||
|
|
||||||
########################################
|
########################################
|
||||||
## <summary>
|
## <summary>
|
||||||
## Get information on all System V IPC objects.
|
## Get information on all System V IPC objects.
|
||||||
|
|
Loading…
Reference in New Issue