[Detail] New sepolicy path declared and also support legacy android. MTK-Commit-Id: 8982268bbef8f852c153428f1a5f83849953c7c2 Change-Id: Ic10f297a312ff2e89e44a0aa323ffa11bc78ff6e CR-Id: ALPS04767749 Feature: [Android Default] SELinux, SEAndroid, and SE-MTK
16 lines
503 B
Plaintext
16 lines
503 B
Plaintext
# ==============================================
|
|
# MTK Policy Rule
|
|
# ==============================================
|
|
|
|
# Date : WK16.33
|
|
# Purpose: Allow to access ged for gralloc_extra functions
|
|
allow zygote proc_ged:file rw_file_perms;
|
|
|
|
# Date : WK17.02
|
|
# Purpose: Allow to access gpu for memtrack functions
|
|
allow zygote gpu_device:dir search;
|
|
allow zygote gpu_device:chr_file { open read write ioctl getattr};
|
|
|
|
allow zygote proc_bootprof:file rw_file_perms;
|
|
allow zygote proc_uptime:file rw_file_perms;
|