forked from ginhom/dnscrypt-proxy
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapparmor.profile.dnscrypt-proxy
More file actions
40 lines (30 loc) · 895 Bytes
/
apparmor.profile.dnscrypt-proxy
File metadata and controls
40 lines (30 loc) · 895 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Last Modified: Tue Dec 02 22:20:12 2014
#include <tunables/global>
/usr/sbin/dnscrypt-proxy {
#include <abstractions/base>
network inet stream,
network inet6 stream,
network inet dgram,
network inet6 dgram,
capability net_admin,
capability net_bind_service,
capability setgid,
capability setuid,
capability sys_chroot,
capability ipc_lock,
/bin/false r,
/etc/dnscrypt-proxy.conf r,
/etc/ld.so.cache r,
/etc/nsswitch.conf r,
/etc/passwd r,
# Resolvers list
/usr/share/dnscrypt-proxy/dnscrypt-resolvers.csv r,
# In case of custom libldns installation
/usr/local/lib/{@{multiarch}/,}libldns.so* mr,
# In case of custom libsodium installation
/usr/local/lib/{@{multiarch}/,}libsodium.so* mr,
# Reasonable pidfile location - tweak this if you prefer a different one
/run/dnscrypt-proxy.pid rw,
# Systemd notificaion
/run/systemd/notify rw,
}