From e8127d5c205e066223b6a51b355caa80bd78f1987795ce0e44fef7a16f437753 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Mon, 19 Jul 2021 12:35:13 +0000 Subject: [PATCH] Accepting request 906252 from home:stroeder:network fixed AppArmor profile OBS-URL: https://build.opensuse.org/request/show/906252 OBS-URL: https://build.opensuse.org/package/show/Base:System/hostapd?expand=0&rev=63 --- apparmor-usr.sbin.hostapd | 4 +++- hostapd.changes | 5 +++++ hostapd.spec | 2 +- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/apparmor-usr.sbin.hostapd b/apparmor-usr.sbin.hostapd index 6da973e..8cdb9b1 100644 --- a/apparmor-usr.sbin.hostapd +++ b/apparmor-usr.sbin.hostapd @@ -20,7 +20,9 @@ profile hostapd /usr/sbin/hostapd { /etc/libnl/classid r, - #/proc/*/net/psched r, + @{PROC}/sys/net/ipv*/conf/*/arp_accept w, + /sys/devices/platform/**/net/**/proxyarp_wifi w, + /sys/devices/platform/**/net/**/hairpin_mode w, # grant access to RFKILL control device /dev/rfkill rw, diff --git a/hostapd.changes b/hostapd.changes index bf5c17e..67ec96f 100644 --- a/hostapd.changes +++ b/hostapd.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Jul 14 08:41:42 UTC 2021 - Michael Ströder + +- fixed AppArmor profile + ------------------------------------------------------------------- Tue Apr 6 14:51:18 UTC 2021 - Clemens Famulla-Conrad diff --git a/hostapd.spec b/hostapd.spec index e338aa6..7584772 100644 --- a/hostapd.spec +++ b/hostapd.spec @@ -21,7 +21,7 @@ Name: hostapd Version: 2.9 Release: 0 Summary: Daemon for running a WPA capable Access Point -License: GPL-2.0-only OR BSD-3-Clause +License: BSD-3-Clause OR GPL-2.0-only Group: Hardware/Wifi URL: https://w1.fi/ Source: https://w1.fi/releases/hostapd-%{version}.tar.gz