OpenBSD/src U8EXaPksys/net fq_codel.c

   Fail with EINVAL when asked to create a non-root queue instead of panicking

   Prompted by a bug report from semarie@, thanks!
VersionDeltaFile
1.8+2-1sys/net/fq_codel.c
+2-11 files

OpenBSD/src srSpIyCsys/net bpf.c

   When using "tcpdump proto 128" the filter never matched.  A sign
   expansion bug in bpf prevented protocols above 127.  m_data is
   signed, bpf_mbuf_ldb() returns unsigned.
   bug report Matthias Pitzl; OK deraadt@ millert@
VersionDeltaFile
1.163+4-2sys/net/bpf.c
+4-21 files

OpenBSD/src f270cFiusr.sbin/tcpdump print-pflog.c

   Sync NO_PID value from kernel header to tcpdump source.  It is
   #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@
VersionDeltaFile
1.31+2-2usr.sbin/tcpdump/print-pflog.c
+2-21 files

OpenBSD/src NXlLAw4sys/arch/mips64/include cpu.h, sys/arch/mips64/mips64 context.S cpu.c

   Add an idle cycle implementation for R4600/R5000/RM7000 CPUs and their
   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.

OpenBSD/src oOWxGfWusr.sbin/smtpd smtpd.conf.5

   document that "for local" is the default; while here,
   paste in the "table <aliases>" text;

   ok gilles
VersionDeltaFile
1.169+12-5usr.sbin/smtpd/smtpd.conf.5
+12-51 files

OpenBSD/src aevQRK3usr.sbin/syspatch syspatch.sh

   Preserve the modification time when install(1)ing.
VersionDeltaFile
1.109+2-2usr.sbin/syspatch/syspatch.sh
+2-21 files

OpenBSD/src 109ToXhusr.bin/encrypt encrypt.c

   Use freezero instead of explicit_bzero+free

   OK tb@
VersionDeltaFile
1.47+2-3usr.bin/encrypt/encrypt.c
+2-31 files

OpenBSD/src 9OFfq0eusr.sbin/user user.c

   Remove 2 unused parameters from copydotfiles function
   While here sort headers and add missing prototypes

   OK tb@
VersionDeltaFile
1.120+28-5usr.sbin/user/user.c
+28-51 files

OpenBSD/src vcTcDA2usr.sbin/syspatch syspatch.sh

   Don't fill up /tmp when installing or reverting multiple patches at once.
VersionDeltaFile
1.108+4-1usr.sbin/syspatch/syspatch.sh
+4-11 files

OpenBSD/src TIMF2nBusr.sbin/syspatch syspatch.sh

   Also trap INT when reverting a patch.
VersionDeltaFile
1.107+3-1usr.sbin/syspatch/syspatch.sh
+3-11 files

OpenBSD/src sW7OMRCusr.sbin/ikectl ikeca.c

   Set REQ_EXT in req section so ikectl ca certificate revoke will work again.
VersionDeltaFile
1.44+2-1usr.sbin/ikectl/ikeca.c
+2-11 files

OpenBSD/src r4FZmeZsys/arch/loongson/loongson yeeloong_machdep.c

   Rate limit messages about spurious ISA interrupts on yeeloong systems.
   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@

OpenBSD/src 36k735A. Makefile.cross

   Adjust cross-toolchain environment to the changes in the clang build
   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@
VersionDeltaFile
1.94+7-2Makefile.cross
+7-21 files

OpenBSD/src zfFtCPvusr.sbin/syspatch syspatch.sh

   Hide sh(1) error message when /etc/installurl does not exist; we already
   error out with a message in this case since _MIRROR is empty.

   reported by tedu@
VersionDeltaFile
1.106+2-2usr.sbin/syspatch/syspatch.sh
+2-21 files

OpenBSD/src ajLMsqTusr.sbin/syspatch syspatch.sh

   Only install /bsd.mp on SP machines if it's already there (a default
   installation will not have it).
VersionDeltaFile
1.105+5-4usr.sbin/syspatch/syspatch.sh
+5-41 files

OpenBSD/src wtIHJ97usr.sbin/syspatch syspatch.sh

   Shorten varname.
VersionDeltaFile
1.104+13-13usr.sbin/syspatch/syspatch.sh
+13-131 files

OpenBSD/src WGxfyyYsys/net pf.c

   Move the common length check in pf_pull_hdr() after the address
   family switch.  This makes the specific calculation more obvious.
   OK claudio@
VersionDeltaFile
1.1027+10-14sys/net/pf.c
+10-141 files

OpenBSD/src OD7AUUssys/netinet6 ip6_input.c

   Bump the right counters.  One of these was caught by clang because of a
   mismatched enum.

   ok bluhm@
VersionDeltaFile
1.189+3-3sys/netinet6/ip6_input.c
+3-31 files

OpenBSD/src 0rYkRq1usr.sbin/smtpd smtpctl.8

   "update table" is for tables of type file only; ok gilles
VersionDeltaFile
1.59+7-5usr.sbin/smtpd/smtpctl.8
+7-51 files

OpenBSD/src qjwlMcLsys/netinet ip_input.c ipsec_input.c, sys/netinet6 ip6_input.c

   Move IPsec forward and local policy check functions to ipsec_input.c
   and give them better names.
   input and OK mikeb@

OpenBSD/src ch1Ktxrsys/netinet ip_input.c ip_var.h, sys/netinet6 ip6_input.c

   Use the IPsec policy check from IPv4 also when doing local delivery
   in ip6_local() to our IPv6 stack.
   OK mikeb@
VersionDeltaFile
1.303+17-12sys/netinet/ip_input.c
1.187+13-1sys/netinet6/ip6_input.c
1.74+2-1sys/netinet/ip_var.h
+32-143 files

OpenBSD/src E0rJHGRshare/man/man5 pf.conf.5

   some tweaks to the QUEUEING section;
   from mikeb and myself
VersionDeltaFile
1.563+24-32share/man/man5/pf.conf.5
+24-321 files

OpenBSD/src WPiNPmDdistrib/miniroot install.sub

   The DISPLAY variable is actually not a global variable as it's used
   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@
VersionDeltaFile
1.1007+3-4distrib/miniroot/install.sub
+3-41 files

OpenBSD/src 8exzS3Wregress/lib/libc/qsort qsort_test.c

   Add timing and test name options.
VersionDeltaFile
1.11+83-12regress/lib/libc/qsort/qsort_test.c
+83-121 files

OpenBSD/src mul0SAaregress/lib/libc/qsort qsort_test.c antiqsort.c

   Instead of embedding pre-generated tables from  McIlroy's "A Killer
   Adversary for Quicksort", just include the code to generate them.
   Also allow the number of elements to be specified on the command line.

OpenBSD/src DoA7RVidistrib/miniroot install.sub

   No need to trim a trailling blank, bsort (in scan_dmesg) does not
   emit one anymore.
VersionDeltaFile
1.1006+1-2distrib/miniroot/install.sub
+1-21 files

OpenBSD/src P0sPiO7sys/netinet ip_icmp.c

   Fix a mbuf leak when reflecting an ICMP packet with IP options.
   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@ millert@
VersionDeltaFile
1.151.6.1+4-2sys/netinet/ip_icmp.c
+4-21 files

OpenBSD/src jtuD46Qsys/netinet ip_icmp.c

   Fix a mbuf leak when reflecting an ICMP packet with IP options.
   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@ millert@
VersionDeltaFile
1.163.4.2+4-2sys/netinet/ip_icmp.c
+4-21 files

OpenBSD/src 28ObyG5bin/md5 md5.c

   obvious use for freezero()
VersionDeltaFile
1.91+2-3bin/md5/md5.c
+2-31 files

OpenBSD/src IOMXtBjusr.bin/systat pftop.c

   Support for displaying flow queues alongside H-FSC

   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
VersionDeltaFile
1.39+21-9usr.bin/systat/pftop.c
+21-91 files

OpenBSD/src 08jbJsbsys/netinet ip_icmp.c

   Fix a mbuf leak when reflecting an ICMP packet with IP options.
   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@
VersionDeltaFile
1.168+4-2sys/netinet/ip_icmp.c
+4-21 files

OpenBSD/src Qp6y1v2sys/kern subr_witness.c

   Drop kernel trace points. The trace facility does not exist on OpenBSD.
VersionDeltaFile
1.3+4-31sys/kern/subr_witness.c
+4-311 files

OpenBSD/src 2y0CGezusr.sbin/smtpd parse.y smtp.c, usr.sbin/smtpd/smtpd Makefile

   - filters are currently broken, do not allow using them until we're done

OpenBSD/src 3jK0ucQusr.sbin/smtpd smtpf_session.c

   stub for the smtp filter protocol, currently always returns -1
VersionDeltaFile
1.1+58-0usr.sbin/smtpd/smtpf_session.c
+58-01 files

OpenBSD/src DElywg6sys/net if_ethersubr.c

   white space fix. no functional change.
VersionDeltaFile
1.243+2-2sys/net/if_ethersubr.c
+2-21 files

OpenBSD/src oYWbqKQsys/arch/arm64/arm64 pmap.c

   Give the vp pool its own allocator.  Avoiding the logic that creates large
   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@
VersionDeltaFile
1.36+35-3sys/arch/arm64/arm64/pmap.c
+35-31 files

OpenBSD/src zUTDgLasys/arch/armv7/exynos exclock.c

   Add clocks for SD/MCC controller on Exynos 5420/5800.
VersionDeltaFile
1.7+138-10sys/arch/armv7/exynos/exclock.c
+138-101 files

OpenBSD/src zGN2EdAsys/arch/armv7/exynos files.exynos exesdhc.c

   Remove exesdhc(4).  This driver was never finished and has been replaced
   by dwmmc(4).

OpenBSD/src uJ1WLdLsys/arch/armv7/conf RAMDISK GENERIC, sys/dev/fdt dwmmc.c

   Add support for the SD/MMC controller found on Samsuung Exynos5.

OpenBSD/src tvczjCIshare/man/man4 route.4, sys/net route.h

   Fix copy/paste in comment.
VersionDeltaFile
1.43+3-3share/man/man4/route.4
1.161+2-2sys/net/route.h
+5-52 files

OpenBSD/src tYsc2OWsys/dev/fdt dwmmc.c

   Actually wait on auto command done (ACD) as was the intention.
VersionDeltaFile
1.2+2-2sys/dev/fdt/dwmmc.c
+2-21 files

OpenBSD/src Cb4c8r3sys/arch/loongson/loongson pmon.c

   Tweak style.
VersionDeltaFile
1.8+19-10sys/arch/loongson/loongson/pmon.c
+19-101 files

OpenBSD/src V7J3vsEshare/man/man8/man8.loongson MAKEDEV.8

   regen

OpenBSD/src suJRKlaetc/etc.loongson MAKEDEV

   regen
VersionDeltaFile
1.53+15-9etc/etc.loongson/MAKEDEV
+15-91 files

OpenBSD/src CQbxXzxsys/arch/loongson/loongson conf.c pmon.c, sys/dev/pci/drm/radeon radeon_bios.c

   Enable radeondrm(4) on loongson to get accelerated graphics
   with the RS780E chipset.

   OK kettenis@, jsg@

OpenBSD/src 1E9Fhjvregress/lib/libc/qsort qsort_test.c

   correct a return value test
   ok millert@

OpenBSD/src w3CO5cOsys/dev/fdt if_dwge_fdt.c, sys/dev/ic dwc_gmac.c dwc_gmac_var.h

   Rockchip SoCs needs some additional register twiddling when the link speed
   changes to set the appropriate clock.  Add a sc_statchg callback in the
   core softc that gets called when the link status changes.

OpenBSD/src 5EAYquIdistrib/miniroot install.sub

   Ensure a clean initial state (e.g. in case of an installer restart)
   by moving setting ulimit, unmounting all filesystems and cleaning up
   the dhcp state upwards to before sourcing install.md.

   OK tb@

   While here, 1>/dev/null -> >/dev/null.
VersionDeltaFile
1.1005+17-17distrib/miniroot/install.sub
+17-171 files

OpenBSD/src gq5zoECsys/arch/arm64/conf GENERIC RAMDISK, sys/dev/fdt dwmmc.c files.fdt

   Add dwmmc(4), a driver for the Synopsis Designware SD/MMC controller as found
   on various Rockchip SoCs.

   This is still WIP.  Next steps will be to get rid of various busy-wait loops
   and add DMA support.

OpenBSD/src KMQ4sshsbin/iked dh.c, usr.sbin/ikectl ikeca.c

   A few more freezero() uses
   ok yasuoka mikeb