summaryrefslogtreecommitdiff
path: root/sbin
AgeCommit message (Collapse)Author
2013-11-17Distinguish between inteldrm and radeondrm.Mark Kettenis
ok jsg@, miod@
2013-11-16Fix msgbuf_write() usage.Kenneth R Westerback
2013-11-15Include unistd.h as it is the standard location for getopt().Todd C. Miller
2013-11-15Cope with the EAGAIN API change for msgbuf_write()Mike Belopuhov
2013-11-14fix parameter types for x509 routinesTheo de Raadt
ok mikeb
2013-11-14ignore messages for other daemons, like isakmpd does; ok mikebMarkus Friedl
2013-11-14setup pfkey timer before use; ok mikebMarkus Friedl
2013-11-14pass caller to ca_sslerror for better error messages; ok mikebMarkus Friedl
2013-11-14verify EC points; from hshoexer; ok mikebMarkus Friedl
2013-11-14not need to specify OBJDIR; ok mikebMarkus Friedl
2013-11-14Add STANDARDS section to isakmpd(8).Anthony J. Bentley
tweaks/ok jmc@
2013-11-12satisfy proto requirementTheo de Raadt
2013-11-12add a variety of missing prototypesTheo de Raadt
2013-11-11unused variableTheo de Raadt
2013-11-11oops, forgot a #ifdef AOE in last commitTheo de Raadt
2013-11-11Shuffle function prototypes and extern declarations around toKenneth R Westerback
put local functions prototypes and variables in their .c files, and cross-file functions into .h files. Prompted by deraadt@.
2013-11-11incorrect %lld for an intTheo de Raadt
2013-11-11Nuke 'cur_time' variable used only to assign time(NULL) to a field.Kenneth R Westerback
2013-11-11Document that SO_DEBUG (-d flag) has no effect on OpenBSD.Jeremie Courreges-Anglas
Input from kettenis@, ok jmc@
2013-11-11Argh. Set 'to' address to INADDR_BROADCAST, not 'from' address,Kenneth R Westerback
when trying to send broadcast request to server.
2013-11-11RFC 2131 and friends state that when renewing a lease the clientKenneth R Westerback
will begin by using unicast communications with the server, and fall back to using broadcast packets if unicast fails. We were not failing back, but instead doggedly sticking with unicast attempts until the lease expired. Instead, try unicast requests for the reboot timeout interval and then switch to using broadcast requests. Problem reported by Marc Peters and Dennis den Brok via misc@. ok dlg@ millert@
2013-11-10Don't use p_size as if it was the full partition size, and don'tKenneth R Westerback
assume the disk sector size is 512-bytes. Use DL_GETPSIZE() to get correct partition sizes and DL_SECTOBLK() to turn disk sector values into 512-byte-block values.
2013-11-09Replace (int) = (size_t)(long) with (long long) = (long long) by replacingKenneth R Westerback
atol() with strtonum() and storing value of 's' parameter in long long variable instead of an int.
2013-11-05Fix ifconfig with IPv6 tunnel addresses which was broken by theAlexander Bluhm
vxlan(4) commit. found by todd@; OK reyk@
2013-11-05Replace direct references to p_size, p_offset and d_secperunit withKenneth R Westerback
DL_[GET|SET]PSIZE(), DL_[GET|SET]POFFSET(), DL_[GET|SET]DSIZE() in order to get|set correct value that includes the high bits of the value.
2013-11-04substantial namespace cleanup. Might go a little bit too far, but weTheo de Raadt
can expose some of the kernel structures with split .h files if need be. Discussed with various, including jsing.
2013-11-04remove iop(4) driver. it is entirely unmaintained and supports somethingTheo de Raadt
which basically doesn't exist at all. reminded about it by brad
2013-11-03Add missing (long long) cast of variable, (long long) castsKenneth R Westerback
for defines fragnum, fsbtodb, cgsblock, and cgdmin.
2013-11-02No need to cast constants or simple variables to (daddr_t). UseKenneth R Westerback
(u_int64_t) instead of (daddr_t) when casting a variable in an expression passed to DL_SETDSIZE(). Change a variable counting open files from daddr_t to int64_t. ok deraadt@ with the tweak to fix that pesky expression.
2013-11-01keep net/hfsc.h away from userspace, except in pfctlpelikan
tested by naddy, ok deraadt
2013-11-01Sprinkle (long long) casts where %lld is being used to print daddr_tKenneth R Westerback
variables. Some random whitespace/knf repairs encountered on the way. ok miod@ on inspection, feedback & more suggestions from millert@
2013-11-01altq -> new queue in examplesHenning Brauer
From: Arto Jonsson <ajonsson at kapsi.fi>
2013-10-31List all generated files in CLEANFILES.Ingo Schwarze
Issue mentioned by fgs@ on ICB. ok fgs@ bluhm@ krw@
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@