yggdrasil-go/contrib/apparmor/usr.bin.yggdrasil

18 lines
372 B
Plaintext
Raw Normal View History

# Last Modified: Fri Oct 30 11:33:31 2020
2019-03-09 16:15:14 +03:00
#include <tunables/global>
/usr/bin/yggdrasil {
#include <abstractions/base>
#include <abstractions/nameservice>
2019-03-09 16:15:14 +03:00
capability net_admin,
2020-03-10 17:47:41 +03:00
capability net_raw,
2019-03-09 16:15:14 +03:00
/dev/net/tun rw,
/proc/sys/net/core/somaxconn r,
/sys/kernel/mm/transparent_hugepage/hpage_pmd_size r,
2019-03-09 16:15:14 +03:00
/etc/yggdrasil.conf rw,
/run/yggdrasil.sock rw,
}