diff options
| -rw-r--r-- | data.c | 1 |
1 files changed, 1 insertions, 0 deletions
| @@ -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"); |