hal_gnss.te 326 B

12345678
  1. # Hijack hostapd domain and attribute to gain network access
  2. hal_server_domain(hal_gnss_default, hal_wifi_hostapd);
  3. typeattribute hal_gnss_default hal_wifi_hostapd_server;
  4. net_domain(hal_gnss_default)
  5. allow hal_gnss_default hal_gnss_default:capability { net_raw };
  6. allow hal_gnss_default property_socket:sock_file { write };