summaryrefslogtreecommitdiffstats
path: root/fish/fish.c
Commit message (Collapse)AuthorAgeFilesLines
* [fish] don't allow users to request cards they have made books foreadler2018-03-051-6/+16
| | | | | | | While here, don't re-renter pro mode PR bin/52973 ok maya@ dh@
* reinstate NULL cast by request, where the NULL was being passed as a varargplunky2011-09-011-3/+3
|
* NULL does not need a castplunky2011-08-311-4/+4
|
* sprinkle staticdholland2009-08-121-38/+38
|
* Remove the \n and tabs from the __COPYRIGHT() strings.lukem2008-07-201-4/+4
|
* convert __attribute__s to applicable cdefs.h macrosperry2007-12-151-3/+3
|
* KNF conversionjmc2005-07-021-34/+18
|
* Cast last argument of execl to (char *).jsm2005-02-151-3/+3
| | | Reviewed by <hubertf>.
* Remove uses of __P.jsm2004-01-271-18/+18
|
* 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.
* Use setgid(), not setregid().mycroft2000-05-081-3/+3
|
* Use an equal probability single draw algorithm to get card from deck.tron2000-03-281-17/+19
| | | Patch supplied by John Darrow in PR bin/9651.
* Use the function usage().jsm1999-09-221-4/+3
|
* Security improvements for games (largely from or inspired by OpenBSD).jsm1999-09-121-3/+4
| | | | | | | | | | | | | | | 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.
* Add use of `const' where appropriate to the games.jsm1999-09-081-12/+12
| | | | | | | | | 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.
* This patch makes fish(6) honour PAGER for viewing the instructions.hubertf1999-07-141-6/+18
| | | | | | | | The detailed behaviour follows POSIX.2. A similar patch for wump(6) which was accepted is in bin/6699. Fish does not need any setgid privileges it gets from dm, so this patch also moves the gid resetting earlier. Reported in PR 7986 by Joseph Myers <jsm28@cam.ac.uk>
* Buffer overflow fix (from OpenBSD)kristerw1999-04-241-3/+3
|
* mark non-returning functions (PR#6144 by Joseph Myers <jsm28@cam.ac.uk>)hubertf1998-09-131-3/+3
|
* PR/4489: Mika Nystroem: Security hole exec'ing more in fish instructions.christos1997-11-161-6/+22
|
* WARNSifylukem1997-10-101-16/+49
|
* merge with Lite, new RCS id conventions, etc.cgd1995-03-231-7/+12
|
* Add RCS identifiers.mycroft1993-08-011-1/+2
|
* initial import of 386bsd-0.1 sourcescgd1993-03-211-0/+429