CVS commit: src/sys/arch/i386/conf
Module Name:src Committed By: maxv Date: Sat Jan 27 07:51:04 UTC 2018 Removed Files: src/sys/arch/i386/conf: kern.ldscript.4MB largepages.inc Log Message: Remove these files. No one cares about this on i386, and there is no point in keeping undocumented options nobody understands anyway. To generate a diff of this commit: cvs rdiff -u -r1.19 -r0 src/sys/arch/i386/conf/kern.ldscript.4MB cvs rdiff -u -r1.4 -r0 src/sys/arch/i386/conf/largepages.inc Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/arch/i386/i386
Module Name:src Committed By: maxv Date: Sat Jan 27 07:45:58 UTC 2018 Modified Files: src/sys/arch/i386/i386: copy.S Log Message: Sync with amd64, in particular, add END() markers, don't fall through functions, narrow the copy windows, and remove suword. To generate a diff of this commit: cvs rdiff -u -r1.25 -r1.26 src/sys/arch/i386/i386/copy.S Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/fs/msdosfs
Module Name:src Committed By: sevan Date: Sat Jan 27 03:54:01 UTC 2018 Modified Files: src/sys/fs/msdosfs: msdosfs_fat.c Log Message: Need strings.h for ffs() Resolves implict declaration warning of ffs() when building tools via build.sh To generate a diff of this commit: cvs rdiff -u -r1.31 -r1.32 src/sys/fs/msdosfs/msdosfs_fat.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/makefs/msdos
Module Name:src Committed By: sevan Date: Sat Jan 27 02:07:33 UTC 2018 Modified Files: src/usr.sbin/makefs/msdos: msdosfs_vfsops.c Log Message: Need strings.h for ffs() To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/usr.sbin/makefs/msdos/msdosfs_vfsops.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/modules/amdzentemp
Module Name:src Committed By: christos Date: Sat Jan 27 00:23:19 UTC 2018 Modified Files: src/sys/modules/amdzentemp: amdzentemp.ioconf Log Message: use the intermediate bus To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/sys/modules/amdzentemp/amdzentemp.ioconf 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/pci
Module Name:src Committed By: christos Date: Sat Jan 27 00:21:42 UTC 2018 Modified Files: src/sys/arch/x86/pci: files.pci Log Message: provide an intermediate "bus" for the module and to be the same structure like amdtemp To generate a diff of this commit: cvs rdiff -u -r1.22 -r1.23 src/sys/arch/x86/pci/files.pci 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: christos Date: Sat Jan 27 00:00:26 UTC 2018 Modified Files: src/sys/kern: kern_sysctl.c Log Message: remove useless KASSERT. To generate a diff of this commit: cvs rdiff -u -r1.260 -r1.261 src/sys/kern/kern_sysctl.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/pad
Module Name:src Committed By: pgoyette Date: Fri Jan 26 23:36:01 UTC 2018 Modified Files: src/sys/dev/pad: pad.c Log Message: Fix typo in previous. mea culpa, mea culpa, mea maxima culpa To generate a diff of this commit: cvs rdiff -u -r1.51 -r1.52 src/sys/dev/pad/pad.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/x86/pci
Module Name:src Committed By: pgoyette Date: Fri Jan 26 23:01:44 UTC 2018 Modified Files: src/sys/arch/x86/pci: amdzentemp.c Log Message: sc->sc_sensor cannot be NULL since it was just allocated with KM_SLEEP (which cannot fail). So remove the NULL-check. CID/1428644 To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/sys/arch/x86/pci/amdzentemp.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: pgoyette Date: Fri Jan 26 22:58:09 UTC 2018 Modified Files: src/sys/kern: subr_autoconf.c Log Message: Ensure that dev is not NULL - CID/1428649 To generate a diff of this commit: cvs rdiff -u -r1.255 -r1.256 src/sys/kern/subr_autoconf.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: pgoyette Date: Fri Jan 26 22:54:33 UTC 2018 Modified Files: src/sys/kern: kern_sysctl.c Log Message: Bounds checking - CID/1428650 To generate a diff of this commit: cvs rdiff -u -r1.259 -r1.260 src/sys/kern/kern_sysctl.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/pad
Module Name:src Committed By: pgoyette Date: Fri Jan 26 22:48:22 UTC 2018 Modified Files: src/sys/dev/pad: pad.c Log Message: Unitialized variable - CID/1428657 To generate a diff of this commit: cvs rdiff -u -r1.50 -r1.51 src/sys/dev/pad/pad.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-8] src/doc
Module Name:src Committed By: martin Date: Fri Jan 26 19:53:10 UTC 2018 Modified Files: src/doc [netbsd-8]: CHANGES-8.0 Log Message: Note tickets #508, #510, #511 and #512 To generate a diff of this commit: cvs rdiff -u -r1.1.2.106 -r1.1.2.107 src/doc/CHANGES-8.0 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-8] src/sys/netipsec
Module Name:src Committed By: martin Date: Fri Jan 26 19:51:19 UTC 2018 Modified Files: src/sys/netipsec [netbsd-8]: xform_ah.c Log Message: Pull up following revision(s) (requested by maxv in ticket #512): sys/netipsec/xform_ah.c: revision 1.75 sys/netipsec/xform_ah.c: revision 1.76 Revert a part of rev1.49 (six months ago). The pointer given to memcpy was correct. Discussed with Christos and Ryota. Fix a vulnerability in IPsec-IPv6-AH, that allows an attacker to remotely crash the kernel with a single packet. In this loop we need to increment 'ad' by two, because the length field of the option header does not count the size of the option header itself. If the length is zero, then 'count' is incremented by zero, and there's an infinite loop. Beyond that, this code was written with the assumption that since the IPv6 packet already went through the generic IPv6 option parser, several fields are guaranteed to be valid; but this assumption does not hold because of the missing '+2', and there's as a result a triggerable buffer overflow (write zeros after the end of the mbuf, potentially to the next mbuf in memory since it's a pool). Add the missing '+2', this place will be reinforced in separate commits. To generate a diff of this commit: cvs rdiff -u -r1.54.2.1 -r1.54.2.2 src/sys/netipsec/xform_ah.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/powerpc/booke
Module Name:src Committed By: flxd Date: Fri Jan 26 17:49:55 UTC 2018 Modified Files: src/sys/arch/powerpc/booke: e500_intr.c Log Message: Another try fixing printf format using the ultimate uintmax_t idiom. To generate a diff of this commit: cvs rdiff -u -r1.36 -r1.37 src/sys/arch/powerpc/booke/e500_intr.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/pci
Module Name:src Committed By: knakahara Date: Fri Jan 26 16:25:28 UTC 2018 Modified Files: src/sys/dev/pci: if_wm.c Log Message: Fix 82574 MSI-X mode cannot receive packets after 82574 receives high rate traffic. In short, 82574 MSI-X mode does not cause RXQ MSI-X vector when 82574's phys FIFO overflows. I don't know why but 82574 causes not RXQ MSI-X vector but OTHER MSI-X vector at the situation. see: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?h=v4.15-rc9&id=4aea7a5c5e940c1723add439f4088844cd26196d advised by msaitoh@n.o, thanks. To generate a diff of this commit: cvs rdiff -u -r1.558 -r1.559 src/sys/dev/pci/if_wm.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-8] src/sys
Module Name:src Committed By: martin Date: Fri Jan 26 15:41:13 UTC 2018 Modified Files: src/sys/kern [netbsd-8]: kern_timeout.c src/sys/netinet [netbsd-8]: if_arp.c src/sys/netinet6 [netbsd-8]: nd6_nbr.c Log Message: Pull up following revision(s) (requested by ozaki-r in ticket #511): sys/kern/kern_timeout.c: revision 1.54 sys/netinet6/nd6_nbr.c: revision 1.141 sys/netinet6/nd6_nbr.c: revision 1.144 sys/netinet/if_arp.c: revision 1.256 Fix a deadlock on callout_halt of nd6_dad_timer We must not call callout_halt of nd6_dad_timer with holding nd6_dad_lock because the lock is taken in nd6_dad_timer. Once softnet_lock goes away, we can pass the lock to callout_halt, but for now we cannot. Make DAD destructions (MP-)safe with callout_stop arp_dad_stoptimer and nd6_dad_stoptimer can be called with or without softnet_lock held and unfortunately we have no easy way to statically know which. So it is hard to use callout_halt there. To address the situation, we use callout_stop to make the code safe. The new approach copes with the issue by delegating the destruction of a callout to callout itself, which allows us to not wait the callout to finish. This can be done thanks to that DAD objects are separated from other data such as ifa. The approach is suggested by riastradh@ Proposed on tech-kern@ and tech-net@ Sanity-check if interlock is held when it's passed To generate a diff of this commit: cvs rdiff -u -r1.52 -r1.52.2.1 src/sys/kern/kern_timeout.c cvs rdiff -u -r1.250.2.4 -r1.250.2.5 src/sys/netinet/if_arp.c cvs rdiff -u -r1.138.6.1 -r1.138.6.2 src/sys/netinet6/nd6_nbr.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/share/man/man4/man4.x86
Module Name:src Committed By: wiz Date: Fri Jan 26 15:12:37 UTC 2018 Modified Files: src/share/man/man4/man4.x86: amdsmn.4 Log Message: Remove Tn. Mention first NetBSD release. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/share/man/man4/man4.x86/amdsmn.4 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys
Module Name:src Committed By: maxv Date: Fri Jan 26 14:47:41 UTC 2018 Modified Files: src/sys/net: if_etherip.c src/sys/netinet: ip_etherip.c src/sys/netinet6: ip6_etherip.c Log Message: A few fixes: * Style. * Don't add M_PKTHDR manually, that's absolutely forbidden. Add a KASSERT to make sure it's already there. * Add a missing NULL check after m_pullup. To generate a diff of this commit: cvs rdiff -u -r1.41 -r1.42 src/sys/net/if_etherip.c cvs rdiff -u -r1.20 -r1.21 src/sys/netinet/ip_etherip.c cvs rdiff -u -r1.21 -r1.22 src/sys/netinet6/ip6_etherip.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/amd64/conf
Module Name:src Committed By: maxv Date: Fri Jan 26 14:41:22 UTC 2018 Modified Files: src/sys/arch/amd64/conf: GENERIC Log Message: Add etherip, so that we at least know it exists on amd64. To generate a diff of this commit: cvs rdiff -u -r1.482 -r1.483 src/sys/arch/amd64/conf/GENERIC Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/arch/amd64/amd64
Module Name:src Committed By: maxv Date: Fri Jan 26 14:38:46 UTC 2018 Modified Files: src/sys/arch/amd64/amd64: machdep.c Log Message: Zero out the scratch value in the UTLS page during context switches. We temporarily put %rax there when processing syscalls, and we wouldn't want the new lwp to see the %rax value of the previous lwp. To generate a diff of this commit: cvs rdiff -u -r1.295 -r1.296 src/sys/arch/amd64/amd64/machdep.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-8] src/sys/arch
Module Name:src Committed By: martin Date: Fri Jan 26 14:28:17 UTC 2018 Modified Files: src/sys/arch/acorn26/conf [netbsd-8]: GENERIC src/sys/arch/acorn32/conf [netbsd-8]: EB7500ATX GENERIC src/sys/arch/alpha/conf [netbsd-8]: GENERIC src/sys/arch/amd64/conf [netbsd-8]: XEN3_DOM0 XEN3_DOMU src/sys/arch/amiga/conf [netbsd-8]: DRACO GENERIC GENERIC.in INSTALL src/sys/arch/amigappc/conf [netbsd-8]: GENERIC NULL src/sys/arch/arc/conf [netbsd-8]: GENERIC RPC44 src/sys/arch/atari/conf [netbsd-8]: GENERIC.in src/sys/arch/bebox/conf [netbsd-8]: GENERIC src/sys/arch/cats/conf [netbsd-8]: GENERIC src/sys/arch/cesfic/conf [netbsd-8]: GENERIC src/sys/arch/cobalt/conf [netbsd-8]: GENERIC INSTALL src/sys/arch/emips/conf [netbsd-8]: GENERIC src/sys/arch/evbarm/conf [netbsd-8]: MMNET_GENERIC MPCSA_GENERIC MV2120 src/sys/arch/evbarm64/conf [netbsd-8]: A64EMUL src/sys/arch/evbppc/conf [netbsd-8]: EXPLORA451 src/sys/arch/ews4800mips/conf [netbsd-8]: GENERIC src/sys/arch/hp300/conf [netbsd-8]: GENERIC src/sys/arch/hpcsh/conf [netbsd-8]: GENERIC src/sys/arch/hppa/conf [netbsd-8]: GENERIC src/sys/arch/i386/conf [netbsd-8]: XEN3_DOM0 XEN3_DOMU src/sys/arch/iyonix/conf [netbsd-8]: GENERIC src/sys/arch/landisk/conf [netbsd-8]: GENERIC src/sys/arch/luna68k/conf [netbsd-8]: GENERIC INSTALL src/sys/arch/mac68k/conf [netbsd-8]: GENERIC src/sys/arch/macppc/conf [netbsd-8]: GENERIC GENERIC_601 MAMBO POWERMAC_G5 src/sys/arch/mipsco/conf [netbsd-8]: GENERIC src/sys/arch/mvme68k/conf [netbsd-8]: GENERIC src/sys/arch/netwinder/conf [netbsd-8]: GENERIC src/sys/arch/news68k/conf [netbsd-8]: GENERIC GENERIC_TINY LIBERO src/sys/arch/newsmips/conf [netbsd-8]: GENERIC src/sys/arch/next68k/conf [netbsd-8]: GENERIC src/sys/arch/pmax/conf [netbsd-8]: GENERIC GENERIC64 src/sys/arch/prep/conf [netbsd-8]: GENERIC src/sys/arch/rs6000/conf [netbsd-8]: GENERIC src/sys/arch/sandpoint/conf [netbsd-8]: GENERIC src/sys/arch/sgimips/conf [netbsd-8]: GENERIC32_IP12 GENERIC32_IP2x GENERIC32_IP3x src/sys/arch/sparc/conf [netbsd-8]: GENERIC MRCOFFEE src/sys/arch/sparc64/conf [netbsd-8]: GENERIC src/sys/arch/sun2/conf [netbsd-8]: GENERIC src/sys/arch/sun3/conf [netbsd-8]: GENERIC GENERIC3X src/sys/arch/vax/conf [netbsd-8]: GENERIC VAX780 src/sys/arch/x68k/conf [netbsd-8]: GENERIC Log Message: Pull up following revision(s) (requested by sevan in ticket #510): sys/arch/sun3/conf/GENERIC3X: revision 1.130 sys/arch/sparc64/conf/GENERIC: revision 1.203 sys/arch/news68k/conf/LIBERO: revision 1.66 sys/arch/amiga/conf/DRACO: revision 1.185 sys/arch/evbarm/conf/MV2120: revision 1.35 sys/arch/x68k/conf/GENERIC: revision 1.187 sys/arch/rs6000/conf/GENERIC: revision 1.39 sys/arch/news68k/conf/GENERIC_TINY: revision 1.86 sys/arch/i386/conf/XEN3_DOMU: revision 1.88 sys/arch/iyonix/conf/GENERIC: revision 1.97 sys/arch/evbarm64/conf/A64EMUL: revision 1.11 sys/arch/mvme68k/conf/GENERIC: revision 1.98 sys/arch/acorn32/conf/GENERIC: revision 1.124 sys/arch/i386/conf/XEN3_DOM0: revision 1.125 sys/arch/cobalt/conf/INSTALL: revision 1.65 sys/arch/macppc/conf/GENERIC_601: revision 1.16 sys/arch/hppa/conf/GENERIC: revision 1.17 sys/arch/amiga/conf/GENERIC.in: revision 1.137 sys/arch/sgimips/conf/GENERIC32_IP12: revision 1.33 sys/arch/netwinder/conf/GENERIC: revision 1.134 sys/arch/amd64/conf/XEN3_DOMU: revision 1.83 sys/arch/mac68k/conf/GENERIC: revision 1.225 sys/arch/arc/conf/RPC44: revision 1.54 sys/arch/mipsco/conf/GENERIC: revision 1.92 sys/arch/cats/conf/GENERIC: revision 1.166 sys/arch/amd64/conf/XEN3_DOM0: revision 1.145 sys/arch/amigappc/conf/GENERIC: revision 1.33 sys/arch/sun3/conf/GENERIC: revision 1.176 sys/arch/news68k/conf/GENERIC: revision 1.130 sys/arch/hpcsh/conf/GENERIC: revision 1.110 sys/arch/hp300/conf/GENERIC: revision 1.198 sys/arch/atari/conf/GENERIC.in: revision 1.115 sys/arch/sparc/conf/MRCOFFEE: revision 1.54 sys/arch/evbppc/conf/EXPLORA451: revision 1.62 sys/arch/cesfic/conf/GENERIC: revision 1.69 sys/arch/vax/conf/GENERIC: revision 1.204 sys/arch/sgimips/conf/GENERIC32_IP3x: revision 1.115 sys/arch/sgimips/conf/GENERIC32_IP2x: revision 1.112 sys/arch/sparc/conf/GENERIC: revision 1.258 sys/arch/next68k/conf/GENERIC: revision 1.145 sys/arch/evbarm/conf/MMNET_GENERIC: revision 1.34 sys/arch/prep/conf/GENERIC: revision 1.185 sys/arch/amiga/conf/INS
CVS commit: src/sys/net
Module Name:src Committed By: maxv Date: Fri Jan 26 14:10:15 UTC 2018 Modified Files: src/sys/net: if_l2tp.c Log Message: Use MH_ALIGN instead, ok knakahara@. To generate a diff of this commit: cvs rdiff -u -r1.19 -r1.20 src/sys/net/if_l2tp.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net
Module Name:src Committed By: maxv Date: Fri Jan 26 11:06:32 UTC 2018 Modified Files: src/sys/net: if_etherip.c Log Message: Don't call if_attach, do if_initialize+if_register, otherwise when an EtherIP packet is received the first KASSERT in if_input() fires. To generate a diff of this commit: cvs rdiff -u -r1.40 -r1.41 src/sys/net/if_etherip.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/memswitch
Module Name:src Committed By: christos Date: Fri Jan 26 09:38:26 UTC 2018 Modified Files: src/usr.sbin/memswitch: memswitch.c memswitch.h Log Message: make this build again. To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15 src/usr.sbin/memswitch/memswitch.c cvs rdiff -u -r1.4 -r1.5 src/usr.sbin/memswitch/memswitch.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/compat/linux/arch/arm
Module Name:src Committed By: christos Date: Fri Jan 26 09:29:15 UTC 2018 Modified Files: src/sys/compat/linux/arch/arm: linux_ptrace.c Log Message: union was removed To generate a diff of this commit: cvs rdiff -u -r1.20 -r1.21 src/sys/compat/linux/arch/arm/linux_ptrace.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/powerpc/booke
Module Name:src Committed By: christos Date: Fri Jan 26 09:26:43 UTC 2018 Modified Files: src/sys/arch/powerpc/booke: e500_intr.c Log Message: fix printf format. To generate a diff of this commit: cvs rdiff -u -r1.35 -r1.36 src/sys/arch/powerpc/booke/e500_intr.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/pci/ixgbe
Module Name:src Committed By: msaitoh Date: Fri Jan 26 09:07:46 UTC 2018 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.c Log Message: CID-1427719: Integer handling issues (BAD_SHIFT). Print bus/slot info correctly on 82599_SFP_SF_QP(DID 0x154a) and 82599_QSFP_SF_QP(DID 0x1558). To generate a diff of this commit: cvs rdiff -u -r1.119 -r1.120 src/sys/dev/pci/ixgbe/ixgbe.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/share/man/man9
Module Name:src Committed By: ozaki-r Date: Fri Jan 26 08:09:53 UTC 2018 Modified Files: src/share/man/man9: xcall.9 Log Message: Refer softint(9) To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/share/man/man9/xcall.9 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.