Chris PeBenito 0fbfa5
#DESC Speedmgmt - Alcatel speedtouch USB ADSL modem
Chris PeBenito 0fbfa5
#
Chris PeBenito 0fbfa5
# Author:  Russell Coker <russell@coker.com.au>
Chris PeBenito 0fbfa5
#
Chris PeBenito 0fbfa5
Chris PeBenito 0fbfa5
#################################
Chris PeBenito 0fbfa5
#
Chris PeBenito 0fbfa5
# Rules for the speedmgmt_t domain.
Chris PeBenito 0fbfa5
#
Chris PeBenito 0fbfa5
# speedmgmt_exec_t is the type of the speedmgmt executable.
Chris PeBenito 0fbfa5
#
Chris PeBenito 0fbfa5
daemon_domain(speedmgmt)
Chris PeBenito 0fbfa5
tmp_domain(speedmgmt)
Chris PeBenito 0fbfa5
Chris PeBenito 0fbfa5
# for accessing USB
Chris PeBenito 0fbfa5
allow speedmgmt_t proc_t:dir r_dir_perms;
Chris PeBenito 0fbfa5
allow speedmgmt_t usbdevfs_t:file rw_file_perms;
Chris PeBenito 0fbfa5
allow speedmgmt_t usbdevfs_t:dir r_dir_perms;
Chris PeBenito 0fbfa5
Chris PeBenito 0fbfa5
allow speedmgmt_t usr_t:file r_file_perms;
Chris PeBenito 0fbfa5
Chris PeBenito 0fbfa5
allow speedmgmt_t self:unix_dgram_socket create_socket_perms;
Chris PeBenito 0fbfa5
Chris PeBenito 0fbfa5
# allow time
Chris PeBenito 0fbfa5
allow speedmgmt_t etc_t:dir r_dir_perms;
Chris PeBenito 0fbfa5
allow speedmgmt_t etc_t:lnk_file r_file_perms;