summaryrefslogtreecommitdiff
path: root/usr.sbin
AgeCommit message (Collapse)Author
2002-05-27unsigned to unsigned intTheo de Raadt
2002-05-26use sysctl to get ttl from the kernel; itojun okTheo de Raadt
2002-05-26sync with latest kame. KNF, port number simplification, and suchJun-ichiro itojun Hagino
2002-05-26missed two pid_t conversions; moritz@jodeit.orgTheo de Raadt
2002-05-26pid_t cleanupTheo de Raadt
2002-05-26pid_t cleanupTheo de Raadt
2002-05-26pid_cleanup, inspired by work by jason@ackley.netTheo de Raadt
2002-05-26pid_t cleanup; itojun okTheo de Raadt
2002-05-26with XXX, note a place we could maybe use arc4random()Theo de Raadt
2002-05-25fix usage; from Sam Smith <S@mSmith.net>.Federico G. Schwindt
2002-05-25__progname stuff; jason@ackley.netTheo de Raadt
2002-05-25incorrrect kill(); jason@ackley.netTheo de Raadt
2002-05-22unlink lpd.pid if killed by a signalTodd C. Miller
2002-05-22Use O_EXLOCK in open() instead of flock() to eliminate a potential lockingTodd C. Miller
race on the pid file.
2002-05-22Set close-on-exec flag for the socket cron selects on.Todd C. Miller
2002-05-22Remove pid file if sent SIGINT or SIGTERM before exiting.Todd C. Miller
2002-05-22o avoid stdio in acquire_daemonlock() so we don't leak FILE * memoryTodd C. Miller
o fix potential long vs. int mismatch in pid reading/writing. Note that we can't use pid_t for the type of the variable stashed in the pidfile since we don't have a scanf format for pid_t. Use long instead since we know pid_t can't be bigger than a long. o just return if closeflag is set, regardless of the value of fd o fix potential (unwinnable?) race locking the pid file pointed out by dynamo. Using O_EXLOCK is not portable but it does help in these situations.
2002-05-22more strcpy/sprintf death; mpech okTheo de Raadt
2002-05-21duplicated prototypeJun-ichiro itojun Hagino
2002-05-21minor KNF. plug a memory leak on reconfig.Jun-ichiro itojun Hagino
2002-05-21Better handling of negative timeval than last commit.Todd C. Miller
2002-05-21KNF before more major hackingTheo de Raadt
2002-05-21KNF; itojun okTheo de Raadt
2002-05-21cleanTheo de Raadt
2002-05-21KNFTheo de Raadt
2002-05-20Add a check for negative values in struct timeval after the timersub().Todd C. Miller
Just treat it like a zero value. Also check for errno != EINTR when select() returns -1.
2002-05-20Pull in useful bits from NetBSD and make our lp* easier to diff andTodd C. Miller
do some minor cleanup of my own: o IPv6 support o ANSI function headers o use getopt() o synce usage() with man pages o passes -Wall on both 32bit and 64bit platforms o add an option to set the max number of children lpd will fork off o add an lpd option to bind to specific addresses instead of INADDR_ANY. o allow user to specify how long to wait for a connection to remote servers o more strlcpy() and snprintf() usage o Use FOO_FILENO constants instead of hard-coding 0-2 o Add some keeps to man the page SYNOPSIS to avoid options being split
2002-05-19make pppd only executable by group networkTheo de Raadt
2002-05-19move to setgid network, and doc whyTheo de Raadt
2002-05-19Document RAD_MICROSOFT_MS_CHAP2_SUCCESS.brian
2002-05-18Update paths from 4.3BSD to 4.4BSD; partially from NetBSDTodd C. Miller
2002-05-17Bump the version number to reflect the latest MS-CHAP2 changesbrian
2002-05-17When modifying a group w/ no members with groupmod(8) the trailingTodd C. Miller
newline was not added. Reported by Rob Sessink, different fix by me.
2002-05-17Put back <string.h>brian
2002-05-17move setuid revocation closer to the start (make it more obvious); miod okTheo de Raadt
2002-05-16repair some warningsTheo de Raadt
2002-05-16More careful with select(). deraadt@ ok.Hakan Olsson
2002-05-16IPv6 support; itojun@Jakob Schlyter
2002-05-16more clarify and cleanup; ok jakob@Kevin Steves
2002-05-16#ifdef DEBUG some verbose output, may be moved to a -v flag later perhapsJakob Schlyter
2002-05-16Remove some unused includesbrian
2002-05-16Handle MS-CHAPv2 authentication correctly via the RADIUS server (if it'sbrian
configured). This doesn't yet work with MPPE. More to follow.
2002-05-16clarify protocol useTheo de Raadt
2002-05-16bit more KNFTheo de Raadt
2002-05-16various KNF, and mark some issuesTheo de Raadt
2002-05-16add support for SNTP & split out RFC868 time support. ok deraadt@Jakob Schlyter
2002-05-16remove non-POSIX stuff; miod okTheo de Raadt
2002-05-16KNFTheo de Raadt
2002-05-16Since now /var/run/apmdev socket will be root:operator.Mike Pechkin
Idea from form@. millert@ ok
2002-05-16make this static tooTheo de Raadt