sepolicy: allow system_suspend to read gnss sysfs
avc: denied { read } for name="wakeup61" dev="sysfs" ino=65863 scontext=u:r:system_suspend:s0 tcontext=u:object_r:sysfs:s0 tclass=dir permissive=0 bug=b/288984031 Bug: 288984031 Test: capture a bug report and check there is no avc denial related to gnss Change-Id: Iab3e835ae1d3b874eb8acbe18278b5ba1d7cb126 Signed-off-by: Darren Hsu <darrenhsu@google.com>
This commit is contained in:
parent
560e733bec
commit
566095b9ae
2 changed files with 3 additions and 2 deletions
|
@ -7,5 +7,4 @@ gnssd sysfs_soc file b/288983920
|
|||
gnssd vendor_default_prop property_service b/288983920
|
||||
hal_gnss_default fwk_sensor_service service_manager b/288984267
|
||||
hal_gnss_default gnssd unix_stream_socket b/288984267
|
||||
system_suspend sysfs dir b/288984031
|
||||
vendor_init default_prop property_service b/288049372
|
||||
|
|
4
vendor/genfs_contexts
vendored
4
vendor/genfs_contexts
vendored
|
@ -25,7 +25,7 @@ genfscon sysfs /devices/platform/10c90000.hsi2c/i2c-7/7-0061/power_supply
|
|||
genfscon sysfs /devices/platform/10c90000.hsi2c/i2c-8/8-0061/power_supply u:object_r:sysfs_batteryinfo:s0
|
||||
genfscon sysfs /devices/platform/10c90000.hsi2c/i2c-9/9-0061/power_supply u:object_r:sysfs_batteryinfo:s0
|
||||
|
||||
|
||||
# System Suspend
|
||||
genfscon sysfs /devices/platform/10c90000.hsi2c/i2c-0/0-0061/power_supply/wireless/wakeup u:object_r:sysfs_wakeup:s0
|
||||
genfscon sysfs /devices/platform/10c90000.hsi2c/i2c-1/1-0061/power_supply/wireless/wakeup u:object_r:sysfs_wakeup:s0
|
||||
genfscon sysfs /devices/platform/10c90000.hsi2c/i2c-2/2-0061/power_supply/wireless/wakeup u:object_r:sysfs_wakeup:s0
|
||||
|
@ -47,3 +47,5 @@ genfscon sysfs /devices/platform/10c90000.hsi2c/i2c-6/6-0061/wakeup/wakeup
|
|||
genfscon sysfs /devices/platform/10c90000.hsi2c/i2c-7/7-0061/wakeup/wakeup u:object_r:sysfs_wakeup:s0
|
||||
genfscon sysfs /devices/platform/10c90000.hsi2c/i2c-8/8-0061/wakeup/wakeup u:object_r:sysfs_wakeup:s0
|
||||
genfscon sysfs /devices/platform/10c90000.hsi2c/i2c-9/9-0061/wakeup/wakeup u:object_r:sysfs_wakeup:s0
|
||||
|
||||
genfscon sysfs /devices/platform/gnssif/wakeup u:object_r:sysfs_wakeup:s0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue