summaryrefslogtreecommitdiffstats
path: root/rogue/machdep.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove rogue's old and bit-rotten cut-down version of curses.jsm1999-09-131-114/+5
|
* Security improvements for games (largely from or inspired by OpenBSD).jsm1999-09-121-6/+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-8/+8
|
* const poisoning.mycroft1998-07-271-3/+3
|
* As per PR bin/5806 by Joseph Myers <jsm28@cam.ac.uk>/lash@tellabs.com:hubertf1998-07-211-3/+6
| | | | - Init Random by time, not by pid - Fix lossage with fire-spitting, monster-killing dragons
* WARNSify (not an insignificant task...)lukem1997-10-121-20/+33
|
* Use POSIX tty semantics.mycroft1995-04-281-99/+10
|
* Various changes to make games compile w/o warnings on the alpha:cgd1995-04-241-4/+4
| | | | Include appropriate includes, delete bogus function declarations, change sizes of variables and casts.
* clean up import, NetBSD RCS Idscgd1995-04-221-24/+22
|
* Add RCS identifiers.mycroft1993-08-011-1/+2
|
* initial import of 386bsd-0.1 sourcescgd1993-03-211-0/+681