Commit Graph

23 Commits

Author SHA1 Message Date
joerg 4511a017c1 Use __dead 2011-08-29 20:30:36 +00:00
dholland 5305281b0c sprinkle static 2009-08-12 08:21:41 +00:00
lukem 2fe2731d3f Remove the \n and tabs from the __COPYRIGHT() strings. 2008-07-20 00:52:39 +00:00
jsm cb5fd8342e Remove uses of __P. 2004-01-27 20:30:28 +00:00
agc e5aeb4ea46 Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22269, verified by myself.
2003-08-07 09:36:50 +00:00
atatat 4ed80a293f Tweak the argc/argv usage a bit more, and be a little less eager about
printing newlines.
2002-11-26 23:07:36 +00:00
kim 42bac90a9b Don't skip the first arg. 2002-11-26 21:39:18 +00:00
kim 1de005168e initialize dflag to zero, so encoding works. 2002-11-26 21:34:07 +00:00
kim 291eba3888 I forgot to compile first... 2002-11-26 03:49:53 +00:00
kim 1449836728 Add ppt decoding from Michael Shalayeff <mickey@lucifier.net> 2002-11-26 03:47:45 +00:00
lukem bcf4617b61 some makefile de-linting 2002-09-18 06:16:39 +00:00
tv a2291b79c0 MKfoo=no -> NOfoo= 2001-12-12 00:07:45 +00:00
matt 3233065035 More include additions for exit, abs, strcmp, etc. 2000-07-03 03:57:39 +00:00
mycroft f9eca6973d Use setgid(), not setregid(). 2000-05-08 07:55:59 +00:00
jsm 94964991c0 Print a space character on the tape between each command line argument.
Bug fix from OpenBSD.
1999-12-16 13:38:28 +00:00
jsm 5367f3400c 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.
1999-09-12 09:02:20 +00:00
lukem dcab0210a0 convert from NOxxx= to MKxxx=no.
include <bsd.own.mk> if testing a MKxxx variable.
1999-02-13 02:54:17 +00:00
lukem 5ab1a671e5 WARNSify 1997-10-10 16:38:40 +00:00
cgd 42fb1b9d4a merge with Lite, new RCS id conventions, etc. 1995-03-23 08:28:00 +00:00
mycroft 8542364e07 Add RCS identifiers. 1993-08-01 18:49:50 +00:00
mycroft cda4f8f6ee Add RCS identifiers. 1993-08-01 05:37:30 +00:00
mycroft f7f4b85ce9 Cleanup for GCC 2. 1993-04-18 21:52:18 +00:00
cgd 61f282557f initial import of 386bsd-0.1 sources 1993-03-21 09:45:37 +00:00