aboutsummaryrefslogtreecommitdiff
path: root/sepolicy/init.te
blob: dacc58a33d142b8493f881c11b56d2dfca14b0ef (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
allow init ccci_device:chr_file { write ioctl };
allow init devpts:chr_file ioctl;

# Allow init to format formattable partitions…partitions
allow init nvdata_device:blk_file write;
allow init protect1_device:blk_file write;
allow init protect2_device:blk_file write;

allow init socket_device:sock_file { create setattr unlink };

allow init perf_control_sysfs:file getattr;

allow init tmpfs:lnk_file { create unlink };

allow init wmtWifi_device:chr_file write;

# Certain domains needs LD_PRELOAD passed from init
# allow it for most domain. Do not honor LD_PRELOAD
# for lmkd
allow init { domain -lmkd }:process noatsecure;