## USB multiplexing daemon for communicating with Apple iPod Touch and iPhone.
########################################
##
## Execute a domain transition to run usbmuxd.
##
##
##
## Domain allowed to transition.
##
##
#
interface(`usbmuxd_domtrans',`
gen_require(`
type usbmuxd_t, usbmuxd_exec_t;
')
corecmd_search_bin($1)
domtrans_pattern($1, usbmuxd_exec_t, usbmuxd_t)
')
#####################################
##
## Connect to usbmuxd with a unix
## domain stream socket.
##
##
##
## Domain allowed access.
##
##
#
interface(`usbmuxd_stream_connect',`
gen_require(`
type usbmuxd_t, usbmuxd_runtime_t;
')
files_search_runtime($1)
stream_connect_pattern($1, usbmuxd_runtime_t, usbmuxd_runtime_t, usbmuxd_t)
')