diff options
author | Julien Morvan <julien.morvan@outlook.com> | 2015-08-17 09:23:39 +0000 |
---|---|---|
committer | Julien Morvan <julien.morvan@outlook.com> | 2015-08-17 09:23:39 +0000 |
commit | c36169b334c725ab3e626cf32617da7b87ee6594 (patch) | |
tree | edf22a77d248b54a2b6584e6c41d01a66090392d /contrib/apparmor/gnunet-helper-vpn | |
parent | 01d39499bb3af0674917c7dabb3b202427273ba8 (diff) | |
download | gnunet-c36169b334c725ab3e626cf32617da7b87ee6594.tar.gz gnunet-c36169b334c725ab3e626cf32617da7b87ee6594.zip |
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 | } |