summaryrefslogtreecommitdiff
path: root/sbin
AgeCommit message (Collapse)Author
2007-09-03malloc(n * m) -> calloc(n, m); ok espieTheo de Raadt
2007-09-03Typos from miod. 'specificed' -> 'specified' in some comments and man page.Kenneth R Westerback
2007-09-02more malloc(n * m) -> calloc(n, m); from Igor ZinovikTheo de Raadt
2007-09-02use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsgTheo de Raadt
2007-08-30add support for address ranges ("from 10.1.2.50 - 10.1.3.75") in from/toDaniel Hartmeier
criteria. ok mcbride@
2007-08-25missing free, Igor Zinovik <zinovik@cs.karelia.ru>Henning Brauer
2007-08-21no need to include both sys/types.h and params.hHans-Joerg Hoexer
2007-08-15Remove a superflous debug fprintf.Hans-Joerg Hoexer
2007-08-14make default_lease_time a #define; ok krw@ henning@Kevin Steves
2007-08-11Kill a couple of 'echo' statements that can never produce visibleKenneth R Westerback
output. i.e. not visible on the screen, nor in any log. If nothing else, makes dhclient-script smaller for install media. 'yesh kill' (sic) henning@
2007-08-11Do not complain about being not able to read non-existing files. MinorHans-Joerg Hoexer
glitch introduced by previous commit. ok markus@
2007-08-10duplicate strdup; ok hshoexerMarkus Friedl
2007-08-07m_priv_req_readdir(): check file type after fstat, since d_typeMarkus Friedl
is not passed over NFS (unless readdir+ is used). fixes pr 5557 with and ok hshoexer@
2007-08-06the ellipsis is not an optional argument; while here, sync the usageIgor Sobrado
and synopsis of commands lots of good ideas by jmc@ ok jmc@
2007-08-05Allow key exchange with RSA signature authentication to work withTom Cosgrove
Cisco IOS and other initiators that only send their certs in response to CERT_REQUEST. With input and help from cloder@, Stuart Henderson, mpf@, and several others who did lots of testing - thanks to all. ok hshoexer@
2007-08-01cats went awayTheo de Raadt
2007-08-01cats went awayTheo de Raadt
2007-07-31Use correct function name in log message. Noticed by Igor ZinovkHans-Joerg Hoexer
zinovik@cs.karelia.ru. Thanks!
2007-07-31oops, forgot to include the man page tweaks from jmc@Pierre-Yves Ritschard
2007-07-31When setting the vlandevice without specifying a tag, infer the tagPierre-Yves Ritschard
from the interface name, this allows constructs like: ifconfig vlan15 vlandev smth0 ok reyk@, ``makes sense'' henning@
2007-07-30strlen returns size_t.Pierre-Yves Ritschard
ok henning, mbalmer.
2007-07-30avoid segfault when empty string is passed as interface name.Pierre-Yves Ritschard
ok henning@
2007-07-26use calloc() instead of malloc(); zinovik@cs.karelia.ruTheo de Raadt
2007-07-24Sync closer to netstat/show.c this removes also the unneeded variableClaudio Jeker
noticed by Igor Zinovik.
2007-07-24rearrange newline printing code during editor startup; ok millert krwTheo de Raadt
2007-07-21Check the rtm_version before trying to print an entry. If the rtmsg has aClaudio Jeker
different version skip it and don't try to print it. Solves a SIGSEGV I have triggered with one of my scarier diffs. OK henning@
2007-07-19kern.timecounter.timestepwarnings may be altered; from Kristaps DzonsonsJason McIntyre
2007-07-18hw.sensors is a tree, so describe/expand it as such; 'put it in' jmc@Constantine A. Murenin
2007-07-18eliminate duplicate code to open lease file and just open atKevin Steves
startup; ok krw@ henning@
2007-07-17remove m68k gcc workaround now that the gcc fix is in; ok miod@Todd C. Miller
2007-07-17rmoev the macppc workaround, now that isset() and friends use expressionsOtto Moerbeek
that gcc likes better
2007-07-17sync swapon usage(); from Igor ZinovikJason McIntyre
2007-07-17do not try to list which options go with -p: the list is currently out ofJason McIntyre
date, and even if i update it, it will obsolete itself if we add or remove options. it works when it makes sense, like it should. after a request from Igor Zinovik
2007-07-16Remove dead code and fix incorrect comment. From Igor Zinovik.Todd C. Miller
2007-07-16No need to include <sys/param.h> or <errno.h>. Also reorder includesTodd C. Miller
while here. Adapted from a diff by Igor Zinovik.
2007-07-11ffs2 support from FreeBSD. Tested by jmc@ and kili@Todd C. Miller
2007-07-11put -q in the right place;Jason McIntyre
2007-07-10implement -q to query a scsi disk for its inquiry data (vendor, model,Henning Brauer
revision, serial #) and print that. when the default bio ioctl fails with ENOTTY because the given disk is not on a bio-supported raid controller, fall back to -q. use strnvis to sanitize inquiry data so it is safe to use in scripts. ok deraadt
2007-07-09correct a typo in an error message.Thordur I. Bjornsson
use realpath(3) to sanitize the path we're going to work with, prevents silly errors when passing ncheck_ffs paths from the shell with a trailing '/' since that doesnt match the entry in fstab. ok deraadt@,krw@
2007-07-09disable specific gcc optimization that triggers the gcc bugTodd C. Miller
2007-07-09Use -O1 for m68k to work around a gcc optimizer bugTodd C. Miller
2007-07-09remove -WallTodd C. Miller
2007-07-07Pull in ffs2 support and other updates from FreeBSD. OK deraadt@Todd C. Miller
2007-07-07Initialize the first 2 block's worth of inodes for ffs1 as well as ffs2.Todd C. Miller
This was not happening since acg.cg_initediblk gets cleared for the ffs1 case. OK otto@
2007-07-04workaround for [daddr64_t] issue; worked on mostly by otto, wee bit by meTheo de Raadt
2007-07-04another mbr partition type; fgschTheo de Raadt
2007-07-03Correct the '-i' parameters in the examples. The '64' in the -c stringsKenneth R Westerback
is a hex value, so '-i 64' does not allocate enough space. Use '-i 0x64' instead. Found by henning on boxes using ahd/ahc.
2007-07-03allow proto esp/ah in flow specification (especially useful for bypass flows)Markus Friedl
ok hshoexer, mpf
2007-07-01states here too not stateHenning Brauer
2007-06-30allow states instead of just state for -s and -F for consistency's sake.Henning Brauer
since only the first letter matters in the end and state still matches states since we do strncmp this does not change xisting behaviour and just allows plural states to be used as well. pt out by Tom Van Looy <tom@ctors.net>