gps: gnss aidl service (sepolicy)
avc: denied { read } for name="u:object_r:vendor_gps_prop:s0" dev="tmpfs" ino=372 scontext=u:r:hal_gnss_default:s0 tcontext=u:object_r:vendor_gps_prop:s0 tclass=file permissive=0 Bug: 295810526 Test: No avc denied Change-Id: I686cd19143dc58706af8b43a4b87a73e23a43fd3
This commit is contained in:
parent
c3faae21ea
commit
76686f69d9
1 changed files with 3 additions and 0 deletions
3
vendor/hal_gnss_default.te
vendored
3
vendor/hal_gnss_default.te
vendored
|
@ -3,3 +3,6 @@ allow hal_gnss_default gnssd:unix_stream_socket connectto;
|
||||||
allow hal_gnss_default vendor_gps_file:dir create_dir_perms;
|
allow hal_gnss_default vendor_gps_file:dir create_dir_perms;
|
||||||
allow hal_gnss_default vendor_gps_file:file create_file_perms;
|
allow hal_gnss_default vendor_gps_file:file create_file_perms;
|
||||||
allow hal_gnss_default vendor_gps_file:fifo_file create_file_perms;
|
allow hal_gnss_default vendor_gps_file:fifo_file create_file_perms;
|
||||||
|
|
||||||
|
#Read GPS property
|
||||||
|
get_prop(hal_gnss_default, vendor_gps_prop)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue