Move kernel_stream_connect() declaration.

This commit is contained in:
Chris PeBenito 2012-10-19 09:18:19 -04:00
parent 07c2944493
commit 2dfd2b93a9
1 changed files with 19 additions and 19 deletions

View File

@ -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.