| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Suggested by Joerg.
XXX There are probably many more that have their progname hard-coded, but
XXX I'm not up for a wholesale roto-till at the moment.
|
| |
|
|
|
| |
next curses call
|
| |
|
| |
|
|
|
| |
From Slava Semushin <slava.semushin@gmail.com>, via private mail
|
|
|
| |
Addresses Coverity CID 930
|
|
|
|
| |
reported by Malcolm Parsons <malcolm@ivywell.screaming.net> in Debian
bug 84852.
|
| |
|
|
|
| |
Patches provided by Joel Baker in PR 22269, verified by myself.
|
|
|
|
| |
called twice in a game if a bonus occurs. Patch from Malcolm Parsons
<malcolm@ivywell.screaming.net>.
|
| |
|
| |
|
|
|
| |
Includes bugfixes 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.
|
|
|
| |
the games.
|
|
|
|
|
|
|
|
|
|
|
|
| |
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).
Most noreturn attributes were previously added in bin/6144, with some
others that were missed then in bin/8082. Previous `unused'
attributes were covered in bin/6557, bin/8058 and other PRs (all these
PRs have already been handled and closed).
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
| |
Include appropriate includes, delete bogus function declarations,
change sizes of variables and casts.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|