OpenBSD src changes summary for 2017-04-24 ==========================================
distrib/miniroot distrib/notes etc/netstart sbin/iked share/man sys/arch/arm/arm sys/arch/arm/include sys/arch/arm64/arm64 sys/arch/octeon/conf sys/arch/octeon/dev sys/arch/octeon/octeon sys/dev/pci usr.bin/aucat usr.bin/mandoc usr.bin/midiplay usr.sbin/dhcpd usr.sbin/tcpdump usr.sbin/vmd == distrib =========================================================== 01/07 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/distrib miniroot ~ install.sub > Introduce a new function parse_hn_line() that replaces the existing > hostname.if(5) parsing code in ifstart(). > - change v6_config() > - replace rtsol with autoconf in "IPv6 addres for <if>" question > - write 'inet6 autoconf" to hostname.if file instead of rtsol > - add parse_hn_line() function with installer specific changes > - skip shell command and bridge config lines > - skip inet6 config (incl. dest lines) if there's no inet6 support > - skip dhcp config if there's no dhclient > - change ifstart() to use parse_hn_line() > Discussed with and positive feedback from many > 'commit' deraadt@ > conditional OK sthen@ (untested) (rpe@) notes ~ m4.common > Replace 'rtsol' with 'autoconf' to reflect the change in the installer. > (rpe@) == etc =============================================================== 02/07 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/etc netstart ~ netstart > Introduce a new function parse_hn_line() that replaces the existing > hostname.if(5) parsing code in ifstart(). > Add a -n option to netstart to only print the interface configuration > commands instead of executing them. > Add a HN_DIR variable, that points to the directory of the hostname.if > files (default /etc) that allows for future regression tests. > - add new parse_hn_line() function > - change ifstart() > - rename $if to $_if > - don't ifconfig or ifconfig create if -n option is used > - replace hostname.if(5) parsing code with new parse_hn_line() > - just print configuration commands if -n option is used > - autoconf now happens in ifstart(), remove ifv6autoconf() > - introduce HN_DIR variable for the hostname.if file location > - add handling of the -n option to only print config commands > - ensure -n is only used if interfaces are specified as parameters > Discussed with and positive feedback from many > 'commit' deraadt@ > OK sthen@ (rpe@) == sbin ============================================================== 03/07 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sbin iked ~ parse.y > Fix configuration of ASN1_DN IDs. > Public key authentication uses public key files that are stored in the > /etc/iked/pubkeys/ directory where the IKE IDs are encoded as filenames. > This does not simply work with ASN1_DNs where the IDs include slashes > and other special characters. Instead of breaking and failing when an > ASN1_DN is configured, simply skip the public key lookup but allow > to use it with certificates or PSKs. > Reported and fix tested by Igor V. Gubenko - Thanks. (reyk@) == share ============================================================= 04/07 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/share man ~ man4/iwm.4 > Document monitor mode support in iwm(4). (stsp@) ~ man4/iwm.4 > Document support for 3168 and 8265 devices in iwm(4). (stsp@) ~ man3/intro.3 > update for the llvm libs; help/ok kettenis (jmc@) ~ man5/myname.5 > 'rtsol' has been removed from hostname.if(5) recently. > OK jmc@ (rpe@) == sys =============================================================== 05/07 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sys arch/arm/arm ~ cpu.c ~ cpufunc.c > Add support for Cortex-A12. Even though ARM rebranded these as Cortex-A17 > they have a different ID from "real" Cortex-A17 cores. > ok phessler@, patrick@ (kettenis@) arch/arm/include ~ armreg.h > Add support for Cortex-A12. Even though ARM rebranded these as Cortex-A17 > they have a different ID from "real" Cortex-A17 cores. > ok phessler@, patrick@ (kettenis@) arch/arm64/arm64 ~ trap.c > Stop dumping registers on "normal" segmentation faults. Do print the > contents > of the esr_el1 register for unhandled userland exceptions (and continue to > dump the registers in that case). > Handle breakpoint traps and make sure we call refreshcreds() on userland > traps. > ok jsg@ (kettenis@) arch/octeon/conf ~ files.octeon > Add an fdt blob for octeon systems whose firmware does not provide > a device-tree. It will be needed later when more device drivers > are attached using fdt. > OK kettenis@ (visa@) arch/octeon/dev ~ octeon_iobus.c > Process fdt before iobus devices. Needed later when interrupt and > MDIO controller drivers are attached using fdt. (visa@) arch/octeon/octeon ~ machdep.c + cn3xxx.dts + cn3xxx_dts.S > Add an fdt blob for octeon systems whose firmware does not provide > a device-tree. It will be needed later when more device drivers > are attached using fdt. > OK kettenis@ (visa@) dev/pci ~ if_iwm.c ~ if_iwmreg.h > Implement support for multiple packets per receive DMA buffer in iwm(4). > We can now clear SINGLE_FRAME_MSK in the receive configuration register. > Linux has not set this bit in years, and Dragonfly stopped setting it > in commit b5eb43f0280bbcfd26af51cf5a4b8e8ff3590b67. > This is a prerequisite for monitor mode since the firmware seems to ignore > the SINGLE_FRAME_MSK bit while running in monitor mode and sends us > garbage. > Tested on 7260, 7265, and 8260 devices. (stsp@) ~ if_iwm.c > Implement monitor mode support for iwm(4). > The magic commands to capture raw 802.11 frames on e.g. channel 1 are: > ifconfig iwm0 mediaopt monitor chan 1 > tcpdump -n -i iwm0 -y IEEE802_11_RADIO -s 4096 -w /tmp/iwm.pcap > ifconfig iwm0 -mediaopt monitor -chan (stsp@) ~ if_ix.c > Since rev 1.1 ix has attempted to require a 64 bit BAR, the test for > this was wrong and was corrected at the end of last year in rev 1.140. > Before then a 64 bit BAR was not enforced as the test was wrong. > It turns out there exist 82598 parts which have a 32 bit BAR so change > the test to only require a memory BAR and not a 64 bit memory BAR. > Problem reported by Robert Blacquiere. ok mikeb@ (jsg@) == usr.bin =========================================================== 06/07 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin aucat ~ aucat.1 > Fix typos. From Michael W. Bombardieri <mb at ii.net>. Thanks! (ratchov@) mandoc ~ libman.h ~ libmdoc.h ~ man.c ~ man.h ~ man_hash.c ~ man_html.c ~ man_macro.c ~ man_term.c ~ man_validate.c ~ mandocdb.c ~ mdoc.c ~ mdoc.h ~ mdoc_argv.c ~ mdoc_hash.c ~ mdoc_html.c ~ mdoc_macro.c ~ mdoc_man.c ~ mdoc_markdown.c ~ mdoc_state.c ~ mdoc_term.c ~ mdoc_validate.c ~ roff.c ~ roff.h ~ tree.c > Continue parser unification: > * Make enum rofft an internal interface as enum roff_tok in "roff.h". > * Represent mdoc and man macros in enum roff_tok. > * Make TOKEN_NONE a proper enum value and use it throughout. > * Put the prologue macros first in the macro tables. > * Unify mdoc_macroname[] and man_macroname[] into roff_name[]. (schwarze@) midiplay ~ midiplay.c > Print usage on stderr as do other programs. From Michael > Bombardieri <mb at ii.net>, thanks. (ratchov@) == usr.sbin ========================================================== 07/07 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.sbin dhcpd ~ conflex.c ~ confpars.c ~ dhcp.c ~ dhcpd.conf.5 ~ dhcpd.h ~ dhctoken.h > Add 'echo-client-id' statment, so that RFC 6842 behaviour can be > turned off for those clients and networks that find it impossible to > move past RFC 2131. Modelled on the same statement in recent ISC > versions, though we default to 'on' (a.k.a. RFC 6842) rather that > 'off' (a.k.a. RFC 2131). > Problems reported by Bastien Durel (Xerox Phaser 6022 printer) and > Bryan Vyhmeister (Hon Hai Precision router) via misc@. Thanks! (krw@) ~ dhcpd.conf.5 > a little more consistent text for previous; ok krw (jmc@) tcpdump ~ print-bgp.c > Print bgp administrative shutdown messages (draft-ietf-idr-shutdown) > From Job Snijders <job -AT instituut -DOT- net>, thanks! > ok canacar@, deraadt@ (benno@) vmd ~ dhcp.c > Don't overflow the allocated DHCP response buffer. > When copying the DHCP/BOOTP response into the allocated buffer, use > the calculated response length instead of the maximum size of a DHCP > packet. The response length was verified correctly but the very last > step missed to use it. > Found by Caspar Schutijser and malloc.conf(5) "S" > OK deraadt@ (reyk@) =============================================================================== _______________________________________________ odc mailing list [email protected] http://www.squish.net/mailman/listinfo/odc
