summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-05-25Add definitions for three OIDs used in EV certificates.Joel Sing
From Kyle J. McKay <mackyle at gmail dot com>
2017-05-25Move the code that runs the installer script in non-interactiveRobert Peichaer
mode into a dedicated do_autoinstall() function. OK halex@, krw@
2017-05-25Four, not three variables can be overriden. But the number is not importantAntoine Jacoutot
so just drop it. reported by thelocals_job_applicant at protonmail
2017-05-25Replace various echo "..."; exit 1 with a new err_exit() function.Robert Peichaer
diskussed with tb@ and halex@ OK krw@ on a similar diff
2017-05-25Replace the only usage of x86_pause() with SPINLOCK_SPIN_HOOK.Visa Hankala
OK dlg@
2017-05-25Drop trailing semicolon from a macro.Visa Hankala
OK dlg@
2017-05-25tweak sparc64 membars as a step toward making them usable in userland.David Gwynne
specifically, dont rely on magic in ctlreg to implement membars. moving that to atomic.h would add a lot of pollution to the namespace, so move to passing the membar options to a single __membar macro. this tweaks everything that was using the ctlreg backend to either use an appropriate membar_foo(), or to use __membar() in the MD code. ok kettenis@
2017-05-24Fix a possible fatal() when smtpd is configured to *force* relaying overGilles Chehade
SMTPS, that the connection succeeds, but that something causes a failure in the TLS code path afterwards. Session gets downgraded so it can use a plaintext connector but since it's not allowed to do so, it fatal()-s. This didn't impact STARTTLS, only SMTPS. Issue experienced a few times by stsp@ triggered by a suspend. ok eric@
2017-05-24Support swapping 32-bit aligned elements on 64-bit platforms.Todd C. Miller
Previously they would be swapped a byte at a time when sizeof(int) != sizeof(long). Idea from FreeBSD.
2017-05-24Fail with EINVAL when asked to create a non-root queue instead of panickingMike Belopuhov
Prompted by a bug report from semarie@, thanks!
2017-05-24When using "tcpdump proto 128" the filter never matched. A signAlexander Bluhm
expansion bug in bpf prevented protocols above 127. m_data is signed, bpf_mbuf_ldb() returns unsigned. bug report Matthias Pitzl; OK deraadt@ millert@
2017-05-24Sync NO_PID value from kernel header to tcpdump source. It isAlexander Bluhm
#ifdef _KERNEL, so it does not work automatically. This prevents some bogus uid and pid print when dumping from pflog interface. from Matthias Pitzl; OK deraadt@
2017-05-24Add an idle cycle implementation for R4600/R5000/RM7000 CPUs and theirVisa Hankala
derivatives. This lets the kernel utilize the CPUs' Standby Mode to reduce the power consumption of an idle system. Suggested by and input from miod@. He also tested this patch on an RM7000 O2.
2017-05-24document that "for local" is the default; while here,Jason McIntyre
paste in the "table <aliases>" text; ok gilles
2017-05-24Preserve the modification time when install(1)ing.Antoine Jacoutot
2017-05-24Use freezero instead of explicit_bzero+freeRicardo Mestre
OK tb@
2017-05-24Remove 2 unused parameters from copydotfiles functionRicardo Mestre
While here sort headers and add missing prototypes OK tb@
2017-05-24Don't fill up /tmp when installing or reverting multiple patches at once.Antoine Jacoutot
2017-05-24Also trap INT when reverting a patch.Antoine Jacoutot
2017-05-24Set REQ_EXT in req section so ikectl ca certificate revoke will work again.Jonathan Gray
2017-05-23Rate limit messages about spurious ISA interrupts on yeeloong systems.Visa Hankala
On suspend, the USB driver is put to polling mode and it no longer claims interrupt requests. If the USB controller keeps raising new requests faster than spurious interrupt messages can be printed, interrupt processing hogs all CPU time and the suspend code gets stuck. The rate limiting should prevent this from happening. Suspend issue with USB Wi-Fi reported by fcambus@ Fix tested by and OK fcambus@
2017-05-23Adjust cross-toolchain environment to the changes in the clang buildPatrick Wildt
fabric. Since we now also build and use LLVM's lld we can copy lld to the proper directory akin to what we do with clang. Build compiler-rt early as it is needed for building libc. "go for it" mpi@
2017-05-23Hide sh(1) error message when /etc/installurl does not exist; we alreadyAntoine Jacoutot
error out with a message in this case since _MIRROR is empty. reported by tedu@
2017-05-23Only install /bsd.mp on SP machines if it's already there (a defaultAntoine Jacoutot
installation will not have it).
2017-05-23Shorten varname.Antoine Jacoutot
2017-05-23Move the common length check in pf_pull_hdr() after the addressAlexander Bluhm
family switch. This makes the specific calculation more obvious. OK claudio@
2017-05-23Bump the right counters. One of these was caught by clang because of aMark Kettenis
mismatched enum. ok bluhm@
2017-05-23"update table" is for tables of type file only; ok gillesJason McIntyre
2017-05-22Move IPsec forward and local policy check functions to ipsec_input.cAlexander Bluhm
and give them better names. input and OK mikeb@
2017-05-22Use the IPsec policy check from IPv4 also when doing local deliveryAlexander Bluhm
in ip6_local() to our IPv6 stack. OK mikeb@
2017-05-22some tweaks to the QUEUEING section;Jason McIntyre
from mikeb and myself
2017-05-22The DISPLAY variable is actually not a global variable as it's usedRobert Peichaer
only once in questions(). Use scan_dmesg() output directly to test for wsdisplay* in dmesg.boot instead. Change comment, now that it only refers to setting CONSOLE. no objection tb@
2017-05-22Add timing and test name options.Todd C. Miller
2017-05-22Instead of embedding pre-generated tables from McIlroy's "A KillerTodd C. Miller
Adversary for Quicksort", just include the code to generate them. Also allow the number of elements to be specified on the command line.
2017-05-22No need to trim a trailling blank, bsort (in scan_dmesg) does notRobert Peichaer
emit one anymore.
2017-05-22obvious use for freezero()Theo de Raadt
2017-05-22Support for displaying flow queues alongside H-FSCMike Belopuhov
This (ab)uses the fact that node->qstats.data.period field in hfsc_class_stats structure is at the same offset as the 'flows' field in fqcodel_stats. While here make use of a presently empty field "SCH" to display the queue management policy (flow or fifo) which is not strictly a scheduler, but it will hopefully become descriptive and useful later. This distinguishes flow queues from the regular HFSC ones. OK sthen, visa
2017-05-22Fix a mbuf leak when reflecting an ICMP packet with IP options.Alexander Bluhm
Free the options in icmp_input_if() after a successful call to icmp_reflect(). bug report and analysis by Hendrik Gerlach OK krw@ claudio@ phessler@
2017-05-22Drop kernel trace points. The trace facility does not exist on OpenBSD.Visa Hankala
2017-05-22- filters are currently broken, do not allow using them until we're doneGilles Chehade
2017-05-22stub for the smtp filter protocol, currently always returns -1Gilles Chehade
2017-05-22white space fix. no functional change.David Gwynne
2017-05-21Give the vp pool its own allocator. Avoiding the logic that creates largeMark Kettenis
pool pages that fit at least 8 pool items reduces the kva pressure. Unfortunately this doesn't completely eliminate the problems sthen@ is seeing. ok drahn@
2017-05-21Add clocks for SD/MCC controller on Exynos 5420/5800.Mark Kettenis
2017-05-21Remove exesdhc(4). This driver was never finished and has been replacedMark Kettenis
by dwmmc(4).
2017-05-21Add support for the SD/MMC controller found on Samsuung Exynos5.Mark Kettenis
2017-05-21Fix copy/paste in comment.Jeremie Courreges-Anglas
2017-05-21Actually wait on auto command done (ACD) as was the intention.Mark Kettenis
2017-05-21Tweak style.Visa Hankala
2017-05-21regenVisa Hankala