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.
This commit is contained in:
Omar Polo 2021-03-06 20:38:54 +00:00 committed by Solene Rapenne
parent 8454548b51
commit 16a5ed7b30

View file

@ -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