Change-Id: Ic3ecfafa1641fa1c5e1166f5d9390e1497f397d4
# sec sysfs files
#allow gpsd sysfs_sec:dir search;
+
+# hwservicemanager ready prop
+allow gpsd hwservicemanager:binder call;
+allow gpsd hwservicemanager_prop:file { open read getattr};
# GPS permissions
allow init sysfs_gps:lnk_file read;
-allow init sysfs_gps:file setattr;
+allow init sysfs_gps:file { rw_file_perms setattr };
+allow init gps_data_file:fifo_file write;
+allow init gps_data_file:file lock;
+allow init gps_device:chr_file { open read write };
# CPU permissions
allow init sysfs_devices_system_cpu:file rw_file_perms;