summaryrefslogtreecommitdiffstats
path: root/trek/main.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove uses of __P.jsm2004-01-271-3/+3
|
* Move UCB-licensed code from 4-clause to 3-clause licence.agc2003-08-071-7/+3
| | | Patches provided by Joel Baker in PR 22269, verified by myself.
* seperate -> separatewiz2001-07-221-3/+3
|
* Use setgid(), not setregid().mycroft2000-05-081-3/+3
|
* Fix -Wsign-compare warnings.jsm1999-09-181-3/+4
|
* 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.
* time_t != long, again. *Sigh*.cjs1997-10-131-3/+6
|
* Warnsify and remove local implementations of libc functions.christos1997-10-121-14/+21
|
* clean up import, NetBSD RCS IDs, etc.cgd1995-04-221-7/+12
|
* Converted from sgtty to termios api, no longer needs libcompat.jtc1994-05-241-5/+7
|
* Add RCS identifiers.mycroft1993-08-011-1/+2
|
* initial import of 386bsd-0.1 sourcescgd1993-03-211-0/+235