5
0
mirror of https://github.com/cwinfo/yggdrasil-go.git synced 2024-11-24 19:31:36 +00:00
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 13:15:14 +00:00
#include <tunables/global>
/usr/bin/yggdrasil {
#include <abstractions/base>
#include <abstractions/nameservice>
2019-03-09 13:15:14 +00:00
capability net_admin,
2020-03-10 14:47:41 +00:00
capability net_raw,
2019-03-09 13:15:14 +00:00
/dev/net/tun rw,
/proc/sys/net/core/somaxconn r,
/sys/kernel/mm/transparent_hugepage/hpage_pmd_size r,
2019-03-09 13:15:14 +00:00
/etc/yggdrasil.conf rw,
/run/yggdrasil.sock rw,
}