Skip to content

Instantly share code, notes, and snippets.

@stupidpupil
Last active September 12, 2017 00:04
Show Gist options
  • Save stupidpupil/2887cdf11a5aa433dbef8b956bb1a625 to your computer and use it in GitHub Desktop.
Save stupidpupil/2887cdf11a5aa433dbef8b956bb1a625 to your computer and use it in GitHub Desktop.
hostapd Debian AppArmor profile
#include <tunables/global>
/usr/sbin/hostapd {
#include <abstractions/base>
#include <abstractions/nameservice>
capability net_admin,
capability net_raw,
network packet,
network raw,
/etc/hostapd/* r,
/proc/*/net/psched r,
/etc/libnl-3/classid r,
/dev/rfkill rw,
/run/hostapd.*.pid w,
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment