Marcus Meissner
94ddd66b73
- added AppArmor profile (source apparmor-usr.sbin.hostapd) OBS-URL: https://build.opensuse.org/request/show/874698 OBS-URL: https://build.opensuse.org/package/show/Base:System/hostapd?expand=0&rev=59
32 lines
506 B
Plaintext
32 lines
506 B
Plaintext
abi <abi/3.0>,
|
|
|
|
#include <tunables/global>
|
|
|
|
profile hostapd /usr/sbin/hostapd {
|
|
#include <abstractions/base>
|
|
#include <abstractions/nameservice>
|
|
|
|
capability net_admin,
|
|
capability net_raw,
|
|
network packet,
|
|
network raw,
|
|
|
|
# for RADIUS
|
|
network inet dgram,
|
|
network inet6 dgram,
|
|
|
|
# grant read access to config files
|
|
/etc/hostapd.* r,
|
|
|
|
/etc/libnl/classid r,
|
|
|
|
#/proc/*/net/psched r,
|
|
|
|
# grant access to RFKILL control device
|
|
/dev/rfkill rw,
|
|
|
|
/run/hostapd/ rw,
|
|
/run/hostapd/* rw,
|
|
|
|
}
|