NetBSD/games/wump
jsm 5367f3400c Security improvements for games (largely from or inspired by OpenBSD).
Games which run setgid from dm, but don't need to, should drop their
privileges at startup.

Games which have a scorefile should open it at startup, then drop all
privileges leaving just the open writable file descriptor.  If the
game can invoke subprocesses, this should be made close-on-exec.

Games with scorefiles should make sure they do not get a file
descriptor < 3.  (Otherwise, they could get confused and corrupt the
scorefile when using stdin, stdout or stderr.)

Some old setuid revokes from the days of setuid games change into gid
revokes.
1999-09-12 09:02:20 +00:00
..
Makefile convert from NOxxx= to MKxxx=no. 1999-02-13 02:54:17 +00:00
pathnames.h clean up import. NetBSD RCS IDs 1995-04-22 08:19:45 +00:00
wump.6 WARNSify 1997-10-12 03:36:41 +00:00
wump.c Security improvements for games (largely from or inspired by OpenBSD). 1999-09-12 09:02:20 +00:00
wump.info initial import of 386bsd-0.1 sources 1993-03-21 09:45:37 +00:00