Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use setgid(), not setregid(). | mycroft | 2000-05-08 | 1 | -3/+3 |
| | |||||
* | Security improvements for games (largely from or inspired by OpenBSD). | jsm | 1999-09-12 | 1 | -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. | ||||
* | Use STD*_FILENO. | kleink | 1999-09-10 | 1 | -4/+4 |
| | |||||
* | Include <time.h> in various places in the games where time() or time_t | jsm | 1999-09-09 | 1 | -2/+3 |
| | | | are used. | ||||
* | This patch fixes a -Wcast-qual warning in wump(6). | hubertf | 1999-07-14 | 1 | -3/+3 |
| | | | Submitted in 7994 by Joseph Myers <jsm28@cam.ac.uk> | ||||
* | Only invoke pager given in $PAGER if output goes to a tty, feed pager | hubertf | 1999-02-10 | 1 | -9/+28 |
| | | | via stdin, per PR 6699 by Joseph Myers <jsm28@cam.ac.uk> | ||||
* | mark non-returning functions (PR#6144 by Joseph Myers <jsm28@cam.ac.uk>) | hubertf | 1998-09-13 | 1 | -3/+3 |
| | |||||
* | Add braces to make the new egcs happy. | veego | 1998-08-30 | 1 | -4/+6 |
| | |||||
* | WARNSify | lukem | 1997-10-12 | 1 | -23/+71 |
| | |||||
* | Various changes to make games compile w/o warnings on the alpha: | cgd | 1995-04-24 | 1 | -2/+3 |
| | | | | Include appropriate includes, delete bogus function declarations, change sizes of variables and casts. | ||||
* | clean up import. NetBSD RCS IDs | cgd | 1995-04-22 | 1 | -7/+12 |
| | |||||
* | Add RCS identifiers. | mycroft | 1993-08-01 | 1 | -1/+2 |
| | |||||
* | initial import of 386bsd-0.1 sources | cgd | 1993-03-21 | 1 | -0/+778 |