OpenBSD src changes summary for 2017-06-26 ==========================================
distrib/sgi regress/usr.bin sys/arch/octeon/octeon sys/conf sys/dev sys/dev/pv sys/kern sys/miscfs/fifofs sys/net sys/netinet sys/netinet6 sys/nfs sys/sys usr.bin/mandoc usr.sbin/bgpctl usr.sbin/bgpd == distrib =========================================================== 01/05 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/distrib sgi ~ ramdisk/install.md > Add a MDKERNEL variable that contains the name of the boot kernel. > This will be used by the installer in an upcoming change. > OK deraadt@ (rpe@) == regress =========================================================== 02/05 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/regress usr.bin ~ mandoc/eqn/Makefile ~ mandoc/eqn/define/Makefile ~ mandoc/eqn/define/invalid.out_ascii ~ mandoc/eqn/fromto/basic.out_ascii ~ mandoc/eqn/fromto/basic.out_html ~ mandoc/eqn/fromto/noarg.out_ascii ~ mandoc/eqn/matrix/basic.in ~ mandoc/eqn/matrix/basic.out_ascii ~ mandoc/eqn/matrix/basic.out_html ~ mandoc/eqn/nullary/Makefile ~ mandoc/eqn/nullary/roman.in ~ mandoc/eqn/nullary/roman.out_ascii ~ mandoc/eqn/nullary/roman.out_html ~ mandoc/eqn/over/precedence.out_ascii ~ mandoc/eqn/over/precedence.out_html ~ mandoc/eqn/size/basic.out_ascii ~ mandoc/eqn/subsup/combine.out_ascii ~ mandoc/eqn/subsup/combine.out_html ~ mandoc/eqn/subsup/noarg.out_ascii ~ mandoc/eqn/subsup/noarg.out_html ~ mandoc/eqn/subsup/sub_group.out_ascii ~ mandoc/eqn/subsup/sub_group.out_html ~ mandoc/eqn/unary/Makefile ~ mandoc/eqn/unary/diacrit.out_ascii ~ mandoc/eqn/unary/diacrit.out_html ~ mandoc/eqn/unary/sqrt.in ~ mandoc/eqn/unary/sqrt.out_ascii ~ mandoc/eqn/unary/sqrt.out_html + mandoc/eqn/define/font.in + mandoc/eqn/define/font.out_ascii + mandoc/eqn/define/quoted.in + mandoc/eqn/define/quoted.out_ascii + mandoc/eqn/delim/Makefile + mandoc/eqn/delim/basic.in + mandoc/eqn/delim/basic.out_ascii + mandoc/eqn/nullary/symbol.in + mandoc/eqn/nullary/symbol.out_ascii + mandoc/eqn/nullary/symbol.out_html + mandoc/eqn/nullary/symbol.out_utf8 + mandoc/eqn/unary/bold.in + mandoc/eqn/unary/bold.out_ascii + mandoc/eqn/unary/bold.out_html > catch up with the recent eqn(7) improvements (schwarze@) == sys =============================================================== 03/05 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sys arch/octeon/octeon ~ cn3xxx.dts ~ cn3xxx_dts.S > Arrange a phandle for the "ciu" node. (visa@) conf ~ makegap.sh > note.ABI-tag and .MIPS.options are not needed anymore when > we use gapdummy.o (deraadt@) ~ makegap.sh > RANDOM1 was subject to rather bad modulus bias. Improve the situation a bit > by implementing an arc4random_uniform(3) clone with beloved jot(1) and > using it. > discussed with and ok deraadt (tb@) dev ~ audio.c > Factor a variable assignment in audiopoll(). > From Michael Bombardieri, thanks. (ratchov@) dev/pv ~ hyperv.c > Rework the deferred interrupt loop > By performing a task_add an interrupt handler can rely on the > taskq_thread to invoke it again with an additional benefit of > being able to sched_pause when required. In the long run more > than 99.8% of calls do not require an additional iteration. (mikeb@) ~ hvs.c > Minor cleanup; when polling delay before calling the interrupt handler > (mikeb@) kern ~ uipc_socket.c ~ uipc_usrreq.c ~ uipc_socket2.c ~ sys_generic.c > Assert that the corresponding socket is locked when manipulating socket > buffers. > This is one step towards unlocking TCP input path. Note that all the > functions asserting for the socket lock are not necessarilly MP-safe. > All the fields of 'struct socket' aren't protected. > Introduce a new kernel-only kqueue hint, NOTE_SUBMIT, to be able to > tell when a filter needs to lock the underlying data structures. Logic > and name taken from NetBSD. > Tested by Hrvoje Popovski. > ok claudio@, bluhm@, mikeb@ (mpi@) miscfs/fifofs ~ fifo_vnops.c > Assert that the corresponding socket is locked when manipulating socket > buffers. > This is one step towards unlocking TCP input path. Note that all the > functions asserting for the socket lock are not necessarilly MP-safe. > All the fields of 'struct socket' aren't protected. > Introduce a new kernel-only kqueue hint, NOTE_SUBMIT, to be able to > tell when a filter needs to lock the underlying data structures. Logic > and name taken from NetBSD. > Tested by Hrvoje Popovski. > ok claudio@, bluhm@, mikeb@ (mpi@) net ~ pfkeyv2.c ~ pfkeyv2_parsemessage.c > Allow updating the destination address of an existing TDB. Since the > destination address is used as an index when looking for a TDB, we need > to supply the new destination address in a different member. For this, > re-use the proxy address, that so far no one else has been using. It > would make sense to rename this member in the future. > ok claudio@ (patrick@) ~ pfkeyv2.c ~ rtsock.c > Assert that the corresponding socket is locked when manipulating socket > buffers. > This is one step towards unlocking TCP input path. Note that all the > functions asserting for the socket lock are not necessarilly MP-safe. > All the fields of 'struct socket' aren't protected. > Introduce a new kernel-only kqueue hint, NOTE_SUBMIT, to be able to > tell when a filter needs to lock the underlying data structures. Logic > and name taken from NetBSD. > Tested by Hrvoje Popovski. > ok claudio@, bluhm@, mikeb@ (mpi@) ~ pf_norm.c ~ pfvar.h > Fragments for a single connection (a combination of proto,src,dst,af) > may easily reuse the fragment id as it is only 16 bit for IPv4. To > avoid that pf reassembles them into the wrong packet, throw away > stale fragments. With the default timeout this happens after 12,000 > newer fragements have been seen. > from markus@; OK sashan@ (bluhm@) netinet ~ ip_ipsp.c ~ ip_ipsp.h > Split a part of tdb_delete() into tdb_unlink() so that we can remove > a TDB from the hash table without actually free()ing it. That way we > can modify the TDB and then put it back in using puttdb(). > ok claudio@ (patrick@) ~ ip_divert.c ~ ip_mroute.c ~ raw_ip.c ~ tcp_usrreq.c ~ tcp_subr.c ~ tcp_output.c ~ udp_usrreq.c ~ tcp_input.c > Assert that the corresponding socket is locked when manipulating socket > buffers. > This is one step towards unlocking TCP input path. Note that all the > functions asserting for the socket lock are not necessarilly MP-safe. > All the fields of 'struct socket' aren't protected. > Introduce a new kernel-only kqueue hint, NOTE_SUBMIT, to be able to > tell when a filter needs to lock the underlying data structures. Logic > and name taken from NetBSD. > Tested by Hrvoje Popovski. > ok claudio@, bluhm@, mikeb@ (mpi@) ~ ip_input.c ~ ip_var.h > Convert ip_input() to a pr_input style function. Goal is to process > IPsec packets without additional enqueueing. > OK mpi@ (bluhm@) netinet6 ~ ip6_divert.c ~ ip6_mroute.c ~ raw_ip6.c > Assert that the corresponding socket is locked when manipulating socket > buffers. > This is one step towards unlocking TCP input path. Note that all the > functions asserting for the socket lock are not necessarilly MP-safe. > All the fields of 'struct socket' aren't protected. > Introduce a new kernel-only kqueue hint, NOTE_SUBMIT, to be able to > tell when a filter needs to lock the underlying data structures. Logic > and name taken from NetBSD. > Tested by Hrvoje Popovski. > ok claudio@, bluhm@, mikeb@ (mpi@) ~ icmp6.c > When pinging an IPv6 link-local address, the reflected packet had > ::1 as source address. It should be the link-local address of the > attached interface. The rtalloc() in icmp6_reflect() did not find > the correct local address. The IPv6 routing table does not use > sin6_scope_id, but the embedded scope. So do not recover the scope. > bug report Harald Dunkel; OK mpi@ (bluhm@) ~ icmp6.c TAGGED OPENBSD_6_1 > When pinging an IPv6 link-local address, the reflected packet had > ::1 as source address. It should be the link-local address of the > attached interface. The rtalloc() in icmp6_reflect() did not find > the correct local address. The IPv6 routing table does not use > sin6_scope_id, but the embedded scope. So do not recover the scope. > bug report Harald Dunkel; OK mpi@ > The regression was introduced in rev 1.202 just before 6.1 release. > OK for stable benno@ deraadt@ (bluhm@) nfs ~ nfs_socket.c > Assert that the corresponding socket is locked when manipulating socket > buffers. > This is one step towards unlocking TCP input path. Note that all the > functions asserting for the socket lock are not necessarilly MP-safe. > All the fields of 'struct socket' aren't protected. > Introduce a new kernel-only kqueue hint, NOTE_SUBMIT, to be able to > tell when a filter needs to lock the underlying data structures. Logic > and name taken from NetBSD. > Tested by Hrvoje Popovski. > ok claudio@, bluhm@, mikeb@ (mpi@) sys ~ socketvar.h ~ event.h > Assert that the corresponding socket is locked when manipulating socket > buffers. > This is one step towards unlocking TCP input path. Note that all the > functions asserting for the socket lock are not necessarilly MP-safe. > All the fields of 'struct socket' aren't protected. > Introduce a new kernel-only kqueue hint, NOTE_SUBMIT, to be able to > tell when a filter needs to lock the underlying data structures. Logic > and name taken from NetBSD. > Tested by Hrvoje Popovski. > ok claudio@, bluhm@, mikeb@ (mpi@) == usr.bin =========================================================== 04/05 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin mandoc ~ eqn.c > when splitting a composite word, > do not forget to close the inserted list box (schwarze@) ~ eqn.c ~ libroff.h > Complete rewrite of the lexer in a single function with four operation > modes instead of four functions, resulting in considerable > simplification, fifty lines less of code, fifteen fewer automatic > variables, and several bug fixes, for example: > 1. The delim control statement consumes exactly two bytes of input, > requires no whitespace after these two bytes, and does not treat > quotes in any special way. > 2. If the argument of left, right, gfont, gsize, or size is defined > as an alias, only the first word of the value is used as the > delimiter, font name, or font size. > 3. If a back, fwd, down, or up keyword is followed by another keyword > instead of the required number, GNU eqn does nothing useful, but > typically errors out. So no need to have special handling (with > an ugly goto!) for it in mandoc. > Also getting rid of one pointless static buffer and twelve redundant > calls to strlcpy(3). (schwarze@) == usr.sbin ========================================================== 05/05 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.sbin bgpctl ~ bgpctl.c ~ parser.c > add support for the "graceful shutdown" well-known community as described > in draft-ietf-grow-bgp-gshut > from Job Snijders > ok phessler@ benno@ (phessler@) ~ parser.c > let admins set an unknown well-known community > from Job Snijders > ok phessler@ benno@ (phessler@) ~ bgpctl.c > don't print the WELLKNOWN string for unknown well-known communities > from Job Snijders > ok phessler@ benno@ (phessler@) bgpd ~ parse.y > allow setting localpref to 0 > from Job Snijders > ok phessler@ benno@ (phessler@) ~ bgpd.conf.5 ~ bgpd.h ~ parse.y > add support for the "graceful shutdown" well-known community as described > in draft-ietf-grow-bgp-gshut > from Job Snijders > ok phessler@ benno@ (phessler@) ~ parse.y > let admins set an unknown well-known community > from Job Snijders > ok phessler@ benno@ (phessler@) =============================================================================== _______________________________________________ odc mailing list [email protected] http://www.squish.net/mailman/listinfo/odc
