summaryrefslogtreecommitdiffstats
path: root/rogue/machdep.c
Commit message (Collapse)AuthorAgeFilesLines
* Get all the games compiling for iOSCameron Katri2021-02-221-0/+1
|
* Fix misspelling of acceptible (it's only acceptable with an 'a', not an 'i').mbalmer2012-12-011-3/+3
|
* 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-3/+3
|
* ANSIfy. Remove unnecessary casts. Clean up for -Wsign-compare. Make moredholland2008-01-141-38/+26
| | | | things file-static. Other minor tidyups, and fix a couple minor bugs found along the way.
* Whitespace/KNF nits.dholland2008-01-141-12/+12
|
* Comprehensive (or at least extensive) string handling cleanup for rogue.dholland2007-12-271-9/+20
| | | | | | | | This patch dates (mostly) back to 2002; the critical parts of it were handled back then by security-officer. As far as I know, there's nothing exploitable fixed herein. A slightly earlier version of this patch was reviewed by Christian Biere when I filed it as PR 34750.
* It's "its."snj2006-04-241-3/+3
|
* Cast last argument of execl to (char *).jsm2005-02-151-3/+3
| | | Reviewed by <hubertf>.
* 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.
* Remove rogue's old and bit-rotten cut-down version of curses.jsm1999-09-131-114/+5
|
* Security improvements for games (largely from or inspired by OpenBSD).jsm1999-09-121-6/+5
| | | | | | | | | | | | | | | 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.
* constify, per PR 6148hubertf1998-11-101-8/+8
|
* const poisoning.mycroft1998-07-271-3/+3
|
* As per PR bin/5806 by Joseph Myers <jsm28@cam.ac.uk>/lash@tellabs.com:hubertf1998-07-211-3/+6
| | | | - Init Random by time, not by pid - Fix lossage with fire-spitting, monster-killing dragons
* WARNSify (not an insignificant task...)lukem1997-10-121-20/+33
|
* Use POSIX tty semantics.mycroft1995-04-281-99/+10
|
* Various changes to make games compile w/o warnings on the alpha:cgd1995-04-241-4/+4
| | | | Include appropriate includes, delete bogus function declarations, change sizes of variables and casts.
* clean up import, NetBSD RCS Idscgd1995-04-221-24/+22
|
* Add RCS identifiers.mycroft1993-08-011-1/+2
|
* initial import of 386bsd-0.1 sourcescgd1993-03-211-0/+681