From 16a5ed7b30d1a0d92e9655b95ecda30237d26b50 Mon Sep 17 00:00:00 2001 From: Omar Polo Date: Sat, 6 Mar 2021 20:38:54 +0000 Subject: [PATCH] drop unnecessary unveil(NULL, NULL) the next line is a call to pledge, that alone is will block further calls to unveil(2) since ``unveil'' isn't in the set of pledges. --- main.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/main.c b/main.c index 08661a9..4e3a147 100644 --- a/main.c +++ b/main.c @@ -93,8 +93,6 @@ drop_privileges(const char *user, const char *path) eunveil(cgifullpath, "rx"); } - /* forbid more unveil */ - eunveil(NULL, NULL); /* * prevent system calls other parsing queryfor fread file and