blob: e76bee6e048ab1282f906b0ba956421aab5c5bed [file] [log] [blame]
maxwenbf33b372015-03-30 02:13:25 +02001###########################
2# OmniROM common sepolicy
3#
4
maxwen160f0db2015-01-06 02:04:50 +01005type sysinit, domain;
6type sysinit_exec, exec_type, file_type;
7
8init_daemon_domain(sysinit)
9
maxwenbf33b372015-03-30 02:13:25 +020010allow sysinit devpts:chr_file rw_file_perms;
11allow sysinit shell_exec:file rx_file_perms;
12allow sysinit system_file:file rx_file_perms;
Philipp Vogelb833c182016-12-13 21:49:42 +010013allow sysinit system_file:dir { read open };
maxwenbf33b372015-03-30 02:13:25 +020014allow sysinit self:process { setcurrent setsched };
15allow sysinit userinit_exec:file { rx_file_perms };
Philipp Vogelb833c182016-12-13 21:49:42 +010016allow sysinit rootfs:lnk_file getattr;