From 800a85e70f3b63cacc847ee49ea929ac107ca181 Mon Sep 17 00:00:00 2001 From: Dan Walsh Date: Sat, 3 Jan 2015 09:32:33 -0500 Subject: [PATCH] Add new policy for hostapd --- modules-targeted-contrib.conf | 7 +++++++ permissivedomains.te | 7 +++++++ 2 files changed, 14 insertions(+) diff --git a/modules-targeted-contrib.conf b/modules-targeted-contrib.conf index 46975d6a..9c8a4146 100644 --- a/modules-targeted-contrib.conf +++ b/modules-targeted-contrib.conf @@ -783,6 +783,13 @@ xguest = module # hddtemp = module +# Layer: services +# Module: hostapd +# +# hostapd - IEEE 802.11 AP, IEEE 802.1X/WPA/WPA2/EAP/RADIUS Authenticator +# +hostapd = module + # Layer: services # Module: i18n_input # diff --git a/permissivedomains.te b/permissivedomains.te index 4aebc1f8..19e05789 100644 --- a/permissivedomains.te +++ b/permissivedomains.te @@ -94,3 +94,10 @@ optional_policy(` permissive phc2sys_t; permissive ptp4l_t; ') + +optional_policy(` + gen_require(` + type hostapd_t; + ') + permissive hostapd_t; +')