[ALPS04714861] dumpstate: add selinux policy
1.relabel mmcblk1 to sysfs_devices_block in sysfs 2.allow dumpstate access sysfs_devices_block MTK-Commit-Id: 359f985388d45abc8b47a95ef71fccf72259ee35 Change-Id: I1e83b8f6f6bdba20965b7f976f9589363d28c48d CR-Id: ALPS04714861 Feature: Android Exception Engine(AEE)
This commit is contained in:
parent
53d88ba13c
commit
943a2db478
@ -162,7 +162,7 @@ allow dumpstate mnt_media_rw_file:dir getattr;
|
|||||||
|
|
||||||
# Date: 19/07/15
|
# Date: 19/07/15
|
||||||
# Purpose: fix google dumpstate avc error in xTs
|
# Purpose: fix google dumpstate avc error in xTs
|
||||||
allow dumpstate sysfs_mmcblk1:file r_file_perms;
|
allow dumpstate sysfs_devices_block:file r_file_perms;
|
||||||
allow dumpstate proc_last_kmsg:file r_file_perms;
|
allow dumpstate proc_last_kmsg:file r_file_perms;
|
||||||
|
|
||||||
# Date: 19/07/15
|
# Date: 19/07/15
|
||||||
|
@ -150,4 +150,4 @@ genfscon sysfs /devices/platform/bootdevice/host0/target0:0:0/0:0:0:2/block/sdc
|
|||||||
|
|
||||||
# Date : 2019/07/12
|
# Date : 2019/07/12
|
||||||
# Purpose:dumpstate mmcblk1 access
|
# Purpose:dumpstate mmcblk1 access
|
||||||
genfscon sysfs /devices/platform/externdevice/mmc_host/mmc1 u:object_r:sysfs_mmcblk1:s0
|
genfscon sysfs /devices/platform/externdevice/mmc_host/mmc1 u:object_r:sysfs_devices_block:s0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user