Chris PeBenito c141d8
Chris PeBenito c141d8
policy_module(modemmanager, 1.0.0)
Chris PeBenito c141d8
Chris PeBenito c141d8
########################################
Chris PeBenito c141d8
#
Chris PeBenito c141d8
# Declarations
Chris PeBenito c141d8
#
Chris PeBenito c141d8
Chris PeBenito c141d8
type modemmanager_t;
Chris PeBenito c141d8
type modemmanager_exec_t;
Chris PeBenito c141d8
dbus_system_domain(modemmanager_t, modemmanager_exec_t)
Chris PeBenito c141d8
typealias modemmanager_t alias ModemManager_t;
Chris PeBenito c141d8
typealias modemmanager_exec_t alias ModemManager_exec_t;
Chris PeBenito c141d8
Chris PeBenito c141d8
########################################
Chris PeBenito c141d8
#
Chris PeBenito c141d8
# ModemManager local policy
Chris PeBenito c141d8
#
Chris PeBenito c141d8
Chris PeBenito c141d8
allow modemmanager_t self:fifo_file rw_file_perms;
Chris PeBenito c141d8
allow modemmanager_t self:unix_stream_socket create_stream_socket_perms;
Chris PeBenito c141d8
allow modemmanager_t self:netlink_kobject_uevent_socket create_socket_perms;
Chris PeBenito c141d8
Chris PeBenito c141d8
kernel_read_system_state(modemmanager_t)
Chris PeBenito c141d8
Chris PeBenito c141d8
dev_read_sysfs(modemmanager_t)
Chris PeBenito c141d8
Chris PeBenito c141d8
files_read_etc_files(modemmanager_t)
Chris PeBenito c141d8
Chris PeBenito c141d8
term_use_unallocated_ttys(modemmanager_t)
Chris PeBenito c141d8
Chris PeBenito c141d8
miscfiles_read_localization(modemmanager_t)
Chris PeBenito c141d8
Chris PeBenito c141d8
logging_send_syslog_msg(modemmanager_t)
Chris PeBenito c141d8
Chris PeBenito c141d8
networkmanager_dbus_chat(modemmanager_t)
Chris PeBenito c141d8
Chris PeBenito c141d8
optional_policy(`
Chris PeBenito c141d8
	udev_read_db(modemmanager_t)
Chris PeBenito c141d8
')