diff options
author | Omar Polo <op@omarpolo.com> | 2021-01-25 14:58:54 +0000 |
---|---|---|
committer | Omar Polo <op@omarpolo.com> | 2021-01-25 14:58:54 +0000 |
commit | 2d3cc76f6d5c2eb4a23f0dbebe5ef779f07b947b (patch) | |
tree | e7334474ed13422f80d184b86640e6d5905ef740 | |
parent | 6c117838be051c7cdd769ca74708323f6c7f25cd (diff) |
we don't need unveil "x" in listener
not a big deal, since the pledge prohibits us to exec, but
nevertheless.
-rw-r--r-- | sandbox.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -245,7 +245,7 @@ sandbox() struct vhost *h; for (h = hosts; h->domain != NULL; ++h) { - if (unveil(h->dir, "rx") == -1) + if (unveil(h->dir, "r") == -1) err(1, "unveil %s for domain %s", h->dir, h->domain); } |