blob: af26acfb5a1a7db447e289e8bb490b25d54d3d45 [file] [log] [blame]
# gpsd.te
r_dir_file(gpsd, sysfs_sec_gps);
allow gpsd sysfs_gps_writable:file rw_file_perms;
allow gpsd sysfs_wake_lock:file rw_file_perms;
allow gpsd self:capability net_raw;
allow gpsd self:capability2 block_suspend;
allow gpsd bt_device:chr_file rw_file_perms;
allow gpsd gnss_device:chr_file rw_file_perms;
allow gpsd gpsd_exec:file execute_no_trans;