fix(feuille.c): pledge promises
This commit is contained in:
parent
7c4aaf95ea
commit
fdf588e523
1 changed files with 1 additions and 1 deletions
|
@ -294,7 +294,7 @@ int main(int argc, char *argv[])
|
|||
|
||||
/* OpenBSD-only security measures */
|
||||
#ifdef __OpenBSD__
|
||||
pledge("stdio proc inet", "stdio wpath inet");
|
||||
pledge("proc stdio rpath wpath cpath inet", "stdio rpath wpath cpath inet");
|
||||
#endif
|
||||
|
||||
/* create a thread pool for incoming connections */
|
||||
|
|
Reference in a new issue