Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 20 additions & 1 deletion selinux/tabrmd.if
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

########################################
## <summary>
## Create and use a unix stream socket
## Create a tabrmd unix stream socket
## </summary>
## <param name="domain">
## <summary>
Expand All @@ -18,6 +18,25 @@ interface(`tabrmd_create_unix_stream_sockets',`
allow $1 tabrmd_t:unix_stream_socket create_stream_socket_perms;
')

########################################
## <summary>
## Read and write to
## tabrmd unix stream sockets
## </summary>
## <param name="domain">
## <summary>
## Domain allowed access.
## </summary>
## </param>
#
interface(`tabrmd_rw_unix_stream_sockets',`
gen_require(`
type tabrmd_t;
')

allow $1 tabrmd_t:unix_stream_socket rw_socket_perms;
')

########################################
## <summary>
## Send messages to and from
Expand Down