5
0
mirror of https://github.com/cwinfo/yggdrasil-go.git synced 2024-12-28 08:35:39 +00:00
yggdrasil-go/contrib/apparmor/usr.bin.yggdrasil

24 lines
430 B
Plaintext

# Last Modified: Sat Mar 9 06:08:02 2019
#include <tunables/global>
/usr/bin/yggdrasil {
#include <abstractions/base>
capability net_admin,
network inet stream,
network inet dgram,
network inet6 dgram,
network inet6 stream,
network netlink raw,
/lib/@{multiarch}/ld-*.so mr,
/proc/sys/net/core/somaxconn r,
/dev/net/tun rw,
/usr/bin/yggdrasil mr,
/etc/yggdrasil.conf rw,
/run/yggdrasil.sock rw,
}