OpenBSD src changes summary for 2017-07-20 ==========================================
distrib/miniroot lib/libc lib/libcrypto libexec/login_skey regress/sbin regress/sys regress/usr.bin sbin/dhclient sbin/pfctl share/man sys/arch/amd64/amd64 sys/arch/arm64/arm64 sys/arch/i386/i386 sys/arch/luna88k/conf sys/dev/acpi sys/dev/usb sys/kern sys/uvm usr.bin/aucat usr.bin/cvs usr.bin/mandoc usr.bin/newsyslog usr.bin/sndiod usr.bin/vi usr.sbin/rebound == distrib =========================================================== 01/09 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/distrib miniroot ~ install.sub > Zap space between function name and parens. > ok deraadt@ rpe@ tb@ (anton@) ~ install.sub > Move the execution of the {install,upgrade}.site script to the end > of the install/upgrade process. > OK tb@ (rpe@) == lib =============================================================== 02/09 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/lib libc ~ gen/syslog_r.c > Rename TBUF_LEN and FMT_LEN to _SIZE as they contain a NUL byte. > Change FMT_SIZE to 1024+1 for consistency. Do not loop over the > format string if there is no output space left. > OK deraadt@ millert@ (bluhm@) ~ sys/mmap.2 > Accessing a mmap(2)ed file behind its end should result in a SIGBUS > according to POSIX. Bring regression test and kernel in line for > amd64 and i386. Other architectures have to follow. > OK deraadt@ kettenis@ (bluhm@) libcrypto ~ x509v3/v3_ncons.c > Allow leading . in nameConstraints. from openssl via jabberwock. ok jsing > (tedu@) == libexec =========================================================== 03/09 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/libexec login_skey ~ login_skey.c > When login_skey was called for a user without skey, it crashed with > NULL pointer dereference. It tried to pass a file descriptor that > did not exist. This has to be done conditionally. > bug found by Raimund Specht with process accounting; OK millert@ (bluhm@) == regress =========================================================== 04/09 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/regress sbin ~ pfctl/pf109.ok ~ pfctl/pf110.in ~ pfctl/pf110.ok > Fixup pf109.ok and rewrite pf110 (mikeb@) sys ~ kern/siginfo-fault/siginfo-fault.c > Accessing a mmap(2)ed file behind its end should result in a SIGBUS > according to POSIX. Bring regression test and kernel in line for > amd64 and i386. Other architectures have to follow. > OK deraadt@ kettenis@ (bluhm@) usr.bin ~ mandoc/mdoc/Sh/before.in ~ mandoc/mdoc/Sh/before.out_ascii ~ mandoc/mdoc/Sh/before.out_markdown ~ mandoc/mdoc/Sh/subbefore.in ~ mandoc/mdoc/Sh/subbefore.out_ascii ~ mandoc/mdoc/Sh/subbefore.out_markdown > Avoid cross reference to mandoc(1) because it may cause a message > on other operating systems where mandoc is not installed, > causing the test to fail in the portable test suite. (schwarze@) ~ make/Makefile + make/mk38bis > extra test because mk38 triggers two issues and fixing the first one > makes the second one vanish (espie@) == sbin ============================================================== 05/09 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sbin dhclient ~ dhclient.c > Restore RTM_DELADDR/RTM_NEWADDR monitoring to the > minimum required to ensure that resolv.conf is > written out on startup/HUP. > Noticed by and fix tested by jmc@ (krw@) pfctl ~ pfctl.8 > "no-route" is also shown by -sinfo; (jmc@) == share ============================================================= 06/09 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/share man ~ man7/mdoc.7 > update link to mandoc.bsd.lv (schwarze@) == sys =============================================================== 07/09 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sys arch/amd64/amd64 ~ trap.c > Accessing a mmap(2)ed file behind its end should result in a SIGBUS > according to POSIX. Bring regression test and kernel in line for > amd64 and i386. Other architectures have to follow. > OK deraadt@ kettenis@ (bluhm@) arch/arm64/arm64 ~ trap.c > Bring SIBUS/SIGSEGV reporting in line with amd64 and i386. > ok deraadt@, bluhm@ (kettenis@) arch/i386/i386 ~ trap.c > Accessing a mmap(2)ed file behind its end should result in a SIGBUS > according to POSIX. Bring regression test and kernel in line for > amd64 and i386. Other architectures have to follow. > OK deraadt@ kettenis@ (bluhm@) arch/luna88k/conf ~ Makefile.luna88k > Kernel relinking for luna88k, first step. > Not yet split locore.S to locore.S and locore0.S. > ok deraadt@ (aoyama@) dev/acpi ~ acpi.c > Start a list of isa(4) device names such that we can avoid printing them > as "not configured". > ok mikeb@, millert@, deraadt@ (kettenis@) dev/usb ~ if_ure.c > Enable RX aggregation, fix configuring custom MAC address and remove > double reset sequence. > From and tested by sc.dying at gmail on RTL8152 (ver 4c10) and RTL8153 > (ver 5c20). (mpi@) ~ uhid.c > Remove SIGIO support. Base tools do not implement it and ports relying > on libusbhid, generally via SDL, shouldn't do it either since it's not > portable. > Suggested by deraadt@ after Ilja van Sprundel reported an issue with a > stale struct proc pointer in similar code. > ok kettenis@, deraadt@ (mpi@) ~ if_otus.c > Make otus(4) drop frames larger than MCLBYTES. > Problem reported by Ilja Van Sprundel. > ok deraadt@ tb@ (stsp@) kern ~ uipc_socket.c > Prepare filt_soread() to be locked. No functionnal change. > ok bluhm@, claudio@, visa@ (mpi@) ~ sys_socket.c > Extend the scope of the socket lock in soo_stat() to protect `so_state' > and `so_rcv'. > ok bluhm@, claudio@, visa@ (mpi@) ~ uipc_socket.c > If pool_get() sleeps while allocating additional memory for socket > splicing, another process may allocate it in the meantime. Then > one of the splicing structures leaked in sosplice(). Recheck that > no struct sosplice exists after a protential sleep. > reported by Ilja Van Sprundel; OK mpi@ (bluhm@) ~ kern_descrip.c > Initialize a local variable to not leak kernel stack info to userland > if TIOCGPGRP fail. > Issue found by Ilja van Sprundel. > ok bluhm@, millert@, deraadt@ (mpi@) ~ uipc_syscalls.c > When receiving a struct sockaddr from userland, enforce that memory > for sa_len and sa_family is provided. This will make handling of > socket name mbufs within the kernel safer. > issue reported by Ilja Van Sprundel; OK claudio@ (bluhm@) uvm ~ uvm_fault.c > Accessing a mmap(2)ed file behind its end should result in a SIGBUS > according to POSIX. Bring regression test and kernel in line for > amd64 and i386. Other architectures have to follow. > OK deraadt@ kettenis@ (bluhm@) == usr.bin =========================================================== 08/09 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin aucat ~ aucat.c > Fix integer overflow that would causes >12 hours files > to not properly relocate. Found with coverity. (ratchov@) cvs ~ date.y ~ history.c > Add missing <time.h> header. > ok joris@ (okan@) mandoc ~ mdoc_validate.c > correctly handle letters in .Nx arguments; improves for example > getpgid(2), ac(8), ldconfig(8), mount_ffs(8), sa(8), ttyflags(8), ... > (schwarze@) ~ read.c > Do not call err(3) from the parser. Call mandoc_vmsg() and > return failure such that we can continue with the next file. (schwarze@) ~ main.c ~ mandoc.1 > For -Tlint, put parser messages on stdout instead of stderr. > Originally, naddy@ requested this in 2011 (or maybe even earlier). > It was discussed with joerg@, kristaps@, naddy@, and espie@ in 2011, > and everybody agreed in principle, but it was postponed because > kristaps@ wanted to do some cleanup of the message system first. > Meanwhile, message infrastructure was improved about a dozen times... > This makes long, tedious commands like "mandoc -Tlint *.1 2>&1 | less" > unnecessary and allows simple ones like "man -l -Tlint *.1". (schwarze@) newsyslog ~ newsyslog.8 ~ newsyslog.c > Don't exit on invalid config lines, yet return a proper exit status. > newsyslog(8) is mainly used to proces log files, not rotating them > because of an invalid field means that /var will end up full. > Initially I wanted to ignore only getpwnam/getgrnam errors, but millert@ > convinced me otherwise. malloc(3) errors are still fatal. > Diff prompted by a report from Harald Dunkel, ok millert@ (jca@) sndiod ~ siofile.c > Fix debug printf used to report kernel bugs: print par.bps instead > of par.bits. Found by coverity. (ratchov@) ~ sock.c > Add comments to explain correct code that might look wrong. (ratchov@) vi ~ cl/cl_term.c > Replace usage of strtol() with strtonum(). > ok bentley@ deraadt@ millert@ tb@ (anton@) == usr.sbin ========================================================== 09/09 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.sbin rebound ~ rebound.8 > - listening on localhost is now adjustable; ok tedu > - document SIGUSR1, as noted by tedu (jmc@) =============================================================================== _______________________________________________ odc mailing list [email protected] http://www.squish.net/mailman/listinfo/odc
