[selinux-policy] Add new policy for hostapd

Daniel J Walsh dwalsh at fedoraproject.org
Sat Jan 3 14:32:39 UTC 2015


commit 800a85e70f3b63cacc847ee49ea929ac107ca181
Author: Dan Walsh <dwalsh at redhat.com>
Date:   Sat Jan 3 09:32:33 2015 -0500

    Add new policy for hostapd

 modules-targeted-contrib.conf |    7 +++++++
 permissivedomains.te          |    7 +++++++
 2 files changed, 14 insertions(+), 0 deletions(-)
---
diff --git a/modules-targeted-contrib.conf b/modules-targeted-contrib.conf
index 46975d6..9c8a414 100644
--- a/modules-targeted-contrib.conf
+++ b/modules-targeted-contrib.conf
@@ -784,6 +784,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
 #
 # IIIMF htt server
diff --git a/permissivedomains.te b/permissivedomains.te
index 4aebc1f..19e0578 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;
+')


More information about the scm-commits mailing list