Skip to content
Snippets Groups Projects
hal_wifi_hostapd_default.te 550 B
Newer Older
  • Learn to ignore specific revisions
  • # hostapd or equivalent
    type hal_wifi_hostapd_default, domain;
    hal_server_domain(hal_wifi_hostapd_default, hal_wifi_hostapd)
    type hal_wifi_hostapd_default_exec, exec_type, vendor_file_type, file_type;
    init_daemon_domain(hal_wifi_hostapd_default)
    
    net_domain(hal_wifi_hostapd_default)
    
    # Allow hostapd to access it's data folder
    
    allow hal_wifi_hostapd_default hostapd_data_file:dir create_dir_perms;
    
    allow hal_wifi_hostapd_default hostapd_data_file:file create_file_perms;
    
    allow hal_wifi_hostapd_default hostapd_data_file:sock_file create_file_perms;