OpenBSD src changes summary for 2017-02-22 ==========================================
distrib/sets lib/libc regress/sys regress/usr.sbin sbin/ping sys/arch/amd64/conf sys/arch/arm64/arm64 sys/arch/arm64/conf sys/arch/arm64/dev sys/arch/arm64/include sys/arch/armv7/broadcom sys/dev/acpi sys/dev/fdt sys/kern sys/net sys/netinet sys/netinet6 sys/nfs usr.bin/mandoc usr.bin/sed usr.bin/tmux usr.sbin/bgpd usr.sbin/eigrpctl usr.sbin/eigrpd usr.sbin/ldapd usr.sbin/npppd == distrib =========================================================== 01/07 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/distrib sets ~ lists/comp/mi > sync (deraadt@) == lib =============================================================== 02/07 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/lib libc ~ arch/aarch64/sys/sigprocmask.S > The assembly for sigprocmask(2) had a tiny typo which made it jump to > the wrong location, thus not making it set SIG_BLOCK with a zero mask > when attempting to read the signal mask (if set ptr is NULL). Instead > an attempt to read the mask actually told the syscall to set the mask > to zero. (patrick@) == regress =========================================================== 03/07 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/regress sys + kern/pledge/sendrecvfd/Makefile + kern/pledge/sendrecvfd/sendrecvfd.c > Add regress tests for fd passing and pledge. Check sending and receiving > all 7 types of vnodes as follows: > - nopledge: no pledge - verify that send/recv work as expected > - sendfd: pledge the sender with "stdio sendfd" > - recvfd: pledge the receiver with "stdio recvfd" > - nosendfd: pledge the sender with "stdio" (it is expected to fail) > - norecvfd: pledge the receiver with "stdio" (it is expected to fail) > This results in 35 possible combinations with different semantics depending > on the vnode type. > From semarie, many thanks! (tb@) ~ kern/pledge/Makefile > Enable semarie's sendrecvfd tests (tb@) usr.sbin ~ ldapd/Makefile > ldapd regress tests depends on openldap-client, check > if that package is installed, otherwise print > a warning and skip them but not fail. > requested by/ok mpi@ (gsoares@) == sbin ============================================================== 04/07 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sbin ping ~ ping.c > Unbreak "ping6 -L" > $ ping6 -L ff02::1%em1 > ping6: setsockopt IP6_MULTICAST_LOOP: Invalid argument > Unfortunately we have this inconsistency in the sockets API where we need > to pass an unsigned char for IP_MULTICAST_LOOP but we need an unsigned > int for IPV6_MULTICAST_LOOP. > While here, fix a typo in the error message. > OK millert@ florian@ (renato@) == sys =============================================================== 05/07 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sys arch/amd64/conf ~ GENERIC > add acpisbs, an acpi smart battery subsystem driver reading data > over smbus > currently disabled because it conflicts with acpibat > ok deraadt, kettenis (jcs@) arch/arm64/arm64 ~ bus_dma.c > The AMD Seattle SoC incorporates DMA coherent controllers, especially > AHCI, PCIe and Ethernet. Since these systems rely on cache snooping, > we must not map pages that are supposed to be coherent as uncacheable. > Instead if we have a cache coherent device, create a bus tag and mark > that tag as coherent. For users of that tag we can simply use normal, > cached memory. > ok kettenis@ (patrick@) arch/arm64/conf ~ GENERIC ~ RAMDISK > Enable ahci(4). > ok kettenis@ (patrick@) arch/arm64/dev ~ bcm2835_dwctwo.c > Set sc_vendor in bcm2835_dwctwo before calling dwc2_init(). > This changes the root hub dmesg output from > "vendor 0x0000 DWC2 root hub" to "Broadcom DWC2 root hub". > ok kettenis@ (jsg@) ~ mainbus.c ~ simplebus.c > The AMD Seattle SoC incorporates DMA coherent controllers, especially > AHCI, PCIe and Ethernet. Since these systems rely on cache snooping, > we must not map pages that are supposed to be coherent as uncacheable. > Instead if we have a cache coherent device, create a bus tag and mark > that tag as coherent. For users of that tag we can simply use normal, > cached memory. > ok kettenis@ (patrick@) arch/arm64/include ~ bus.h > The AMD Seattle SoC incorporates DMA coherent controllers, especially > AHCI, PCIe and Ethernet. Since these systems rely on cache snooping, > we must not map pages that are supposed to be coherent as uncacheable. > Instead if we have a cache coherent device, create a bus tag and mark > that tag as coherent. For users of that tag we can simply use normal, > cached memory. > ok kettenis@ (patrick@) arch/armv7/broadcom ~ bcm2835_dwctwo.c > Set sc_vendor in bcm2835_dwctwo before calling dwc2_init(). > This changes the root hub dmesg output from > "vendor 0x0000 DWC2 root hub" to "Broadcom DWC2 root hub". > ok kettenis@ (jsg@) dev/acpi ~ acpi.c ~ acpidev.h ~ acpivar.h ~ files.acpi + acpisbs.c + smbus.h > add acpisbs, an acpi smart battery subsystem driver reading data > over smbus > currently disabled because it conflicts with acpibat > ok deraadt, kettenis (jcs@) ~ acpisbs.c > fix timeout loop > from Anton Lindqvist (jcs@) dev/fdt ~ files.fdt + ahci_fdt.c > Add a generic ahci(4) frontend for FDT. > ok kettenis@ (patrick@) kern ~ sys_socket.c > Do not grab the NET_LOCK() when poll(2)ing on unix domain sockets. > Fix the 'X freeze' while scanning with wireless interfaces. Problem > reported by pirofti@. > ok tb@, bluhm@ (mpi@) ~ uipc_proto.c > Use c99 struct initialization with protosw. > This makes it easier to grep for a member, such as .pr_usrreq, and know > which functions to review. > ok mpi@ bluhm@ jca@ (dhill@) net ~ bpf.h > The pcap people gave us ID 267 for DLT_OPENFLOW > Via https://github.com/the-tcpdump-group/libpcap/issues/542 > OK sthen@ jsg@ (reyk@) ~ pfvar.h > Amend a misleading comment mentioning ``ipintrq''. (mpi@) ~ pfkey.c ~ rtsock.c > Use c99 struct initialization with protosw. > This makes it easier to grep for a member, such as .pr_usrreq, and know > which functions to review. > ok mpi@ bluhm@ jca@ (dhill@) netinet ~ in_proto.c > Use c99 struct initialization with protosw. > This makes it easier to grep for a member, such as .pr_usrreq, and know > which functions to review. > ok mpi@ bluhm@ jca@ (dhill@) netinet6 ~ in6.h > Fix comments about a few ipv6 sockoptions > OK millert@ florian@ (renato@) ~ in6_proto.c > Use c99 struct initialization with protosw. > This makes it easier to grep for a member, such as .pr_usrreq, and know > which functions to review. > ok mpi@ bluhm@ jca@ (dhill@) nfs ~ nfs.h ~ nfs_bio.c ~ nfs_serv.c ~ nfs_socket.c ~ nfs_subs.c ~ nfs_syscalls.c ~ nfs_var.h ~ nfs_vfsops.c ~ nfs_vnops.c ~ nfsmount.h > Keep local definitions local. > "good work" deraadt@, ok visa@ (mpi@) == usr.bin =========================================================== 06/07 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin mandoc ~ mdoc_html.c > Handle an odd edge case where .It is preceded by .Sm. > NULL dereference in man.cgi reported by Gabriel Guzman <gabe at > guzman dash nunez dot com> on misc@. (schwarze@) ~ main.c > Since SQLite is gone, we no longer need the "flock" pledge. > Patch from semarie@, OK tb@. (schwarze@) ~ cgi.c > Pledge man.cgi(8). > Based on a more complicated patch from semarie@. > Sebastien and tb@ both agree with the simplification. (schwarze@) sed ~ process.c > Remove unused-with-dead-store variable oldpsanl. > From Daniel Cegielka - thanks > ok jca@ (tom@) tmux ~ grid.c ~ key-string.c ~ window.c > Minor bits: fix an array size, add comment, make grid_cell_entry static. > (nicm@) == usr.sbin ========================================================== 07/07 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.sbin bgpd ~ parse.y ~ pfkey.c > Add missing htonl for IPsec SPI. > Also, do not allow to configure SPI values in the 0..255 range. RFC 4302 > and RFC 4303 say the following: > "The set of SPI values in the range 1 through 255 are reserved by the > Internet Assigned Numbers Authority (IANA) for future use; a reserved > SPI value will not normally be assigned by IANA unless the use of the > assigned SPI value is specified in an RFC. The SPI value of zero (0) > is reserved for local, implementation-specific use and MUST NOT be > sent on the wire". > ok and tweak benno@ (renato@) eigrpctl ~ eigrpctl.c ~ eigrpctl.8 > Allow specifying an alternate socket path. (renato@) eigrpd ~ eigrpd.h ~ eigrpe.h ~ interface.c ~ kroute.c ~ parse.y > No need to use SIOCGIFRDOMAIN anymore. (renato@) ldapd ~ btest.c > print a formatted errx() string instead of segfault, > by checking argc correctly. > ok guenther@ (gsoares@) npppd ~ npppd/npppd_auth.c > Delete lines which are misleading and unneeded. > spotted patrick (yasuoka@) ~ npppd/npppd.conf.5 > The default for the strip-nt-domain attribute is "yes", so fix up > the manpage to not tell lies. > ok yasuoka@ (patrick@) =============================================================================== _______________________________________________ odc mailing list [email protected] http://www.squish.net/mailman/listinfo/odc
