diff --git a/hostapd.te b/hostapd.te index efa3a8d533cb1d4c2a421d206c1c084d38322537..f4a8fea03cebde9137e7a68786cc8be7becbec4a 100644 --- a/hostapd.te +++ b/hostapd.te @@ -15,8 +15,10 @@ allow hostapd wifi_data_file:sock_file { create setattr write unlink }; allow hostapd netd:fd use; allow hostapd netd:udp_socket { read write }; +allow hostapd netd:fifo_file { read write }; +# TODO: Investigate whether these inherited sockets should be closed on exec. allow hostapd netd:netlink_kobject_uevent_socket { read write }; allow hostapd netd:netlink_nflog_socket { read write }; allow hostapd netd:netlink_route_socket { read write }; allow hostapd netd:unix_stream_socket { read write }; -allow hostapd netd:fifo_file { read write }; +allow hostapd netd:unix_dgram_socket { read write };