Home | History | Annotate | only in /src/games/snake/snscore
History log of /src/games/snake/snscore
RevisionDateAuthorComments
 1.7 18-Sep-2002  lukem some makefile de-linting
 1.6 12-Dec-2001  tv MKfoo=no -> NOfoo=
 1.5 13-Feb-1999  lukem convert from NOxxx= to MKxxx=no.
include <bsd.own.mk> if testing a MKxxx variable.
 1.4 22-Oct-1997  lukem use CPPFLAGS instead of CFLAGS
 1.3 22-Apr-1995  cgd branches: 1.3.4;
clean up import, NetBSD RCS Ids, etc.
 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/snake from Lite
 1.1.1.1 21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.3.4.1 08-Nov-1997  lukem sync with trunk (approved by thorpej)
 1.20 12-May-2021  kre Adapt to recent change to ../snake/pathnames.h
 1.19 19-Jun-2012  dholland branches: 1.19.38;
WARNS=5, and make WARNS=5 the default for src/games.
 1.18 12-Aug-2009  dholland branches: 1.18.6;
sprinkle static
 1.17 20-Jul-2008  lukem Remove the \n and tabs from the __COPYRIGHT() strings.
 1.16 17-Mar-2006  abs branches: 1.16.20;
Fix overrun in players[] array. Addresses Coverty CID 1457
 1.15 27-Jan-2004  jsm Remove uses of __P.
 1.14 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.13 08-May-2000  mycroft Use setgid(), not setregid().
 1.12 21-Jan-2000  jsm Improve snscore error handling.
 1.11 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.10 09-Sep-1999  jsm Check for failure of malloc() and calloc() at various places in the games.
 1.9 08-Sep-1999  jsm Add use of `const' where appropriate to the games.

This merges in all such remaining changes from the Linux port of the
NetBSD games, except in hunt (where substantial changes from OpenBSD
need to be looked at).

Some such changes were previously covered in PRs bin/6041, bin/6146,
bin/6148, bin/6150, bin/6151, bin/6580, bin/6660, bin/7993, bin/7994,
bin/8039, bin/8057 and bin/8093.
 1.8 11-Sep-1998  hubertf fix main() prototype, per PR#5867
 1.7 27-Jul-1998  mycroft const poisoning.
 1.6 12-Oct-1997  lukem WARNSify, KNFify
 1.5 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.4 22-Apr-1995  cgd clean up import, NetBSD RCS Ids, etc.
 1.3 05-Apr-1994  cgd initialize variable!
 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/snake from Lite
 1.1.1.1 21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.16.20.1 18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.18.6.1 30-Oct-2012  yamt sync with head
 1.19.38.1 31-May-2021  cjep sync with head

RSS XML Feed