diff options
author | default <nobody@localhost> | 2024-01-11 11:07:07 +0100 |
---|---|---|
committer | default <nobody@localhost> | 2024-01-11 11:07:07 +0100 |
commit | 32ce4b065911ef73f584691506698a1b1d6de23a (patch) | |
tree | 17ed393042b1d0de6219b9b1c8055da95035bfbb /data.c | |
parent | 2693c081b4614dbf3b89f078df7a3786bc3a908a (diff) |
Added an unveil() call for "/tmp".
It seems that it's needed for shm_open() to succeed,
whatever the first argument points to.
No idea why.
Diffstat (limited to 'data.c')
-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) else { srv_debug(1, xs_fmt("Calling unveil()")); unveil(basedir, "rwc"); + unveil("/tmp", "rwc"); unveil("/usr/sbin/sendmail", "x"); unveil("/etc/resolv.conf", "r"); unveil("/etc/hosts", "r"); |