selinux-refpolicy/policy/modules/admin/usbguard.if
Chris PeBenito 0992763548 Update callers for "pid" to "runtime" interface rename.
Signed-off-by: Chris PeBenito <pebenito@ieee.org>
2020-06-28 16:03:45 -04:00

24 lines
523 B
Plaintext

## <summary>
## Usbguard enforces the USB device authorization policy for all USB
## devices.
## </summary>
#####################################
## <summary>
## Connect to usbguard with a unix domain stream socket.
## </summary>
## <param name="domain">
## <summary>
## Domain allowed access.
## </summary>
## </param>
#
interface(`usbguard_stream_connect',`
gen_require(`
type usbguard_t, usbguard_tmpfs_t;
')
files_search_runtime($1)
stream_connect_pattern($1, usbguard_tmpfs_t, usbguard_tmpfs_t, usbguard_t)
')