blob: 4d8db0c946964ff41251de442e45c691d80abedb [file] [log] [blame]
Inseob Kimff43be22021-06-07 16:56:56 +09001type linkerconfig, domain, coredomain;
2type linkerconfig_exec, exec_type, file_type, system_file_type;
3
4init_daemon_domain(linkerconfig)
5
6## Read and write linkerconfig subdirectory.
7allow linkerconfig linkerconfig_file:dir create_dir_perms;
8allow linkerconfig linkerconfig_file:file create_file_perms;
9
10# Allow linkerconfig to log to the kernel.
11allow linkerconfig kmsg_device:chr_file w_file_perms;
12
13# Allow linkerconfig to be invoked with logwrapper from init.
14allow linkerconfig devpts:chr_file { read write };
15
16# Allow linkerconfig to scan for apex modules
17allow linkerconfig apex_mnt_dir:dir r_dir_perms;
18
19# Allow linkerconfig to read apex-info-list.xml
20allow linkerconfig apex_info_file:file r_file_perms;
21