fix(feuille.c): pledge promises

main
Tom MTT. 1 year ago
parent 7c4aaf95ea
commit fdf588e523

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

Loading…
Cancel
Save