aboutsummaryrefslogtreecommitdiff
blob: 34d430ea9344f39ef04c3bda5a5ef113b0f8929d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
policy_module(modemmanager, 1.1.0)

########################################
#
# Declarations
#

type modemmanager_t;
type modemmanager_exec_t;
dbus_system_domain(modemmanager_t, modemmanager_exec_t)
typealias modemmanager_t alias ModemManager_t;
typealias modemmanager_exec_t alias ModemManager_exec_t;

########################################
#
# ModemManager local policy
#

allow modemmanager_t self:process signal;
allow modemmanager_t self:fifo_file rw_file_perms;
allow modemmanager_t self:unix_stream_socket create_stream_socket_perms;
allow modemmanager_t self:netlink_kobject_uevent_socket create_socket_perms;

kernel_read_system_state(modemmanager_t)

dev_read_sysfs(modemmanager_t)
dev_rw_modem(modemmanager_t)

files_read_etc_files(modemmanager_t)

term_use_unallocated_ttys(modemmanager_t)

miscfiles_read_localization(modemmanager_t)

logging_send_syslog_msg(modemmanager_t)

optional_policy(`
	networkmanager_dbus_chat(modemmanager_t)
')

optional_policy(`
	udev_read_db(modemmanager_t)
')