CVS commit: src/sys/dev/pci
Module Name:src Committed By: mrg Date: Thu Feb 8 07:53:47 UTC 2018 Modified Files: src/sys/dev/pci: if_et.c Log Message: update for GCC 6: - fix an array bounds violation and pass the right address to ether_crc32_be(). (i assume this actually makes et(4) multicast work.) To generate a diff of this commit: cvs rdiff -u -r1.15 -r1.16 src/sys/dev/pci/if_et.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/dev/nand
Module Name:src Committed By: mrg Date: Thu Feb 8 07:48:19 UTC 2018 Modified Files: src/sys/dev/nand: nand_bbt.c Log Message: update for GCC 6: - nand_bbt_block_mark() has a left-shift of negative value issue. this change avoids it, but reviewers indicate this function has other problems. To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/sys/dev/nand/nand_bbt.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/netinet
Module Name:src Committed By: maxv Date: Thu Feb 8 07:11:20 UTC 2018 Modified Files: src/sys/netinet: udp_usrreq.c Log Message: Style, and remove printfs. To generate a diff of this commit: cvs rdiff -u -r1.237 -r1.238 src/sys/netinet/udp_usrreq.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/netinet
Module Name:src Committed By: maxv Date: Thu Feb 8 06:50:38 UTC 2018 Modified Files: src/sys/netinet: udp_usrreq.c Log Message: Fix three pretty bad mistakes in NAT-T: * If we got a keepalive packet, we need to call m_freem, not m_free. Here the next mbufs in the chain are not freed. Seems easy to remotely DoS the system by sending fragmented keepalives in a loop. * If !ipsec_used, free the mbuf. * In udp_input, we need to update 'uh', because udp4_realinput may have modified the chain. Perhaps we also need to re-enforce alignment, so add an XXX. To generate a diff of this commit: cvs rdiff -u -r1.236 -r1.237 src/sys/netinet/udp_usrreq.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/distrib/sets
Module Name:src Committed By: christos Date: Thu Feb 8 03:27:51 UTC 2018 Modified Files: src/distrib/sets: mkvars.mk sets.subr src/distrib/sets/lists/base: shl.mi src/distrib/sets/lists/comp: mi src/distrib/sets/lists/debug: mi shl.mi src/distrib/sets/lists/misc: mi src/distrib/sets/lists/tests: mi Log Message: add openssl to the list of selectable variables for sets and fix the sets. To generate a diff of this commit: cvs rdiff -u -r1.33 -r1.34 src/distrib/sets/mkvars.mk cvs rdiff -u -r1.182 -r1.183 src/distrib/sets/sets.subr cvs rdiff -u -r1.830 -r1.831 src/distrib/sets/lists/base/shl.mi cvs rdiff -u -r1.2176 -r1.2177 src/distrib/sets/lists/comp/mi cvs rdiff -u -r1.240 -r1.241 src/distrib/sets/lists/debug/mi cvs rdiff -u -r1.191 -r1.192 src/distrib/sets/lists/debug/shl.mi cvs rdiff -u -r1.205 -r1.206 src/distrib/sets/lists/misc/mi cvs rdiff -u -r1.772 -r1.773 src/distrib/sets/lists/tests/mi Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/share
Module Name:src Committed By: pgoyette Date: Thu Feb 8 03:18:38 UTC 2018 Modified Files: src/share/man/man7: ascii.7 src/share/misc: ascii Log Message: Revert previous changes due to popular demand. Instead, add a note at the bottom of each document to provide the original ASCII characters' names. To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/share/man/man7/ascii.7 cvs rdiff -u -r1.3 -r1.4 src/share/misc/ascii Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/share
Module Name:src Committed By: pgoyette Date: Thu Feb 8 02:51:57 UTC 2018 Modified Files: src/share/man/man7: ascii.7 src/share/misc: ascii Log Message: While here, also update 014 - it's name is "ff" ("form feed"), and not "np" ("new page"). To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/share/man/man7/ascii.7 cvs rdiff -u -r1.2 -r1.3 src/share/misc/ascii Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/share/misc
Module Name:src Committed By: pgoyette Date: Thu Feb 8 02:37:43 UTC 2018 Modified Files: src/share/misc: ascii Log Message: Since this is the ASCII charactger set, use the ASCII name for the 012 character - "lf" for "line feed", not "nl" for "new line". Follow-on from PR misc/52989 (from Eitab Adler) To generate a diff of this commit: cvs rdiff -u -r1.1.1.1 -r1.2 src/share/misc/ascii Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/share/man/man7
Module Name:src Committed By: pgoyette Date: Thu Feb 8 02:30:08 UTC 2018 Modified Files: src/share/man/man7: ascii.7 Log Message: Bump date for previous To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/share/man/man7/ascii.7 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/share/man/man7
Module Name:src Committed By: pgoyette Date: Thu Feb 8 02:29:37 UTC 2018 Modified Files: src/share/man/man7: ascii.7 Log Message: Since this is describing the ASCII character set, use the correct ASCII abbreviation for character 012. All references I can find which seem to be even remotely authoritative and/or definitive use "lf" (for "line feed") rather than "nl" (for "new line"). See https://www.ascii-code.com and https://en.wikipedia.org/wiki/ASCII >From Eitan Adler in PR misc/52989 To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/share/man/man7/ascii.7 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/arch
Module Name:src Committed By: jmcneill Date: Thu Feb 8 00:10:26 UTC 2018 Removed Files: src/sys/arch/arm/rockchip: files.rockchip obio.c obio_com.c rockchip_board.c rockchip_cpufreq.c rockchip_crureg.h rockchip_dma.c rockchip_dwcmmc.c rockchip_dwctmr.c rockchip_dwctwo.c rockchip_emac.c rockchip_emacreg.h rockchip_i2c.c rockchip_i2creg.h rockchip_intr.h rockchip_reg.h rockchip_timer.c rockchip_timerreg.h rockchip_var.h src/sys/arch/evbarm/conf: ROCKCHIP files.rockchip mk.rockchip std.rockchip src/sys/arch/evbarm/rockchip: genassym.cf platform.h rockchip_machdep.c rockchip_start.S Log Message: Move Rockchip port to the attic. It is not very useful. To generate a diff of this commit: cvs rdiff -u -r1.11 -r0 src/sys/arch/arm/rockchip/files.rockchip cvs rdiff -u -r1.19 -r0 src/sys/arch/arm/rockchip/obio.c cvs rdiff -u -r1.3 -r0 src/sys/arch/arm/rockchip/obio_com.c \ src/sys/arch/arm/rockchip/rockchip_cpufreq.c cvs rdiff -u -r1.14 -r0 src/sys/arch/arm/rockchip/rockchip_board.c cvs rdiff -u -r1.8 -r0 src/sys/arch/arm/rockchip/rockchip_crureg.h cvs rdiff -u -r1.1 -r0 src/sys/arch/arm/rockchip/rockchip_dma.c \ src/sys/arch/arm/rockchip/rockchip_dwctmr.c \ src/sys/arch/arm/rockchip/rockchip_emacreg.h \ src/sys/arch/arm/rockchip/rockchip_intr.h \ src/sys/arch/arm/rockchip/rockchip_timerreg.h cvs rdiff -u -r1.6 -r0 src/sys/arch/arm/rockchip/rockchip_dwcmmc.c \ src/sys/arch/arm/rockchip/rockchip_dwctwo.c cvs rdiff -u -r1.17 -r0 src/sys/arch/arm/rockchip/rockchip_emac.c cvs rdiff -u -r1.7 -r0 src/sys/arch/arm/rockchip/rockchip_i2c.c cvs rdiff -u -r1.2 -r0 src/sys/arch/arm/rockchip/rockchip_i2creg.h \ src/sys/arch/arm/rockchip/rockchip_timer.c cvs rdiff -u -r1.5 -r0 src/sys/arch/arm/rockchip/rockchip_reg.h cvs rdiff -u -r1.13 -r0 src/sys/arch/arm/rockchip/rockchip_var.h cvs rdiff -u -r1.21 -r0 src/sys/arch/evbarm/conf/ROCKCHIP cvs rdiff -u -r1.1 -r0 src/sys/arch/evbarm/conf/files.rockchip cvs rdiff -u -r1.2 -r0 src/sys/arch/evbarm/conf/mk.rockchip cvs rdiff -u -r1.3 -r0 src/sys/arch/evbarm/conf/std.rockchip cvs rdiff -u -r1.1 -r0 src/sys/arch/evbarm/rockchip/genassym.cf \ src/sys/arch/evbarm/rockchip/platform.h cvs rdiff -u -r1.23 -r0 src/sys/arch/evbarm/rockchip/rockchip_machdep.c cvs rdiff -u -r1.4 -r0 src/sys/arch/evbarm/rockchip/rockchip_start.S Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libradius
Module Name:src Committed By: christos Date: Wed Feb 7 22:51:31 UTC 2018 Modified Files: src/lib/libradius: Makefile Log Message: Oops forgot one openssl version name change To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15 src/lib/libradius/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/arch/x86/x86
Module Name:src Committed By: maya Date: Wed Feb 7 22:49:32 UTC 2018 Modified Files: src/sys/arch/x86/x86: identcpu.c Log Message: stopgap fix: restrict XSAVEOPT to Intel CPUs The current code causes floating point miscalculations on AMD Ryzen. PR port-amd64/52966: amd64 FPU handling broken on AMD To generate a diff of this commit: cvs rdiff -u -r1.67 -r1.68 src/sys/arch/x86/x86/identcpu.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/arch/arm/cortex
Module Name:src Committed By: jmcneill Date: Wed Feb 7 20:42:17 UTC 2018 Modified Files: src/sys/arch/arm/cortex: gic.c Log Message: PR# port-evbarm/49468: Cortex GIC assertion triggered on Allwinner A80 SoC The priority level is changed by writing to GICC_PMR with interrupts disabled. However, interrupts are enabled/disabled downstream of the GICC at the CPU. When raising priority level, there is a window between the time that interrupts are disabled and the GICC_PMR register is written. If an interrupt occurs at a previously allowed priority before GICC_PMR is changed, the CPU will receive the signal when interrupts are re-enabled. At this time, GICC_PMR is now the new priority level, so reads of GICC_IAR will report a spurious IRQ. Move the "old_ipl != IPL_HIGH" test until after we have confirmed that there is at least one pending IRQ. To generate a diff of this commit: cvs rdiff -u -r1.31 -r1.32 src/sys/arch/arm/cortex/gic.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/dev/usb
Module Name:src Committed By: prlw1 Date: Wed Feb 7 15:55:58 UTC 2018 Modified Files: src/sys/dev/usb: xhci.c Log Message: xhci.c: avoid unused variable in non-DIAGNOSTIC build To generate a diff of this commit: cvs rdiff -u -r1.85 -r1.86 src/sys/dev/usb/xhci.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/kern
Module Name:src Committed By: manu Date: Wed Feb 7 15:51:35 UTC 2018 Modified Files: src/sys/kern: subr_tftproot.c Log Message: Fix md(4) double attachment in TFTPROOT option The mdattach() call in tftproot_dhcpboot() has probably always been useless, but it seems it became harmful, as it causes 7.1.1 to deadlock during boot. To generate a diff of this commit: cvs rdiff -u -r1.19 -r1.20 src/sys/kern/subr_tftproot.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/dev/sdmmc
Module Name:src Committed By: bouyer Date: Wed Feb 7 14:42:07 UTC 2018 Modified Files: src/sys/dev/sdmmc: sdmmc_mem.c Log Message: Fix uninitialized variable use: if there is an error, or if we are using a SPI controller, sdmmc_mem_send_op_cond() doens't assign a value to *ocrp, but it is used unconditionally in sdmmc_mem_enable() to see if we can switch to low voltage. In sdmmc_mem_send_op_cond(), if the new ocr is not returned by the card for whatever reason, set *ocrp to the orig value. To generate a diff of this commit: cvs rdiff -u -r1.63 -r1.64 src/sys/dev/sdmmc/sdmmc_mem.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libkvm
Module Name:src Committed By: maxv Date: Wed Feb 7 14:03:18 UTC 2018 Modified Files: src/lib/libkvm: kvm.c Log Message: Keep /dev/ksyms open in _kvm_open(). This way /dev/ksyms can be put into $g_kmem without breaking the tools that need kmem+ksyms. Discussed on tech-kern@ three weeks ago. The original issue was reported by maya@, the patch was written by Tom Ivar Helbekkmo, ok christos@. To generate a diff of this commit: cvs rdiff -u -r1.102 -r1.103 src/lib/libkvm/kvm.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/netinet
Module Name:src Committed By: maxv Date: Wed Feb 7 13:22:42 UTC 2018 Modified Files: src/sys/netinet: ip_mroute.c Log Message: Style and constify. To generate a diff of this commit: cvs rdiff -u -r1.152 -r1.153 src/sys/netinet/ip_mroute.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/tests/lib/libc/hash
Module Name:src Committed By: christos Date: Wed Feb 7 13:18:33 UTC 2018 Modified Files: src/tests/lib/libc/hash: t_hmac.c Log Message: md2 has been deprecated in OpenSSL-1.1 To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/tests/lib/libc/hash/t_hmac.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/usr.sbin/racoon
Module Name:src Committed By: christos Date: Wed Feb 7 13:16:50 UTC 2018 Modified Files: src/usr.sbin/racoon: Makefile Log Message: needs the OpenSSL-1.1 api to build To generate a diff of this commit: cvs rdiff -u -r1.30 -r1.31 src/usr.sbin/racoon/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/crypto/external/bsd/openssl.old/dist/crypto/dh
Module Name:src Committed By: christos Date: Wed Feb 7 13:16:25 UTC 2018 Modified Files: src/crypto/external/bsd/openssl.old/dist/crypto/dh: dh.h Log Message: add set0_key needed by racoon To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 \ src/crypto/external/bsd/openssl.old/dist/crypto/dh/dh.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/netinet
Module Name:src Committed By: maxv Date: Wed Feb 7 12:15:32 UTC 2018 Modified Files: src/sys/netinet: ip_mroute.c Log Message: More style. No functional change. To generate a diff of this commit: cvs rdiff -u -r1.151 -r1.152 src/sys/netinet/ip_mroute.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/netinet
Module Name:src Committed By: maxv Date: Wed Feb 7 12:09:55 UTC 2018 Modified Files: src/sys/netinet: ip_mroute.c Log Message: Remove parentheses in return statements. No functional change. To generate a diff of this commit: cvs rdiff -u -r1.150 -r1.151 src/sys/netinet/ip_mroute.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/netinet
Module Name:src Committed By: maxv Date: Wed Feb 7 12:04:50 UTC 2018 Modified Files: src/sys/netinet: ip_mroute.c Log Message: Style and remove unused macros. More to come. To generate a diff of this commit: cvs rdiff -u -r1.149 -r1.150 src/sys/netinet/ip_mroute.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/netinet
Module Name:src Committed By: maxv Date: Wed Feb 7 11:42:58 UTC 2018 Modified Files: src/sys/netinet: igmp.c ip_mroute.c ip_mroute.h Log Message: Remove RSVP_ISI, that's mostly dead code. FreeBSD and OpenBSD too removed it; FreeBSD kept some pieces but they are mostly no-opts. Sent on tech-net@, no comment. To generate a diff of this commit: cvs rdiff -u -r1.65 -r1.66 src/sys/netinet/igmp.c cvs rdiff -u -r1.148 -r1.149 src/sys/netinet/ip_mroute.c cvs rdiff -u -r1.31 -r1.32 src/sys/netinet/ip_mroute.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc
Module Name:src Committed By: pgoyette Date: Wed Feb 7 11:16:06 UTC 2018 Modified Files: src/lib/libc/gen: getgrent.3 getpwent.3 src/lib/libc/net: resolver.3 src/lib/libc/stdlib: ptsname.3 src/lib/libc/time: ctime.3 getdate.3 src/lib/libc/yp: ypclnt.3 Log Message: Fix typos, as reported by Eitan Adler. Update dates. To generate a diff of this commit: cvs rdiff -u -r1.31 -r1.32 src/lib/libc/gen/getgrent.3 cvs rdiff -u -r1.39 -r1.40 src/lib/libc/gen/getpwent.3 cvs rdiff -u -r1.33 -r1.34 src/lib/libc/net/resolver.3 cvs rdiff -u -r1.11 -r1.12 src/lib/libc/stdlib/ptsname.3 cvs rdiff -u -r1.56 -r1.57 src/lib/libc/time/ctime.3 cvs rdiff -u -r1.8 -r1.9 src/lib/libc/time/getdate.3 cvs rdiff -u -r1.28 -r1.29 src/lib/libc/yp/ypclnt.3 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/netinet6
Module Name:src Committed By: maxv Date: Wed Feb 7 10:52:20 UTC 2018 Modified Files: src/sys/netinet6: in6_proto.c Log Message: Style, and localify IPV6FORWARDING. No functional change. To generate a diff of this commit: cvs rdiff -u -r1.120 -r1.121 src/sys/netinet6/in6_proto.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/netinet6
Module Name:src Committed By: maxv Date: Wed Feb 7 10:22:00 UTC 2018 Modified Files: src/sys/netinet6: in6_proto.c Log Message: Change ip6_hdrnestlimit to be 15 instead of 50. I couldn't find any reference in RFCs about what a correct limit should be, but FreeBSD already uses 15. If an IPv6 packet has 50 options, there is clearly something wrong with it. To generate a diff of this commit: cvs rdiff -u -r1.119 -r1.120 src/sys/netinet6/in6_proto.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/atomic
Module Name:src Committed By: martin Date: Wed Feb 7 09:59:56 UTC 2018 Modified Files: src/lib/libc/atomic: atomic_ops.3 Log Message: Bump date for previous To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/lib/libc/atomic/atomic_ops.3 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/atomic
Module Name:src Committed By: martin Date: Wed Feb 7 09:55:35 UTC 2018 Modified Files: src/lib/libc/atomic: atomic_ops.3 Log Message: Fix typo, from Eitan Adler. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/lib/libc/atomic/atomic_ops.3 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/netinet6
Module Name:src Committed By: maxv Date: Wed Feb 7 09:53:09 UTC 2018 Modified Files: src/sys/netinet6: frag6.c Log Message: Rename back to ip6af_mff. It was actually clearer than ip6af_more. To generate a diff of this commit: cvs rdiff -u -r1.65 -r1.66 src/sys/netinet6/frag6.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/ufs/chfs
Module Name:src Committed By: ozaki-r Date: Wed Feb 7 08:50:13 UTC 2018 Modified Files: src/sys/ufs/chfs: ebh.c Log Message: Remove unnecessary assertions KASSERT(!rw_lock_held()) just before rw_destroy() is useless because rw_destroy does more strict check and provides better information on failure. To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/sys/ufs/chfs/ebh.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/netinet
Module Name:src Committed By: maxv Date: Wed Feb 7 08:12:25 UTC 2018 Modified Files: src/sys/netinet: ip_input.c Log Message: Remove null check on ip, it can't be null. (Confuses code scanners.) To generate a diff of this commit: cvs rdiff -u -r1.373 -r1.374 src/sys/netinet/ip_input.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.