summaryrefslogtreecommitdiff
path: root/data.c
diff options
context:
space:
mode:
Diffstat (limited to 'data.c')
-rw-r--r--data.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/data.c b/data.c
index f2b4e0f..5e2f43d 100644
--- a/data.c
+++ b/data.c
@@ -111,6 +111,7 @@ int srv_open(char *basedir, int auto_upgrade)
111 else { 111 else {
112 srv_debug(1, xs_fmt("Calling unveil()")); 112 srv_debug(1, xs_fmt("Calling unveil()"));
113 unveil(basedir, "rwc"); 113 unveil(basedir, "rwc");
114 unveil("/tmp", "rwc");
114 unveil("/usr/sbin/sendmail", "x"); 115 unveil("/usr/sbin/sendmail", "x");
115 unveil("/etc/resolv.conf", "r"); 116 unveil("/etc/resolv.conf", "r");
116 unveil("/etc/hosts", "r"); 117 unveil("/etc/hosts", "r");