reduce pledge(2) to "stdio tty" after ncurses initialization. robots(6) uses a
authormestre <mestre@openbsd.org>
Thu, 23 Aug 2018 06:26:35 +0000 (06:26 +0000)
committermestre <mestre@openbsd.org>
Thu, 23 Aug 2018 06:26:35 +0000 (06:26 +0000)
commit8ac81e2dac4de64516b754f94dd47e0eaedfe863
tree454dd74f15769f6add847415e9c9bcb3f3d92d63
parentc5ef424a48f1add3dc7346aa8d4a8782c3ec70af
reduce pledge(2) to "stdio tty" after ncurses initialization. robots(6) uses a
scorefile nevertheless an fd is opened way in advance and therefore we can
disable any further access to the filesystem.

OK tb@
games/robots/main.c