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:
Edwin Tung 2023-09-29 11:59:47 +08:00
parent c3faae21ea
commit 76686f69d9

View file

@ -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)