##
## Usbguard enforces the USB device authorization policy for all USB
## devices.
##
#####################################
##
## Connect to usbguard with a unix domain stream socket.
##
##
##
## Domain allowed access.
##
##
#
interface(`usbguard_stream_connect',`
gen_require(`
type usbguard_t, usbguard_tmpfs_t;
')
files_search_pids($1)
stream_connect_pattern($1, usbguard_tmpfs_t, usbguard_tmpfs_t, usbguard_t)
')