summarylogtreecommitdiffstats
path: root/popura.apparmor
blob: ee386a7411038417581cd4f7e7fd2e3e20f858a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Last Modified: Thu Oct 29 19:43:48 2020
include <tunables/global>

# vim:syntax=apparmor
# AppArmor policy for popura


/usr/bin/popura {
  include <abstractions/base>
  include <abstractions/nameservice>

  capability net_admin,

  /sys/kernel/mm/transparent_hugepage/hpage_pmd_size r,
  owner /dev/net/tun rw,
  owner /etc/popura.conf r,
  owner /proc/sys/net/core/somaxconn r,
  owner /run/yggdrasil.sock w,

}