diff options
Diffstat (limited to 'contrib/apparmor/gnunet-helper-vpn')
-rw-r--r-- | contrib/apparmor/gnunet-helper-vpn | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/contrib/apparmor/gnunet-helper-vpn b/contrib/apparmor/gnunet-helper-vpn index 9be198d76..8631b1b7c 100644 --- a/contrib/apparmor/gnunet-helper-vpn +++ b/contrib/apparmor/gnunet-helper-vpn | |||
@@ -2,20 +2,17 @@ | |||
2 | #include <tunables/global> | 2 | #include <tunables/global> |
3 | #include <tunables/gnunet> | 3 | #include <tunables/gnunet> |
4 | 4 | ||
5 | profile @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-helper-vpn flags=(complain) { | 5 | profile @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-helper-vpn { |
6 | #include <abstractions/gnunet-suid> | ||
6 | 7 | ||
7 | #Capability | 8 | #Capability |
8 | capability net_admin, | 9 | capability net_admin, |
9 | capability setuid, | 10 | capability setuid, |
10 | 11 | ||
11 | /dev/net/tun rw, | 12 | /dev/net/tun rw, |
12 | /etc/ld.so.cache r, | ||
13 | |||
14 | #Librairies | ||
15 | /usr/lib/ld-*.so r, | ||
16 | /usr/lib/libc-*.so mr, | ||
17 | /usr/lib/libm-*.so mr, | ||
18 | 13 | ||
19 | @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-helper-vpn mr, | 14 | @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-helper-vpn mr, |
20 | 15 | ||
16 | # Site-specific additions and overrides. See local/README for details. | ||
17 | #include <local/gnunet> | ||
21 | } | 18 | } |