summaryrefslogtreecommitdiff
path: root/citadel/init_citadel.te
blob: 1459ef4a6e400d3bd922ff7f44b37a5d2dc6def9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
type init_citadel, domain;
type init_citadel_exec, exec_type, vendor_file_type, file_type;
type citadel_updater_exec, exec_type, vendor_file_type, file_type;

init_daemon_domain(init_citadel)

# Citadel communication must be via citadeld
vndbinder_use(init_citadel)
binder_call(init_citadel, citadeld)
allow init_citadel citadeld_service:service_manager find;

# Many standard utils are actually vendor_toolbox (like xxd)
allow init_citadel vendor_toolbox_exec:file rx_file_perms;

# init_citadel needs to invoke citadel_updater
allow init_citadel citadel_updater_exec:file rx_file_perms;
allow init_citadel citadel_device:chr_file rw_file_perms;