summaryrefslogtreecommitdiffstats
path: root/rogue/score.c
Commit message (Collapse)AuthorAgeFilesLines
* Security improvements for games (largely from or inspired by OpenBSD).jsm1999-09-121-2/+5
| | | | | | | | | | | | | | | 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.
* constify, per PR 6148hubertf1998-11-101-10/+12
|
* WARNSify (not an insignificant task...)lukem1997-10-121-30/+44
|
* clean up import, NetBSD RCS Idscgd1995-04-221-4/+9
|
* new curses updatecgd1993-11-101-2/+3
|
* Use `r+' rather than `a+' when opening score file.mycroft1993-09-231-2/+2
|
* Add RCS identifiers.mycroft1993-08-011-1/+2
|
* initial import of 386bsd-0.1 sourcescgd1993-03-211-0/+581