summaryrefslogtreecommitdiffstats
path: root/snake/snscore
Commit message (Collapse)AuthorAgeFilesLines
* WARNS=5, and make WARNS=5 the default for src/games.dholland2012-06-191-3/+3
|
* sprinkle staticdholland2009-08-121-4/+6
|
* Remove the \n and tabs from the __COPYRIGHT() strings.lukem2008-07-201-4/+4
|
* Fix overrun in players[] array. Addresses Coverty CID 1457abs2006-03-171-3/+3
|
* 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.
* some makefile de-lintinglukem2002-09-181-2/+3
|
* MKfoo=no -> NOfoo=tv2001-12-121-5/+5
|
* Use setgid(), not setregid().mycroft2000-05-081-3/+3
|
* Improve snscore error handling.jsm2000-01-211-4/+7
|
* Security improvements for games (largely from or inspired by OpenBSD).jsm1999-09-121-2/+6
| | | | | | | | | | | | | | | 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.
* Check for failure of malloc() and calloc() at various places in the games.jsm1999-09-091-4/+5
|
* Add use of `const' where appropriate to the games.jsm1999-09-081-3/+3
| | | | | | | | | 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.
* convert from NOxxx= to MKxxx=no.lukem1999-02-131-2/+2
| | | include <bsd.own.mk> if testing a MKxxx variable.
* fix main() prototype, per PR#5867hubertf1998-09-111-6/+4
|
* const poisoning.mycroft1998-07-271-3/+3
|
* use CPPFLAGS instead of CFLAGSlukem1997-10-221-2/+2
|
* WARNSify, KNFifylukem1997-10-121-10/+13
|
* Various changes to make games compile w/o warnings on the alpha:cgd1995-04-241-2/+3
| | | | Include appropriate includes, delete bogus function declarations, change sizes of variables and casts.
* clean up import, NetBSD RCS Ids, etc.cgd1995-04-222-20/+25
|
* initialize variable!cgd1994-04-051-1/+2
|
* Add RCS identifiers.mycroft1993-08-011-1/+2
|
* Add RCS identifiers.mycroft1993-08-011-1/+2
|
* initial import of 386bsd-0.1 sourcescgd1993-03-212-0/+126