summaryrefslogtreecommitdiff
path: root/usr.sbin
AgeCommit message (Collapse)Author
2013-11-26import NSD 4.0.0, tests from Dorian Büttner, Patrik Lundin, requested by ↵Stuart Henderson
brad@
2010-01-15NSD v3.2.4Jakob Schlyter
2016-10-23For -d, if there is no modifier, don't go down the "longformat" path.Mark Kettenis
Fixes cases like "pstat -d x ticks" on armv7. ok jca@, deraadt@
2016-10-23unbreak by fixing obvious pastosChristian Weisgerber
2016-10-23No verbose flag for cd9660.Martin Natano
2016-10-23Remove the msdos no_create option.Martin Natano
2016-10-23Remove cd9660's keep-bad-images option.Martin Natano
2016-10-23Remove short option names for -o.Martin Natano
2016-10-23listen on inet6 sockets as well. we need this because stolen inet6 socketsTed Unangst
can't be redirected to inet4 listeners.
2016-10-22Dedup msdosfs/{bootsect.h,bpb.h}.Martin Natano
2016-10-22Teach tcpdump(8) how to read OpenFlow packets. This initial implementationRafael Zalamena
supports the following message types: hello, error, echo request/reply, feature request/reply, set config, packet-in, packet-out, flow removed and flow mod. We currently only support printing this messages for OpenFlow 1.3.5, however it is possible to reuse some functions and get other versions working too. ok deraadt@
2016-10-22-#include <stdbool.h>Martin Natano
2016-10-22various cleanup; ok natanoJason McIntyre
2016-10-22Get rid of remaining FFS byteswap function stubs.Martin Natano
2016-10-22More "debug" code that has to go.Martin Natano
2016-10-22Clean up timestamp handling code to be less confusing.Martin Natano
2016-10-22Remove huge amounts of debug code, that make the code nearly unreadable.Martin Natano
2016-10-22s/panic/errx/ This is userland.Martin Natano
2016-10-22Include our own <ufs/ufs/dinode.h>, <ufs/ufs/dir.h> and <ufs/ffs/fs.h>Martin Natano
header files instead of relying on copies of NetBSD's headers. This required some changes in the .c files, due to renamed fields, functions and preprocessor macros. Also pull in our own ffs_tables.c. As a bonus this diff gets rid of layout compatibility issues in the superblock (position of the fs_flags field).
2016-10-22Remove unused code for 4.3BSD format filesystems.Martin Natano
2016-10-22Use deterministic pseudo-random numbers when the -T flag is used; forMartin Natano
repeatable builds.
2016-10-22Avoid writing pointers to the disk (image).Martin Natano
2016-10-22string terminators are called NUL, not NULLTheo de Raadt
2016-10-22Fix copy-pasto in comment; from Rob Pierce (rob (at) 2keys.ca)Philip Guenther
2016-10-21- Use memset(*b, 0, len) instead of bzero(*b, len)Ricardo Mestre
- Use explicit_bzero(3) instead of bzero(3) to clean temporary HMAC OK krw@
2016-10-21Use the superblock passed to ffs_write_superblock() instead of referringMartin Natano
to the global 'sblock' variable for some operations.
2016-10-21Remove the superfluous 'sbsize' variable & s/sbsize/SBLOCKSIZE/.Martin Natano
2016-10-21whitespace; no functional changeMartin Natano
2016-10-21some text cleanup and remove an irrelevant note; ok florianJason McIntyre
2016-10-20some macro fixes for the options list;Jason McIntyre
2016-10-20try to make DESCRIPTION read like it was written for one program, not two;Jason McIntyre
ok florian
2016-10-20spread the Xr! as a bonus, typo fix in switchd.conf.5 too;Jason McIntyre
Xr diff from kapetanakis giannis
2016-10-20some readability fixes for the SWITCH CONFIGURATION section,Jason McIntyre
from edd barrett; while here, there seems to be three sections to the config file, not two;
2016-10-19enable makefsTheo de Raadt
2016-10-19There used to be disabled code that used /dev/tty to determine theTheo Buehler
terminal size. That code was removed a while ago, and now there is no longer any reason to open /dev/tty right before exiting init(). ok natano
2016-10-19add -F to usage() too;Jason McIntyre
2016-10-19document -F which somehow escaped documentationGilles Chehade
2016-10-18Check for EAGAIN on imsg_flush() return otherwise we might be failingRafael Zalamena
to send message to the child process. Do like we learned in httpd(8). ok deraadt@
2016-10-18Save the constraint process pid by getting the start_child() return value,Rafael Zalamena
this should fix the problem with random ntpd(8) deaths. ok deraadt@
2016-10-18"Terminate the session after number prefixes have been received" meansSebastian Benoit
that max-prefix 1 will close the session on the first prefix which is off by one to what one would expect. Change it to No. received > max-prefix, which is also in line with other implementations. Found by jbg@ and deraadt@. ok phessler@ deraadt@ henning@ claudio@
2016-10-18cleanup MakefileTheo de Raadt
2016-10-18Remove setprogname().Martin Natano
2016-10-18Only allow epoch timestamps for -T. A shared option for either using theMartin Natano
timestamps from a file or using an epoch timestamp is ridiculous.
2016-10-18Remove the -B flag. Most of the byteswapping code was tedu'd already.Martin Natano
2016-10-18Merge ufs/{ufs,ffs}/ into ffs/.Martin Natano
2016-10-18Merge fs/msdosfs/ and newfs_msdos/ into msdos/.Martin Natano
2016-10-18Merge fs/cd9660/ into cd9660.Martin Natano
2016-10-18When the guest OS gets a zero MAC address on a network interface, it shouldReyk Floeter
create a randomized locally administrated address. OpenBSD as a guest OS does this correctly but we cannot rely on it for other guests, so randomize the MAC address in vmd(8) on the host side if it is not specified by the user. I incremented the prefix by one to differentiate from the ones that are generated by OpenBSD in the kernel; fe:e1:bb:xx:xx:xx. OK deraadt@ mlarkin@
2016-10-17Add the option to specify an interface group per virtual switch as well;Reyk Floeter
this group will be added to all VM tap(4) interfaces in the switch. Tested by martijn@
2016-10-17unused variablesMartin Natano