> +       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 games so that multiple players can read and write to
/var/games/saillog at the same time. Adding the setgid bit back is not
going to happen, so another solution must be found. Without that the
game is broken, with or without pledge.

Similar remarks apply to hack, hunt{,d} and phantasia.

Reply via email to