NetBSD/games/monop
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
brd.dat
cards.c Check for failure of malloc() and calloc() at various places in the games. 1999-09-09 17:27:58 +00:00
cards.inp
deck.h Convert to something resembling KNF. 1999-08-21 10:40:03 +00:00
execute.c Add use of `const' where appropriate to the games. 1999-09-08 21:17:44 +00:00
getinp.c Add use of `const' where appropriate to the games. 1999-09-08 21:17:44 +00:00
houses.c Add use of `const' where appropriate to the games. 1999-09-08 21:17:44 +00:00
initdeck.c Check for write errors in auxiliary programs used during build of games. 1999-09-10 00:18:20 +00:00
jail.c Convert to something resembling KNF. 1999-08-21 10:40:03 +00:00
misc.c Add use of `const' where appropriate to the games. 1999-09-08 21:17:44 +00:00
mon.dat
monop.6
monop.c Security improvements for games (largely from or inspired by OpenBSD). 1999-09-12 09:02:20 +00:00
monop.def Add use of `const' where appropriate to the games. 1999-09-08 21:17:44 +00:00
monop.ext Add use of `const' where appropriate to the games. 1999-09-08 21:17:44 +00:00
monop.h Check for failure of malloc() and calloc() at various places in the games. 1999-09-09 17:27:58 +00:00
morg.c Add use of `const' where appropriate to the games. 1999-09-08 21:17:44 +00:00
pathnames.h
print.c Add use of `const' where appropriate to the games. 1999-09-08 21:17:44 +00:00
prop.c Check for failure of malloc() and calloc() at various places in the games. 1999-09-09 17:27:58 +00:00
prop.dat
rent.c Convert to something resembling KNF. 1999-08-21 10:40:03 +00:00
roll.c Convert to something resembling KNF. 1999-08-21 10:40:03 +00:00
spec.c Add use of `const' where appropriate to the games. 1999-09-08 21:17:44 +00:00
trade.c Add use of `const' where appropriate to the games. 1999-09-08 21:17:44 +00:00