Oreon-Lime-R2/selinux-policy/selinux-policy-d9f4a2b/selinux-policy-d9f4a2bbeb91fd95d0c35a90936efb9ea99d2455/policy/modules/contrib/usbmodules.te

41 lines
742 B
Text
Raw Permalink Normal View History

policy_module(usbmodules, 1.3.0)
########################################
#
# Declarations
#
attribute_role usbmodules_roles;
type usbmodules_t;
type usbmodules_exec_t;
init_system_domain(usbmodules_t, usbmodules_exec_t)
role usbmodules_roles types usbmodules_t;
########################################
#
# Local policy
#
kernel_list_proc(usbmodules_t)
files_list_kernel_modules(usbmodules_t)
dev_list_usbfs(usbmodules_t)
dev_rw_usbfs(usbmodules_t)
term_read_console(usbmodules_t)
term_write_console(usbmodules_t)
init_use_fds(usbmodules_t)
logging_send_syslog_msg(usbmodules_t)
miscfiles_read_hwdata(usbmodules_t)
userdom_use_inherited_user_terminals(usbmodules_t)
optional_policy(`
modutils_read_module_deps(usbmodules_t)
')