summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-09-10- call usbd_deactivate() rather than simply returning in case of errorsJasper Lievisse Adriaanse
- explicitly clear sc_xfer upon detach - fix spacing in urng_softc definition
2017-09-10sysctl strings include the termingating NUL character in both in and out lengthsTom Cosgrove
Prompted by Nan Xiao noticing the redundancy of bzero+termination - thanks. ok deraadt@
2017-09-10Apply timeout to CAN and RS which also wait for ST.Nicholas Marriott
2017-09-10Use monotonic clock for statistics display. From Scott Cheloha.Theo Buehler
ok dlg
2017-09-09Tweak extract_classless_route() to return unsigned intKenneth R Westerback
and accept NULL pointers for unwanted components of the route.
2017-09-09Remove path support from perl OpenBSD::PledgeAndrew Fresh
ok guenther@ deraadt@ giovanni@
2017-09-09When inserting a newline, only increment dotline for windows that areFlorian Obser
displaying the same buffer as the current one. From Martin Wanvik (martin.kr.wanvik AT gmail), thanks! OK bcallah
2017-09-09Rework pflogd(8)'s fork+exec model; re-exec the unpriv child, not theBryan Steele
privileged parent. Based on feedback from deraadt@ and bluhm@ (worked on syslogd). ok deraadt@
2017-09-09fix capitalization of "Altus Metrum"Jasper Lievisse Adriaanse
from Raf Czlonka
2017-09-09Remove superfluous mprotect()ing of the PLT that's been obsoleted byPhilip Guenther
the generic handling of RWX segments. ok aoyama@
2017-09-08Whoops, remove extra include.Bryan Steele
2017-09-08fork+exec model for tcpdump(8); re-exec the privileged child after forkBryan Steele
While tcpdump isn't a daemon in the traditional sense, it's not uncommon for people to have long running sessions. At least on OpenBSD, this is even safe thanks to the existing privsep design by otto@, canacar@ and pledge(2) work done by deraadt. ok deraadt@
2017-09-08In compiler-rt, a few assembler implementations for i386 floating pointChristian Weisgerber
conversion functions use SSE2 instructions, but these are not guarded by #ifdef __SSE2__, and there is no implementation using general purpose registers. For these functions, use the generic C variants instead, otherwise they will cause SIGILL on older processors. From FreeBSD; ok deraadt@ mlarkin@ patrick@
2017-09-08remove more filter-related cruftEric Faurot
ok gilles@
2017-09-08Fix a few errors in how the selected line is chosen after resize,Nicholas Marriott
reported by Felix Rosencrantz in GitHub issue 1059.
2017-09-08Tweak route_in_rtstatic() to return the position of theKenneth R Westerback
route if found. Cleans up some int vs unsigned int confusion and makes the function more generally useful for future changes.
2017-09-08Bring back the "Exiting" log message in pflogd(8), but do not setAlexander Bluhm
the LOG_CONS flag in openlog(3). This avoids output to the console on shutdown. Discussed with benno@ who wants to see when a deamon stops during normal system operation. OK brynet@
2017-09-08Avoid clang warning and make code better by using a signed long;Otto Moerbeek
with hint from millert@; ok millert@ guenther@
2017-09-08Add support for isochronous transfers to xhci(4).Stefan Sperling
This is just a step forward which allows further progress to happen in-tree. The isochronous code path remains disabled for now. Playing audio over xhci(4) does not work properly yet, and I haven't even tested video input. Based on a work-in-progress diff by mpi@ from 2015. ok mpi@
2017-09-08When removing a key table clear it out of clients, fixes issue withNicholas Marriott
unbind -a reported by Thomas Sattler.
2017-09-08fdc: Print warning if kthread_create failsStefan Fritsch
Other drivers do this, too. Fixes coverity CID 1455436.
2017-09-08use plain values for transaction error codes rather than a bitmask.Eric Faurot
rename ill-named "msgflags" to "error" while there. ok gilles@
2017-09-08better VM termination handling.Mike Larkin
diff provided by Carlos Cardenas, thanks
2017-09-08fix a wrong comment.Mike Larkin
Noticed by Carlos Cardenas
2017-09-08vmctl: style cleanup - spaces vs tabs.Mike Larkin
Noticed by Carlos Cardenas
2017-09-08vmd: add more explanatory log_debug messagesMike Larkin
From Carlos Cardenas, many thanks!
2017-09-08If you use sys/param.h, you don't need sys/types.hTheo de Raadt
2017-09-08vmd: handle queue index wraparound in viornd. Without this, openbsd guestsMike Larkin
used to crash after roughly 68 hours uptime. ok deraadt
2017-09-07typo in commentDamien Miller
2017-09-07Try both libpthread and RTLD_DEFAULT when looking up functionsPhilip Guenther
so the test can find everything after the libpthread->libc move
2017-09-07Keep histptr inside of the allocated history arrayJeremie Courreges-Anglas
histptr == history -1 means that the history is empty, but the behavior is then undefined. Allocate an extra array entry to work around this. Input & ok tb@
2017-09-07Get IPv4 and IPv6 fragment tests into common shape. Some chunksAlexander Bluhm
were forgotten in previous commit.
2017-09-07Link regress/sys/netinet/frag to build. Get IPv4 and IPv6 fragmentAlexander Bluhm
tests into common shape. Add some missing test cases.
2017-09-07Check return of rtsx_write in previous commit as RTSX_WRITE macroJoshua Stein
does Coverity CID 1455437
2017-09-07Update hardware list.Visa Hankala
2017-09-07Copy IPv6 fragment test cases to IPv4 and adapt to the different Alexander Bluhm
behavior. All tests are run once with pf fragment reassembly and once with pf disabled and IP input reassembly. Three sub tests are currently disabled as the IP stack behaves differently than pf.
2017-09-07Copy IPv6 fragment test cases to IPv4 and adapt to the different Alexander Bluhm
behavior. All tests are run once with pf fragment reassembly and once with pf disabled and IP input reassembly. Three sub tests are currently disabled as the IP stack behaves differently than pf.
2017-09-07typo: convertion -> conventionDavid Coppa
OK schwarze@
2017-09-07Do not fail if unset an option that is already unset, reported by ThomasNicholas Marriott
Sattler.
2017-09-07rework "Errata" to mention syspatch(8);Jason McIntyre
based on a diff from jesper wallin ok aja
2017-09-07nfs_connect() returns EINVAL at the beginning if nm_sotype isAlexander Bluhm
invalid. But the compiler cannot know whether it has changed in the meantime, so in the else case a bunch of variables would not be initialized. Add a panic() there to change the compiler's assumptions, the code should not be reached anyway. found by clang -Wuninitialized; OK deraadt@
2017-09-07In elf_load_file() to not call free(9) with an uninitialized sizeAlexander Bluhm
even if the pointer is NULL. This is not a real bug as free(9) checks the addr pointer before the size value, but the compiler cannot know that. found by clang -Wuninitialized; OK deraadt@
2017-09-07In copycols() remove useless code that modifies the uninitializedAlexander Bluhm
sp variable. Its value is not used, it is overwritten later on. found by clang -Wuninitialized; OK deraadt@
2017-09-07In toshiba_hotkey() initialize the ret value to failure as it isAlexander Bluhm
not set in all code paths. found by clang -Wuninitialized; OK deraadt@
2017-09-07Replace a goto found in the ipq foreach loop with a simple break.Alexander Bluhm
This is a common idiom when a list element has been found. OK visa@ mpi@
2017-09-07unifdef some ancient COMPAT code that's not used. 500 byte blocks!Ted Unangst
noticed by miod
2017-09-06In the case that we want to force a new RAID assembly and the metadataPatrick Wildt
type on the chunks is not the same, we don't actually care because we are going to clear their metadata anyway, so don't error out. This allows assembling a new RAID based on a drive that is zeroed and one that used to be part of a softraid in its previous life. ok jsing@
2017-09-06After recent changes, we need to clear hash, not s1.Theo Buehler
From Scott Cheloha ok deraadt
2017-09-06backout previous diff:Sebastian Benoit
autodetect AF when setting inet6 default route From Denis Fondras, thanks! ok phessler@ bluhm@ it breaks with ipv6 link-local routes, e.g. /sbin/route -inet6 default -ifp pppoe0 fe80::%pppoe0 found by jmc@ ok florian
2017-09-06ntpd has been on by default for over two years now, so reworkJason McIntyre
the text about enabling it; ok deraadt