diff options
author | Julien Morvan <julien.morvan@outlook.com> | 2015-07-31 13:53:26 +0000 |
---|---|---|
committer | Julien Morvan <julien.morvan@outlook.com> | 2015-07-31 13:53:26 +0000 |
commit | 847e9575ed85eadb979bc416afec7cf898cf00d1 (patch) | |
tree | 4fa7f2f3d62a1dfbe14e160879a838a56ddd14ae /contrib/apparmor/gnunet-service-resolver | |
parent | 18d3aebbb66f453d5b57bb28dd284508bb938332 (diff) |
Diffstat (limited to 'contrib/apparmor/gnunet-service-resolver')
-rw-r--r-- | contrib/apparmor/gnunet-service-resolver | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/contrib/apparmor/gnunet-service-resolver b/contrib/apparmor/gnunet-service-resolver new file mode 100644 index 0000000000..6c5e3eb606 --- /dev/null +++ b/contrib/apparmor/gnunet-service-resolver @@ -0,0 +1,33 @@ +# Last Modified: Thu Jul 9 10:01:36 2015 +#include <tunables/global> +#include <tunables/gnunet> + +profile @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-service-resolver { + #include <abstractions/gnunet-common> + + @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-service-resolver mr, + + #Librairies + /usr/lib/ld-*.so r, + /usr/lib/libnss_files-*.so mr, + /usr/lib/libnss_gns.so.* mr, + /usr/lib/libnss_dns-*.so mr, + /usr/lib/libresolv-*.so mr, + /usr/lib/libnss_myhostname.so.* mr, + /usr/lib/librt-*.so mr, + /usr/lib/liblzma.so.* mr, + /usr/lib/liblz4.so.* mr, + /usr/lib/libacl.so.* mr, + /usr/lib/libidn.so.* mr, + /usr/lib/libseccomp.so.* mr, + /usr/lib/libcap.so.* mr, + /usr/lib/libpthread-*.so mr, + /usr/lib/libattr.so.* mr, + + /etc/nsswitch.conf r, + /etc/resolv.conf r, + /etc/host.conf r, + /etc/hosts r, + + /tmp/gnunet-system-runtime/gnunet-service-resolver.sock w, +} |