summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2026-03-23 19:20:01 +0000
committerJune McEnroe <june@causal.agency>2026-03-23 19:20:01 +0000
commitce1dd27209c4a292d4ee7e0254c026ceb5253699 (patch)
tree48ee90e30677accfa3e4670364f78e6462f58b37
parentAdd -ll for hilex (diff)
downloadsrc-ce1dd27209c4a292d4ee7e0254c026ceb5253699.tar.gz
src-ce1dd27209c4a292d4ee7e0254c026ceb5253699.zip
Replace tmppath pledge with rpath wpath cpath HEAD master
-rw-r--r--www/git.causal.agency/filter.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/www/git.causal.agency/filter.c b/www/git.causal.agency/filter.c
index 7c7e9320..8732eae6 100644
--- a/www/git.causal.agency/filter.c
+++ b/www/git.causal.agency/filter.c
@@ -143,7 +143,9 @@ int main(int argc, char *argv[]) {
 	int error;
 	switch (getprogname()[0]) {
 		break; case 'a': error = pledge("stdio exec", NULL);
-		break; case 's': error = pledge("stdio tmppath proc exec", NULL);
+		break; case 's': {
+			error = pledge("stdio rpath wpath cpath proc exec", NULL);
+		}
 		break; default:  error = pledge("stdio", NULL);
 	}
 	if (error) err(1, "pledge");