#
1252cf5e |
| 25-Jul-2021 |
dholland <dholland@NetBSD.org> |
Flush input to EOL correctly in games/fish.
PR 54885 from Mouse, with a somewhat different patch.
|
#
a4dd572a |
| 02-May-2021 |
rillig <rillig@NetBSD.org> |
fish: remove trailing whitespace
|
#
b3bc14ee |
| 02-May-2021 |
rillig <rillig@NetBSD.org> |
fish: use arc4random_uniform for drawing random numbers
Thanks nia@ for the hint.
|
#
56ca8721 |
| 01-May-2021 |
rillig <rillig@NetBSD.org> |
fish: remove modulo bias from random number generation
It probably doesn't matter in practice, but omitting this piece of code always looks like an oversight.
|
#
f11c1d61 |
| 05-Mar-2018 |
eadler <eadler@NetBSD.org> |
[fish] don't allow users to request cards they have made books for
While here, don't re-renter pro mode
PR bin/52973
ok maya@ dh@
|
#
ea7ebc38 |
| 01-Sep-2011 |
plunky <plunky@NetBSD.org> |
reinstate NULL cast by request, where the NULL was being passed as a vararg
|
#
4a1b3429 |
| 31-Aug-2011 |
plunky <plunky@NetBSD.org> |
NULL does not need a cast
|
#
e0ba63fe |
| 12-Aug-2009 |
dholland <dholland@NetBSD.org> |
sprinkle static
|
#
2fe2731d |
| 20-Jul-2008 |
lukem <lukem@NetBSD.org> |
Remove the \n and tabs from the __COPYRIGHT() strings.
|
#
8b0f9554 |
| 15-Dec-2007 |
perry <perry@NetBSD.org> |
convert __attribute__s to applicable cdefs.h macros
|
#
4f50e1e4 |
| 02-Jul-2005 |
jmc <jmc@NetBSD.org> |
KNF conversion
|
#
b91a81ab |
| 15-Feb-2005 |
jsm <jsm@NetBSD.org> |
Cast last argument of execl to (char *).
Reviewed by <hubertf>.
|
#
cb5fd834 |
| 27-Jan-2004 |
jsm <jsm@NetBSD.org> |
Remove uses of __P.
|
#
e5aeb4ea |
| 07-Aug-2003 |
agc <agc@NetBSD.org> |
Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22269, verified by myself.
|
#
f9eca697 |
| 08-May-2000 |
mycroft <mycroft@NetBSD.org> |
Use setgid(), not setregid().
|
#
d344de0b |
| 28-Mar-2000 |
tron <tron@NetBSD.org> |
Use an equal probability single draw algorithm to get card from deck. Patch supplied by John Darrow in PR bin/9651.
|
#
25688c04 |
| 22-Sep-1999 |
jsm <jsm@NetBSD.org> |
Use the function usage().
|
#
5367f340 |
| 12-Sep-1999 |
jsm <jsm@NetBSD.org> |
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 shoul
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.
show more ...
|
#
092d3130 |
| 08-Sep-1999 |
jsm <jsm@NetBSD.org> |
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 b
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.
show more ...
|
#
148eb780 |
| 14-Jul-1999 |
hubertf <hubertf@NetBSD.org> |
This patch makes fish(6) honour PAGER for viewing the instructions. The detailed behaviour follows POSIX.2. A similar patch for wump(6) which was accepted is in bin/6699. Fish does not need any set
This patch makes fish(6) honour PAGER for viewing the instructions. 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>
show more ...
|
#
a9a6e776 |
| 24-Apr-1999 |
kristerw <kristerw@NetBSD.org> |
Buffer overflow fix (from OpenBSD)
|
#
1c9494f6 |
| 13-Sep-1998 |
hubertf <hubertf@NetBSD.org> |
mark non-returning functions (PR#6144 by Joseph Myers <jsm28@cam.ac.uk>)
|
#
732b3681 |
| 16-Nov-1997 |
christos <christos@NetBSD.org> |
PR/4489: Mika Nystroem: Security hole exec'ing more in fish instructions.
|
#
f1b992e3 |
| 10-Oct-1997 |
lukem <lukem@NetBSD.org> |
WARNSify
|
#
42fb1b9d |
| 23-Mar-1995 |
cgd <cgd@NetBSD.org> |
merge with Lite, new RCS id conventions, etc.
|