+ if (pledge("stdio rpath inet recvfd sendfd " + "wpath cpath proc tty getpw", NULL) == -1)
Please change the order: stdio rpath wpath cpath inet recvfd sendfd proc tty getpw (It remains extremely permissive).
+ if (pledge("stdio rpath inet recvfd sendfd " + "wpath cpath proc tty getpw", NULL) == -1)
Please change the order: stdio rpath wpath cpath inet recvfd sendfd proc tty getpw (It remains extremely permissive).