Home | History | Annotate | Download | only in rogue
History log of /src/games/rogue/machdep.c
RevisionDateAuthorComments
 1.20  01-Dec-2012  mbalmer Fix misspelling of acceptible (it's only acceptable with an 'a', not an 'i').
 1.19  01-Sep-2011  plunky branches: 1.19.2; 1.19.8;
reinstate NULL cast by request, where the NULL was being passed as a vararg
 1.18  31-Aug-2011  plunky NULL does not need a cast
 1.17  14-Jan-2008  dholland ANSIfy. Remove unnecessary casts. Clean up for -Wsign-compare. Make more
things file-static. Other minor tidyups, and fix a couple minor bugs found
along the way.
 1.16  14-Jan-2008  dholland Whitespace/KNF nits.
 1.15  27-Dec-2007  dholland Comprehensive (or at least extensive) string handling cleanup for rogue.

This patch dates (mostly) back to 2002; the critical parts of it were
handled back then by security-officer. As far as I know, there's
nothing exploitable fixed herein.

A slightly earlier version of this patch was reviewed by Christian Biere
when I filed it as PR 34750.
 1.14  24-Apr-2006  snj branches: 1.14.10;
It's "its."
 1.13  15-Feb-2005  jsm Cast last argument of execl to (char *).

Reviewed by <hubertf>.
 1.12  07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22269, verified by myself.
 1.11  13-Sep-1999  jsm Remove rogue's old and bit-rotten cut-down version of curses.
 1.10  12-Sep-1999  jsm 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.
 1.9  10-Nov-1998  hubertf constify, per PR 6148
 1.8  27-Jul-1998  mycroft const poisoning.
 1.7  21-Jul-1998  hubertf As per PR bin/5806 by Joseph Myers <jsm28@cam.ac.uk>/lash@tellabs.com:
- Init Random by time, not by pid
- Fix lossage with fire-spitting, monster-killing dragons
 1.6  12-Oct-1997  lukem WARNSify (not an insignificant task...)
 1.5  28-Apr-1995  mycroft Use POSIX tty semantics.
 1.4  24-Apr-1995  cgd Various changes to make games compile w/o warnings on the alpha:
Include appropriate includes, delete bogus function declarations,
change sizes of variables and casts.
 1.3  22-Apr-1995  cgd clean up import, NetBSD RCS Ids
 1.2  01-Aug-1993  mycroft Add RCS identifiers.
 1.1  21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.2  22-Apr-1995  cgd src/games/rogue from Lite
 1.1.1.1  21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.14.10.2  23-Mar-2008  matt sync with HEAD
 1.14.10.1  09-Jan-2008  matt sync with HEAD
 1.19.8.1  25-Feb-2013  tls resync with head
 1.19.2.1  16-Jan-2013  yamt sync with (a bit old) head

RSS XML Feed