summaryrefslogtreecommitdiff
path: root/sbin
AgeCommit message (Collapse)Author
2010-09-09- allow esp proposals without integrity and ah proposals withoutMike Belopuhov
encryption; - add additional nonce length field, use that for the ciphers that require additional keying material; - setup right flow direction depending on the mode: fixes up iked working as an initiator against charon. tested by me and jsg. ok reyk
2010-09-04Tried to get too fancy with the Makefile in a way that doesn't buildBret Lambert
correctly; changing keywords.sh still requires manual intervention. pointed out by sthen@
2010-09-04sort generated keywords in order to replace linear probe with bsearch(3)Bret Lambert
(more people should know about how to properly use libc-provided tools) make keywords.h depend upon keywords.sh, so that it gets automatically rebuilt when keywords.sh is edited ok claudio@
2010-09-03add an EXIT STATUS section for /sbin;Jason McIntyre
2010-09-02remove trailing spaces and tabs from source code; no binary changesIgor Sobrado
(verified by both sthen@ and me). ok sthen@; "just commit it" claudio@
2010-09-02remove trailing spaces and tabs; no binary change.Igor Sobrado
written with help from henning@, who suggested ensuring that there are no changes in the digests for object files, thanks! ok henning@
2010-08-27put .Os in the correct place;Jason McIntyre
2010-08-26document kern.consdev;Jason McIntyre
2010-08-26- fdisk(8), not fdisk(1)Jason McIntyre
- zap trailing whitespace
2010-08-24- plugs two fd leaksJasper Lievisse Adriaanse
ok millert@
2010-08-21Use .Dq for double quotes and properly .Xr fdisk(1).Ray Lai
OK jmc
2010-08-20Don't silently ignore errors if we cannot open the device. While I'm hereFederico G. Schwindt
simplify the code and apply some style(9). Discussed with and ok miod@
2010-08-19Introduce an MI kern.consdev sysctl that will replace the MDMark Kettenis
machdep.console_device that's only implemented on a few architectures. ok deraadt@, miod@
2010-08-12fix a few warnings. ok jsingTed Unangst
2010-08-12Print the real device name followed by the disklabel UID in parenthesisJoel Sing
when fsck is run against a disklabel UID. This allows a user to determine which device is really being scanned. ok krw@
2010-08-12correct a format string. not sure who thought size_t would be a good matchTed Unangst
for ccd size, though.
2010-08-11Fix a logic problem which could in theory cause pfctlJonathan Gray
to recursively print anchors with wildcards when not requested via the command line but in practice only applied to automatically generated inline anchors (which don't have wildcards) or when recursion was requested. Found by the clang static analyser and behaviour explained by mcbride@ ok henning@ mcbride@
2010-08-10Add support for t/T == terabyte units to -E. Prodded by deraadt@.Kenneth R Westerback
Semantically equivalent version ok beck@ millert@ and tested ckeuthe@. "just commit" deraadt@
2010-08-09Improve the editor prompt for the 'R' (resize) commandTheo de Raadt
from otto
2010-08-08get the mark up for `|' correct;Jason McIntyre
2010-08-08make disklabel -p slightly nicer by accepting capital letters and printingTed Unangst
a more useful error message for invalid ones. ok deraadt
2010-08-07disable lidsuspend when we are powering downPeter Hessler
"I like this" marco@, "Sure" deraadt@
2010-08-04fixup keylength for aes-128-cbc in quickmodeTheo de Raadt
from mikeb
2010-08-03fix linecount bug with comments spanning multiple linesHenning Brauer
problem reported with the obvious fix for bgpd by Sebastian Benoit <benoit-lists at fb12.de>, also PR 6432 applied to all the others by yours truly. ok theo isn't it amazing how far this parser (and more) spread?
2010-08-03Group string comparisons and supply more helpful comments. AddKenneth R Westerback
"total sectors" to "boundstart" and "boundend" in the list of fields that are left alone during a RESTORE operation. ok deraadt@
2010-08-03Start with the default label when RESTORE'ing a saved ascii label.Kenneth R Westerback
This ensures that all physical fields are filled in with current values. Lack of values (boundstart, boundend in particular) noted by ray@. ok deraadt@
2010-07-29Print a column with the routing label if "netstat -vr" or "routeAlexander Bluhm
-v show" are called with the -v switch. ok markus@
2010-07-29some error cases returned 01 when they should have been returning -1Jonathan Gray
spotted by Mike Belopuhov.
2010-07-28Change back to the pre rev 1.11 behaviour of not treating unexpectedJonathan Gray
id payloads as errors. Lets interop with strongSwan which sends both IDi and IDr work again.
2010-07-27Align FFS filesystem start and end sectors so the start is on aKenneth R Westerback
bsize boundary and the end fills up the last bsize chunk. Don't change the start sector if it is the first sector of the OpenBSD portion of the disk. Don't attempt to align on SUN_CYLCHECK architectures. They are attempting a different alignment. This is an attempt to ensure that FFS i/o's are aligned for optimal performance on newer disks that lie about their sector size.
2010-07-27Nuke 'sectoffset'. A stub variable no longer used except to supplyKenneth R Westerback
the value 0 to one function call. Use 0 there, eliminate the variable and the pointless verbose verbiage that always displayed the same value. ok deraadt@ matthew@
2010-07-24mount -f doesn't help mfs, but it doesn't hurt, so stop warning about it.Ted Unangst
ok deraadt
2010-07-23Block all signals before sending SIGTERM to all non-system processes.Todd C. Miller
This ensures that we reach the call to reboot(2) without being killed by some other process. OK deraadt@ nicm@
2010-07-22Don't deref a NULL pointer if tap or tag are not specified in theJonathan Gray
config file.
2010-07-20opration -> operationMiod Vallat
2010-07-20two iterators should be u_int; ok jsgTheo de Raadt
2010-07-18get the markup right for [-]commandJason McIntyre
2010-07-16fix up the mini synopses in the subsections; fix from ingoJason McIntyre
2010-07-14handle printing of RTM_DESYNC in route monitor.David Gwynne
reviewed by deraadt@ written by sthen@ who said i should commit it cos he was going to sleep.
2010-07-13Fix (pflow) display in rule printing. Spotted by dhill@, ok henning@Stuart Henderson
2010-07-10Eliminate some unnecessary #include lines.Matthew Dempsky
"sure" marco@
2010-07-09kill redundant docheck() function; ok deraadt@Otto Moerbeek
2010-07-09Avoid crashes by using correct types for block numbers, which can growOtto Moerbeek
large on very large filesystems; reported by Benny Lofgren; partly from FreeBSD. ok deraadt@ beck@ millert@
2010-07-08802.1X is unsupported; from Christopher Zimmermann (tweakedJason McIntyre
version of his diff to tech@ committed);
2010-07-05improve description for -i; as a consequence of recent changes,Igor Sobrado
OpenBSD MBR partition does not span from sector 1 after MBR partition data is re-initialized. written with lot of good advice from deraadt@ and jmc@ ok deraadt@
2010-07-04make ^D handling consistant in fdisk by just bailing out instead ofAlexander Hall
returning a magic value that is not even handled as such by the caller ok krw@
2010-07-03Better non-debug logging messages when a session is established/closed.Reyk Floeter
2010-07-03Fix the naming of interfaces and variables for rdomains and rtablesPhilip Guenthe
and make it possible to bind sockets (including listening sockets!) to rtables and not just rdomains. This changes the name of the system calls, socket option, and ioctl. After building with this you should remove the files /usr/share/man/cat2/[gs]etrdomain.0. Since this removes the existing [gs]etrdomain() system calls, the libc major is bumped. Written by claudio@, criticized^Wcritiqued by me
2010-07-03Fix a couple of problems with printing of anchors, in particular recursiveRyan Thomas McBride
printing, both of inline anchors and when requested explicitly with a '*' in the anchor. - Correct recursive printing of wildcard anchors (recurse into child anchors rather than rules, which don't exist) - Print multi-part anchor paths correctly (pr6065) - Fix comments and prevent users from specifying multi-component names for inline anchors. tested by phessler ok henning
2010-07-03Use our own enum here rather than abusing the PF rule type enums, whichRyan Thomas McBride
will be getting cleaned up soon. ok henning