NetBSD/games/robots
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 Add -A for automatic playing mode. 1999-05-15 23:56:35 +00:00
auto.c Add use of `const' where appropriate to the games. 1999-09-08 21:17:44 +00:00
extern.c Add use of `const' where appropriate to the games. 1999-09-08 21:17:44 +00:00
flush_in.c WARNSify 1997-10-12 14:09:55 +00:00
init_field.c Add use of `const' where appropriate to the games. 1999-09-08 21:17:44 +00:00
main.c Security improvements for games (largely from or inspired by OpenBSD). 1999-09-12 09:02:20 +00:00
make_level.c Add -A for automatic playing mode. 1999-05-15 23:56:35 +00:00
move.c Add use of `const' where appropriate to the games. 1999-09-08 21:17:44 +00:00
move_robs.c Add -A for automatic playing mode. 1999-05-15 23:56:35 +00:00
pathnames.h clean up import 1995-04-22 10:08:46 +00:00
play_level.c WARNSify 1997-10-12 14:09:55 +00:00
query.c Add use of `const' where appropriate to the games. 1999-09-08 21:17:44 +00:00
rnd_pos.c WARNSify 1997-10-12 14:09:55 +00:00
robots.6 Add -A for automatic playing mode. 1999-05-15 23:56:35 +00:00
robots.h Security improvements for games (largely from or inspired by OpenBSD). 1999-09-12 09:02:20 +00:00
score.c Security improvements for games (largely from or inspired by OpenBSD). 1999-09-12 09:02:20 +00:00