summaryrefslogtreecommitdiff
path: root/sbin
AgeCommit message (Collapse)Author
2013-10-31Make sure -v output is properly aligned with the normal output.Mark Kettenis
2013-10-28kill kame version symbols and sysctlTheo de Raadt
ports tree grep run by sthen
2013-10-28use %d instead of %i in a few fprintf for clarityTheo de Raadt
2013-10-27If a constant string needs a name, use a static const array instead of aPhilip Guenther
pointer or non-const array, as that minimizes the symbols, maximizes the placement into read-only memory, and avoids warnings from gcc -Wformat=2 when they're used as format strings. ok deraadt@
2013-10-24no need for netinet/ip_var.h (and friends)Theo de Raadt
2013-10-23Add support for displaying the cache write policy of RAID volumes to bioctl(8)Mark Kettenis
and make mfi(4) pass up the necessary information. Adding support for other RAID controllers is left as an excercise to the reader. ok deraadt@
2013-10-22Save 'next-server' (a.k.a. siaddr) info in leases file. Saving theKenneth R Westerback
file name without the server address seems silly. Tested & ok uwe@
2013-10-22- add UNIX-domain socket info to struct kinfo_file2Philip Guenther
- convert netstat from kvm_getfiles() to kvm_getfile2() using that - delete kvm_getfiles() and KERN_FILE as no longer used (bump libkvm's major) - rename kvm_getfile2() to kvm_getfiles(), kinfo_file2 to kinfo_file and KERN_FILE2 to KERN_FILE. ok deraadt@, millert@ ports scan sthen@
2013-10-21More rdomain / rtable support for useful diagnostic toolsPeter Hessler
OK claudio@ bluhm@
2013-10-21improve on last commit: take 10% for swap, with a max of physmem plus a bitOtto Moerbeek
2013-10-20Introduce write-only (for now) display.font parameter, which issues aMiod Vallat
WSDISPLAYIO_USEFONT ioctl, asking the wsdisplay driver to change its current display font to the one requested (by name).
2013-10-20WSDISPLAYIO_GTYPE ioctl support for KMS drivers. ok jsg@Miod Vallat
2013-10-19fix obvious .An formatting errorsIngo Schwarze
found while working on mandoc apropos
2013-10-18allow more space for swap with big disks, useful for hibernation;Otto Moerbeek
requested by deraadt@
2013-10-18Prepare the route(8) command for printing 64 bit route expire time.Alexander Bluhm
Also fix the conversion between relative and absolute expire time. OK claudio@
2013-10-17cannot have queue definitions inside anchors.Henning Brauer
don't attempt to load them and err out if we run into one ran into by Gregor Best <gbe@@ring0.de>, analysis & fix your's truly
2013-10-17The header file netinet/in_var.h included netinet6/in6_var.h. ThisAlexander Bluhm
created a bunch of useless dependencies. Remove this implicit inclusion and do an explicit #include <netinet6/in6_var.h> when it is needed. OK mpi@ henning@
2013-10-15The disklabel variables aflag and dflag are boolean, use logicalAlexander Bluhm
instead of binary operators for comparison. OK krw@
2013-10-15remove last bits of a.out supportTheo de Raadt
2013-10-13whitespaceReyk Floeter
2013-10-13Pass NI_DGRAM to getnameinfo() to use UDP tunnel service names.Reyk Floeter
2013-10-13tweak previous;Jason McIntyre
2013-10-13Import vxlan(4), the virtual extensible local area network tunnelReyk Floeter
interface. VXLAN is a UDP-based tunnelling protocol for overlaying virtualized layer 2 networks over layer 3 networks. The implementation is based on draft-mahalingam-dutt-dcops-vxlan-04 and has been tested with other implementations in the wild. put it in deraadt@
2013-10-12config bits for the bandwidth shaping part of the new queueing subsystemHenning Brauer
syntax worked out with many in ljubljana using a whiteboard, testing & looking over by many, ok phessler sthen
2013-10-09Change "physical address" to "tunnel:" in ifconfig's tunnel addressReyk Floeter
output. This is more consistent with the current ifconfig style and matches the "tunnel" configuration command. ok claudio@ jmc@ deraadt@
2013-10-09Make sure that pfctl_state_store() frees the inbuf pointer and closesLawrence Teo
the state file before returning. ok henning
2013-10-08Keep disk sector calcuations in u_int64_t as long as possible, andKenneth R Westerback
avoid using a daddr_t variable to hold a disk sector value even temporarily. No intentional functional change.
2013-10-07Say 'fragments' where fragments are meant. Divide by DEV_BSIZEKenneth R Westerback
to convert from bytes to DEV_SIZE. ok otto@ zhuk@ (for his chunk)
2013-10-07Show number of sectors, not the number of 512-byte blocks, whenKenneth R Westerback
saying "n sectors of m bytes". Issue pointed out by David Vasek on misc@. Thanks!
2013-10-07Oops. Too mechanical -- can't use DL_SECTOBLK() to set fssize, sinceKenneth R Westerback
command line sector size overrides disk label sector size. Add a comment to make sure I don't do it again.
2013-10-06daddr_t tweaks. %lld -> %llu, intermediate disk sector calculationKenneth R Westerback
variable, drop pointless casts, vax-only sector variable to u_int64_t. No intentional functional change.
2013-10-06daddr_t comment tweak and whitespace fix.Kenneth R Westerback
2013-10-03Print u_int64_t variables with %llu.Kenneth R Westerback
2013-09-26Removed a break of a switch-case, which had not been removed in the last commit.Patrick Wildt
No functional change.
2013-09-26After some manipulations with the buffer, ike message header (hdr)Mike Belopuhov
might no longer point to the same memory as before. The bug was reported and fix was tested by LEVAI Daniel. Thanks!
2013-09-23Revert. It seems people don't agree about which device should be used.Antoine Jacoutot
req. by krw@ millert@
2013-09-23cd0a -> cd0c for consistency with the FAQ.Antoine Jacoutot
discussed with and ok miod@
2013-09-13pflow(4) does not work without flowsrc set.Florian Obser
OK benno@
2013-09-13errx() provides its own newline, so remove it from the string hereBret Lambert
ok henning@
2013-09-12Misc time_t tweaks. %ld / (long)tv_sec -> %lld / (long long)tv_sec.Kenneth R Westerback
Eliminate unneeded casts. suggestions from & ok millert@ guenther@
2013-09-10The rule is: daddr_t variables hold counts of 512-byte blocks, a.k.a.Kenneth R Westerback
DEV_BSIZE blocks. Counts of possibly other-sized blocks (e.g. disk sector addresses) are u_int64_t. The values stored in disklabels are counts of possibly other-sized blocks and hence should be handled with u_int64_t variables. Start enforcing this rule. No intended functional change. Rule strongly suggested by deraadt@
2013-09-09Calculate the lease time fields (expiry, renew, rebind) afterKenneth R Westerback
applying the option directives (ignore, default, supersede) from dhclient.conf. This allows the options dhcp-lease-time, dhcp-rebinding-time, and dhcp-renewal-time to be controlled via dhclient.conf. Also set BOOTP lease times by faking up these options rather than crudely jamming in fixed times, allowing them to become configurable via dhclient.conf. Imperviousness of the time options pointed out by todd@.
2013-08-25the comment that comma characters cannot be used in transformMike Belopuhov
names in ike_section_p2 applies to phase-1 transforms as well.
2013-08-22this full stop has lost its way...Jason McIntyre
2013-08-19Add missing util.hDavid Coppa
ok otto@ mpi@ mikeb@
2013-08-18Fix calls to printf-like functions which passed a non-fixed stringPhilip Guenther
as the format and no variable args. Replace "%#0.*X" with "%#.*X": the zero-fill flag is ignored/implied on numeric conversions when a precision is specified. ok jung@ millert@ krw@
2013-08-17Do not create a route to the bound address via 127.0.0.1. Our stackKenneth R Westerback
should be able to correctly short-circuit packet routing to local addresses without this. Requested by many over the years, most recently chrisz@. Get it in early to see if anything does break. ok claudio@ henning@
2013-08-16Replace the misleading SIOC{G,S}IFGENERIC ioctls by SIOCG{G,S}PPPPARAMS.Martin Pieuchot
This is another ABI break but no port rely on them as verified by naddy@. ok claudio@, mikeb@, henning@
2013-08-14Only skip address deleting/adding and route deleting/adding onFlorian Obser
identical lease when we are in state S_RENEWING. Otherwise we can end up without an IP address on the interface because dhclient thinks it's still there and doesn't add it. Found the hard way during suspend/resume. OK krw@
2013-08-14one more Mt; from jan staryJason McIntyre