| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
| |
Patches provided by Joel Baker in PR 22269, verified by myself.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
| |
- Init Random by time, not by pid
- Fix lossage with fire-spitting, monster-killing dragons
|
| |
|
| |
|
|
|
|
| |
Include appropriate includes, delete bogus function declarations,
change sizes of variables and casts.
|
| |
|
| |
|
|
|