gps: add sepolicy to coredump node
Bug: 303343788 Test: b/303343788 verified the SIGABRT/SIGSEGV signal Change-Id: I5587f632d4cbd2d9210e37c08a19981fb9967a80
This commit is contained in:
3
vendor/file.te
vendored
3
vendor/file.te
vendored
@@ -1 +1,2 @@
|
||||
type sysfs_modem_state, sysfs_type, fs_type;
|
||||
type sysfs_modem_state, sysfs_type, fs_type;
|
||||
type sysfs_gps, sysfs_type, fs_type;
|
||||
|
||||
2
vendor/genfs_contexts
vendored
2
vendor/genfs_contexts
vendored
@@ -61,6 +61,8 @@ genfscon sysfs /devices/platform/10cb0000.hsi2c/i2c-7/7-0025/power_supply/tcpm-s
|
||||
genfscon sysfs /devices/platform/10cb0000.hsi2c/i2c-9/9-0025/power_supply/tcpm-source-psy-9-0025/wakeup u:object_r:sysfs_wakeup:s0
|
||||
|
||||
genfscon sysfs /devices/platform/gnssif/wakeup u:object_r:sysfs_wakeup:s0
|
||||
# gps coredump node
|
||||
genfscon sysfs /devices/platform/gnssif/coredump u:object_r:sysfs_gps:s0
|
||||
|
||||
# modem state
|
||||
genfscon sysfs /devices/platform/cpif/modem_state u:object_r:sysfs_modem_state:s0
|
||||
|
||||
1
vendor/gnssd.te
vendored
1
vendor/gnssd.te
vendored
@@ -24,3 +24,4 @@ net_domain(gnssd);
|
||||
get_prop(gnssd, bootanim_system_prop)
|
||||
|
||||
allow gnssd sysfs_soc:file r_file_perms;
|
||||
allow gnssd sysfs_gps:file rw_file_perms;
|
||||
|
||||
Reference in New Issue
Block a user