Re: [pledge] : Add pledge to sail (game)

2016-04-03 Thread Theo Buehler
> + if (pledge("proc id stdio rpath wpath cpath tty", NULL) == -1) Yes, as sail currently stands, the list of promises for sail would have to look something like that. However, the problem with sail is not the list of pledge promises. The design of sail requires the program to be setgid game

[pledge] : Add pledge to sail (game)

2016-04-03 Thread Héctor Luis Gimbatti
Index: main.c === RCS file: /cvs/src/games/sail/main.c,v retrieving revision 1.11 diff -u -p -r1.11 main.c --- main.c 8 Jan 2016 20:26:33 - 1.11 +++ main.c 4 Apr 2016 01:19:59 - @@ -45,6 +45,9 @@ main(int