sepolicy: basic: non_plat: Rename sysfs_gpu to sysfs_gpu_mtk
* A duplicate type is already defined in AOSP sepolicy. Signed-off-by: bengris32 <bengris32@protonmail.ch> Change-Id: I8721e4556aaabd1202a5b3c6b8bd44b6ce95ca43
This commit is contained in:
parent
13193b0c71
commit
a17351d505
@ -20,4 +20,4 @@ allow {
|
|||||||
allow {
|
allow {
|
||||||
domain
|
domain
|
||||||
-isolated_app
|
-isolated_app
|
||||||
} sysfs_gpu:file r_file_perms;
|
} sysfs_gpu_mtk:file r_file_perms;
|
||||||
|
@ -210,7 +210,7 @@ type sysfs_chg2_present, fs_type, sysfs_type;
|
|||||||
|
|
||||||
# Date : 2018/10/25
|
# Date : 2018/10/25
|
||||||
# Purpose : mtk GPU drvb permission setting
|
# Purpose : mtk GPU drvb permission setting
|
||||||
type sysfs_gpu, fs_type, sysfs_type, mlstrustedobject;
|
type sysfs_gpu_mtk, fs_type, sysfs_type, mlstrustedobject;
|
||||||
|
|
||||||
# Touch parameters file
|
# Touch parameters file
|
||||||
type sysfs_tpd_setting, fs_type, sysfs_type;
|
type sysfs_tpd_setting, fs_type, sysfs_type;
|
||||||
|
@ -613,9 +613,9 @@ genfscon sysfs /devices/platform/soc/1f000000.mdp/wakeup/wakeup2/event_count
|
|||||||
genfscon sysfs /devices/platform/soc/1f000000.mdp/wakeup/wakeup2 u:object_r:sysfs_wakeup:s0
|
genfscon sysfs /devices/platform/soc/1f000000.mdp/wakeup/wakeup2 u:object_r:sysfs_wakeup:s0
|
||||||
|
|
||||||
# allow gpu to set dbg
|
# allow gpu to set dbg
|
||||||
genfscon sysfs /disp/dbg1 u:object_r:sysfs_gpu:s0
|
genfscon sysfs /disp/dbg1 u:object_r:sysfs_gpu_mtk:s0
|
||||||
genfscon sysfs /disp/dbg2 u:object_r:sysfs_gpu:s0
|
genfscon sysfs /disp/dbg2 u:object_r:sysfs_gpu_mtk:s0
|
||||||
genfscon sysfs /disp/dbg3 u:object_r:sysfs_gpu:s0
|
genfscon sysfs /disp/dbg3 u:object_r:sysfs_gpu_mtk:s0
|
||||||
|
|
||||||
# Purpose: Add permission for /sys/devices/platform/bootdevice/host0/target0:0:0/0:0:0:0/vpd_pg80
|
# Purpose: Add permission for /sys/devices/platform/bootdevice/host0/target0:0:0/0:0:0:0/vpd_pg80
|
||||||
genfscon sysfs /devices/platform/bootdevice/host0/target0:0:0/0:0:0:0/vpd_pg80 u:object_r:sysfs_vpd:s0
|
genfscon sysfs /devices/platform/bootdevice/host0/target0:0:0/0:0:0:0/vpd_pg80 u:object_r:sysfs_vpd:s0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user