OpenBSD src changes summary for 2017-11-13 ==========================================
sbin/fdisk sbin/pfctl share/man sys/arch/arm64/conf sys/dev/fdt sys/kern sys/net sys/netinet6 sys/sys usr.bin/tmux == sbin ============================================================== 01/04 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sbin fdisk ~ cmd.c > Constrain MBR partition offsets to 0 .. disk.size - 1. > Issue reported by Alexi Malinin via bugs@. Thanks! (krw@) pfctl ~ parse.y ~ pfctl_parser.c > add a generic packet rate matching filter. allows things like > pass in proto icmp max-pkt-rate 100/10 > all packets matching the rule in the direction the state was created are > taken into consideration (typically: requests, but not replies). > Just like with the other max-*, the rule stops matching if the maximum is > reached, so in typical scenarios the default block rule would kick in then. > with input from Holger Mikolon > ok mikeb (henning@) == share ============================================================= 02/04 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/share man ~ man5/pf.conf.5 > add a generic packet rate matching filter. allows things like > pass in proto icmp max-pkt-rate 100/10 > all packets matching the rule in the direction the state was created are > taken into consideration (typically: requests, but not replies). > Just like with the other max-*, the rule stops matching if the maximum is > reached, so in typical scenarios the default block rule would kick in then. > with input from Holger Mikolon > ok mikeb (henning@) ~ man5/pf.conf.5 > tweak previous; (jmc@) ~ man9/task_add.9 > add taskq_barrier > taskq_barrier guarantees that any task that was running on the taskq > has finished by the time taskq_barrier returns. it is similar to > intr_barrier. > this is needed for use in ifq_barrier as part of an upcoming change. (dlg@) == sys =============================================================== 03/04 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sys arch/arm64/conf ~ GENERIC ~ RAMDISK > Add support for the i2c controller variant found on the Allwinner A31 and > above and enable the driver on arm64. > From Artturi Alm. Tested by Stephen Graf. (kettenis@) dev/fdt ~ sxipio.c > Newer Allwinner SoCs (H3/H4/A64) use an "unconfigured" default state. > Recognize this state and allow user configuration of the pin if the > pin is left into this state. > tested by Stephen Graf. (kettenis@) ~ sxiccmu_clocks.h > Add i2c-related clocks for Allwinner H3/H5/A64. > From Artturi Alm. Tested by Stephen Graf. (kettenis@) ~ sxitwi.c > Add support for the i2c controller variant found on the Allwinner A31 and > above and enable the driver on arm64. > From Artturi Alm. Tested by Stephen Graf. (kettenis@) kern ~ kern_task.c > add taskq_barrier > taskq_barrier guarantees that any task that was running on the taskq > has finished by the time taskq_barrier returns. it is similar to > intr_barrier. > this is needed for use in ifq_barrier as part of an upcoming change. (dlg@) net ~ pf.c > remove the ability for pf_ouraddr to say that a packet is forwarded. > having pf_ouraddr say a packet is forwarded let's in_ouraddr avoid > doing a route lookup for the packet. however, because it is forwarded > we need to do a route lookup in ip_output anyway to know where it > goes. > in_ouraddr does a bunch of extra checks on the result of the route > lookup that ip_output does not do though, including special handling > of ip_directedbroadcast and M_BCAST. if you have directed broadcast > enabled and do not do these checks, the ethernet layer will loop a > copy of broadcast packets back into the stack recursively which > can blow the thread stack in the kernel. > discussed with jmatthew@, sashan@, and henning@ > ok mpi@ > diagnosing this led to the enabling of a guard page on amd64 kernel > stacks, which was necessary for correctly identifying this problem. (dlg@) ~ pf.c ~ pf_ioctl.c ~ pfvar.h > add a generic packet rate matching filter. allows things like > pass in proto icmp max-pkt-rate 100/10 > all packets matching the rule in the direction the state was created are > taken into consideration (typically: requests, but not replies). > Just like with the other max-*, the rule stops matching if the maximum is > reached, so in typical scenarios the default block rule would kick in then. > with input from Holger Mikolon > ok mikeb (henning@) ~ if_gif.c > Remove useless comment about if_ioctl() & reduce grep noise. (mpi@) ~ pfkeyv2.c > Grab the KERNEL_LOCK() to iterate on the global list of PF_KEY sockets. > It isn't safe to manipulate PF_KEY sockets without KERNEL_LOCK() because > they aren't protected by the NET_LOCK(). > I missed this in my previous audit and neither my tests, the regression > tests nor the IPsec performance tests exposed the problem. Hopefully I > added the right check to soassertlocked() a while back. > Found the hardway by and ok sthen@ (mpi@) netinet6 ~ frag6.c > Remove 18 year old #if 0. > ok visa@, benno@ (mpi@) sys ~ systm.h > Do not call splassert_fail() if splassert_ctl is <= 0. > This matches splassert(9)s behavior and prevent noise when a CPU > panic(9) and set splassert_ctl to 0. > Found the hardway by sthen@ (mpi@) ~ task.h > add taskq_barrier > taskq_barrier guarantees that any task that was running on the taskq > has finished by the time taskq_barrier returns. it is similar to > intr_barrier. > this is needed for use in ifq_barrier as part of an upcoming change. (dlg@) == usr.bin =========================================================== 04/04 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin tmux ~ window-copy.c > When searching in copy mode, do not scroll if the result is already on > screen. GitHub issue 1150. (nicm@) =============================================================================== _______________________________________________ odc mailing list [email protected] http://www.squish.net/mailman/listinfo/odc
