blob: 01a9fbf2a9a1a6574592bad25c1ecef753a4aaac [file] [log] [blame]
Kiyoung Kimaffa6f32019-07-08 19:02:05 +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 rw_dir_perms;
8allow linkerconfig linkerconfig_file:file create_file_perms;
9
Kiyoung Kim2d5f2e22019-07-23 13:41:19 +090010# Allow linkerconfig to log to the kernel.
11allow linkerconfig kmsg_device:chr_file w_file_perms;
12
Kiyoung Kimaffa6f32019-07-08 19:02:05 +090013neverallow { domain -init -linkerconfig } linkerconfig_exec:file no_x_file_perms;