diff options
author | June McEnroe <june@causal.agency> | 2022-10-30 16:28:36 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2022-10-30 16:28:36 -0400 |
commit | cd2e8408997a37895c5f8a0c148fd521725380af (patch) | |
tree | dc8f356a9413512ee99626e31bba02c79ad0d84a | |
parent | Use xdg.c for pounce-palaver (diff) | |
download | pounce-cd2e8408997a37895c5f8a0c148fd521725380af.tar.gz pounce-cd2e8408997a37895c5f8a0c148fd521725380af.zip |
OpenBSD: Fix broken unveil in calico on 7.2
Relevant OpenBSD changelog: > o AF_UNIX socket bind(2) and connect(2) now follow unveil(2) > configuration.
Diffstat (limited to '')
-rw-r--r-- | dispatch.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dispatch.c b/dispatch.c index f02137e..6353686 100644 --- a/dispatch.c +++ b/dispatch.c @@ -158,7 +158,7 @@ int main(int argc, char *argv[]) { } #ifdef __OpenBSD__ - error = unveil(path, "r"); + error = unveil(path, "rw"); if (error) err(EX_OSERR, "unveil"); error = pledge("stdio rpath inet unix dns sendfd", NULL); |