enable pledge(2) in rain(6)
authorsemarie <semarie@openbsd.org>
Wed, 14 Oct 2015 07:19:23 +0000 (07:19 +0000)
committersemarie <semarie@openbsd.org>
Wed, 14 Oct 2015 07:19:23 +0000 (07:19 +0000)
commit20b80e920a6ec97d52b5f635447e01da57e14fb6
tree5838710583af458c2f3d8e6f0a1df9d5cd0e073a
parent9ae4abf6fca2a6417dfff8fd0fb8ac10a47c2a4c
enable pledge(2) in rain(6)

it is libcurses program: at init it needs "stdio rpath getpw tty", and after
drop to just "stdio tty". "tty" is needed at end for restoring the tty.

initial patch from doug@
ok doug@ deraadt@
games/rain/rain.c