gps: add sepolicy to coredump node am: 1ee114f4d7
Original change: https://googleplex-android-review.googlesource.com/c/device/google/akita-sepolicy/+/24918561 Change-Id: Id9c4b2ad71d998d96e46b7d0b459241b2f22b98c Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
d42a620d41
3 changed files with 5 additions and 1 deletions
1
vendor/file.te
vendored
1
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/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
|
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
|
# modem state
|
||||||
genfscon sysfs /devices/platform/cpif/modem_state u:object_r:sysfs_modem_state:s0
|
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)
|
get_prop(gnssd, bootanim_system_prop)
|
||||||
|
|
||||||
allow gnssd sysfs_soc:file r_file_perms;
|
allow gnssd sysfs_soc:file r_file_perms;
|
||||||
|
allow gnssd sysfs_gps:file rw_file_perms;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue