summaryrefslogtreecommitdiff
path: root/sepolicy/private/init_elabel.te
blob: 4934d241946c930a8547ce1f1239bccbde169b24 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# /system/bin/init.elabel.sh
#
# write data from /persist/elabel to /data/misc/elabel for use by
# settings app
#
init_daemon_domain(init_elabel)

allow init_elabel shell_exec:file rx_file_perms;
allow init_elabel toolbox_exec:file rx_file_perms;

allow init_elabel elabel_data_file:dir rw_dir_perms;
allow init_elabel elabel_data_file:file create_file_perms;