fix(feuille.c): pledge promises

This commit is contained in:
Tom MTT. 2022-11-21 19:30:09 +01:00
parent 7c4aaf95ea
commit fdf588e523

View file

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