CVS commit: src/tests/lib/libc/gen
Module Name:src Committed By: kre Date: Thu Dec 7 09:37:33 UTC 2017 Modified Files: src/tests/lib/libc/gen: t_fmtcheck.c Log Message: Correct a couple of broken test cases: "%d" does not take the same args as "%d %s" "%%" does not take the same args as "%llx" How did these ever survive any kind of even basic sanity check? To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/tests/lib/libc/gen/t_fmtcheck.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: ozaki-r Date: Thu Dec 7 10:05:42 UTC 2017 Modified Files: src/sys/net: if.c Log Message: Get rid of outdated comments To generate a diff of this commit: cvs rdiff -u -r1.408 -r1.409 src/sys/net/if.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: ozaki-r Date: Thu Dec 7 10:22:04 UTC 2017 Modified Files: src/sys/net: if_pppoe.c Log Message: Remove wrong assertions rw_lock_held() returns true when any context holds the lock. However, in if_pppoe.c, the function was used wrongly as it returns true only if the lock is held in the same context. >From s-yamaguchi@IIJ To generate a diff of this commit: cvs rdiff -u -r1.132 -r1.133 src/sys/net/if_pppoe.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: christos Date: Thu Dec 7 15:21:34 UTC 2017 Modified Files: src/sys/kern: sys_ptrace_common.c Log Message: Make {s,g}et{db,fp,}regs work again for PK_32 processes XXX: pullup-8 To generate a diff of this commit: cvs rdiff -u -r1.23 -r1.24 src/sys/kern/sys_ptrace_common.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/amd64
Module Name:src Committed By: christos Date: Thu Dec 7 16:22:22 UTC 2017 Modified Files: src/sys/arch/amd64/amd64: netbsd32_machdep.c Log Message: Keep fs/gs the same for the signal context; otherwise calling things like __lwp_getprivate_fast() from a signal handler (that uses %gs) die. Merge context building code. To generate a diff of this commit: cvs rdiff -u -r1.113 -r1.114 src/sys/arch/amd64/amd64/netbsd32_machdep.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/etc/root
Module Name:src Committed By: jmcneill Date: Thu Dec 7 18:26:51 UTC 2017 Modified Files: src/etc/root: dot.cshrc dot.profile Log Message: Update example PKG_PATH entry to use the CDN frontend, use uname -p instead of uname -m for processor subdirectory, and derive the OS release from uname -r. To generate a diff of this commit: cvs rdiff -u -r1.25 -r1.26 src/etc/root/dot.cshrc cvs rdiff -u -r1.28 -r1.29 src/etc/root/dot.profile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/arch/sparc/dev
Module Name:src Committed By: macallan Date: Thu Dec 7 19:15:56 UTC 2017 Modified Files: src/sys/arch/sparc/dev: sxreg.h Log Message: add SCATTER/GATHER instructions To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15 src/sys/arch/sparc/dev/sxreg.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: xsrc/external/mit/xf86-video-suncg14/dist/src
Module Name:xsrc Committed By: macallan Date: Thu Dec 7 19:23:22 UTC 2017 Modified Files: xsrc/external/mit/xf86-video-suncg14/dist/src: cg14.h cg14_accel.c cg14_render.c Log Message: RGB/BGR-flip source images in CG14Comp_Over32*() with non-solid sources as well. This takes care of most remaining RGB/BGR issues in xrender. Next step: do more than one pixel at a time in those operations. To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 \ xsrc/external/mit/xf86-video-suncg14/dist/src/cg14.h \ xsrc/external/mit/xf86-video-suncg14/dist/src/cg14_accel.c cvs rdiff -u -r1.10 -r1.11 \ xsrc/external/mit/xf86-video-suncg14/dist/src/cg14_render.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/tests/kernel
Module Name:src Committed By: christos Date: Thu Dec 7 19:46:40 UTC 2017 Modified Files: src/tests/kernel: Makefile Added Files: src/tests/kernel: h_segv.c t_trapsignal.sh Log Message: Add trapsignal tests that make sure that traps don't end up spinning indefinitely, discussed in tech-kern. To generate a diff of this commit: cvs rdiff -u -r1.47 -r1.48 src/tests/kernel/Makefile cvs rdiff -u -r0 -r1.1 src/tests/kernel/h_segv.c \ src/tests/kernel/t_trapsignal.sh Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/distrib/sets/lists/tests
Module Name:src Committed By: christos Date: Thu Dec 7 19:48:12 UTC 2017 Modified Files: src/distrib/sets/lists/tests: mi Log Message: new test for trapsignal To generate a diff of this commit: cvs rdiff -u -r1.768 -r1.769 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/sys/kern
Module Name:src Committed By: christos Date: Thu Dec 7 19:49:43 UTC 2017 Modified Files: src/sys/kern: kern_sig.c Log Message: - Reset ignored or masked traps to avoid infinite loops - If sigpost fails don't add an SDT_PROBE ok (and author) chuq To generate a diff of this commit: cvs rdiff -u -r1.338 -r1.339 src/sys/kern/kern_sig.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/ffs
Module Name:src Committed By: chs Date: Thu Dec 7 21:53:41 UTC 2017 Modified Files: src/sys/ufs/ffs: ffs_alloc.c Log Message: fix the UVM_PAGE_TRKOWN page-locking assertion at the top of ffs_alloc() to work right for multi-threaded processes. To generate a diff of this commit: cvs rdiff -u -r1.158 -r1.159 src/sys/ufs/ffs/ffs_alloc.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/stdlib
Module Name:src Committed By: kre Date: Thu Dec 7 22:19:17 UTC 2017 Modified Files: src/lib/libc/stdlib: strfmon.3 Log Message: Fix obvious typo (cut&pasto or whatever) - there's only one value that specifies the number of digits after the decimal point (oh, sorry, the "radix character") the other specifies the number before... While here, add a little more info on the effects of using the #n value. To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/lib/libc/stdlib/strfmon.3 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/locale
Module Name:src Committed By: kre Date: Thu Dec 7 22:23:14 UTC 2017 Modified Files: src/tests/lib/libc/locale: t_strfmon.c Log Message: Update this test to expect the output that is supposed to be produced by strfmon() rather than the output the old buggy implementation used to produce. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/tests/lib/libc/locale/t_strfmon.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: christos Date: Thu Dec 7 22:56:23 UTC 2017 Modified Files: src/sys/dev/usb: xhci.c Log Message: PR/52791: Robert Sprowson: avoid duplicate tests (use accessor variables) To generate a diff of this commit: cvs rdiff -u -r1.77 -r1.78 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/arch/amd64
Module Name:src Committed By: christos Date: Thu Dec 7 23:11:50 UTC 2017 Modified Files: src/sys/arch/amd64/amd64: netbsd32_machdep.c src/sys/arch/amd64/conf: files.amd64 Added Files: src/sys/arch/amd64/amd64: compat_13_machdep.c Log Message: Save maxv@ some work and put back the compat_13_sigreturn changes that allow amd64 to run ancient i386 binaries. To generate a diff of this commit: cvs rdiff -u -r0 -r1.3 src/sys/arch/amd64/amd64/compat_13_machdep.c cvs rdiff -u -r1.114 -r1.115 src/sys/arch/amd64/amd64/netbsd32_machdep.c cvs rdiff -u -r1.95 -r1.96 src/sys/arch/amd64/conf/files.amd64 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: christos Date: Thu Dec 7 23:13:17 UTC 2017 Modified Files: src/sys/arch/amd64/amd64: trap.c Log Message: Put back the old syscall glue for netbsd32 binaries, and also TRAP_SIGDEBUG while I am at it. To generate a diff of this commit: cvs rdiff -u -r1.106 -r1.107 src/sys/arch/amd64/amd64/trap.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src
Module Name:src Committed By: christos Date: Fri Dec 8 01:19:30 UTC 2017 Modified Files: src/distrib/sets/lists/tests: mi src/include: lwp.h src/lib/libc/sys: _lwp_park.2 src/sys/kern: subr_time.c sys_lwp.c syscalls.master src/sys/sys: timevar.h src/tests/kernel: Makefile Added Files: src/tests/kernel: t_timeleft.c Log Message: make _lwp_park return the remaining time to sleep in the "ts" argument if it is a relative timestamp, as discussed in tech-kern. XXX: pullup-8 To generate a diff of this commit: cvs rdiff -u -r1.769 -r1.770 src/distrib/sets/lists/tests/mi cvs rdiff -u -r1.12 -r1.13 src/include/lwp.h cvs rdiff -u -r1.9 -r1.10 src/lib/libc/sys/_lwp_park.2 cvs rdiff -u -r1.19 -r1.20 src/sys/kern/subr_time.c cvs rdiff -u -r1.61 -r1.62 src/sys/kern/sys_lwp.c cvs rdiff -u -r1.286 -r1.287 src/sys/kern/syscalls.master cvs rdiff -u -r1.36 -r1.37 src/sys/sys/timevar.h cvs rdiff -u -r1.48 -r1.49 src/tests/kernel/Makefile cvs rdiff -u -r0 -r1.1 src/tests/kernel/t_timeleft.c 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: christos Date: Fri Dec 8 01:20:53 UTC 2017 Modified Files: src/sys/kern: syscalls.c syscalls_autoload.c src/sys/rump/include/rump: rump_syscalls.h src/sys/rump/librump/rumpkern: rump_syscalls.c src/sys/sys: syscall.h syscallargs.h Log Message: regen XXX: pullup-8 To generate a diff of this commit: cvs rdiff -u -r1.305 -r1.306 src/sys/kern/syscalls.c cvs rdiff -u -r1.24 -r1.25 src/sys/kern/syscalls_autoload.c cvs rdiff -u -r1.105 -r1.106 src/sys/rump/include/rump/rump_syscalls.h cvs rdiff -u -r1.132 -r1.133 src/sys/rump/librump/rumpkern/rump_syscalls.c cvs rdiff -u -r1.299 -r1.300 src/sys/sys/syscall.h cvs rdiff -u -r1.283 -r1.284 src/sys/sys/syscallargs.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libpthread
Module Name:src Committed By: christos Date: Fri Dec 8 03:08:19 UTC 2017 Modified Files: src/lib/libpthread: pthread_cond.c Log Message: unconst the timestamp To generate a diff of this commit: cvs rdiff -u -r1.64 -r1.65 src/lib/libpthread/pthread_cond.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/usr.bin/make
Module Name:src Committed By: sjg Date: Fri Dec 8 03:36:42 UTC 2017 Modified Files: src/usr.bin/make: var.c src/usr.bin/make/unit-tests: varcmd.exp varcmd.mk Log Message: Ensure VAR+=val on command line is handled correctly If VAR is not previously set, call Var_Set to deal with the special case of VAR_CMD. If VAR is previously set, and ctxt is VAR_CMD we should do the update even if VAR_FROM_CMD is set. To generate a diff of this commit: cvs rdiff -u -r1.216 -r1.217 src/usr.bin/make/var.c cvs rdiff -u -r1.2 -r1.3 src/usr.bin/make/unit-tests/varcmd.exp \ src/usr.bin/make/unit-tests/varcmd.mk 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: ozaki-r Date: Fri Dec 8 04:03:51 UTC 2017 Modified Files: src/sys/net: if.c if.h if_bridge.c if_vlan.c Log Message: Fix build of kernels without ether By throwing out if_enable_vlan_mtu and if_disable_vlan_mtu that created a unnecessary dependency from if.c to if_ethersubr.c. PR kern/52790 To generate a diff of this commit: cvs rdiff -u -r1.409 -r1.410 src/sys/net/if.c cvs rdiff -u -r1.249 -r1.250 src/sys/net/if.h cvs rdiff -u -r1.143 -r1.144 src/sys/net/if_bridge.c cvs rdiff -u -r1.117 -r1.118 src/sys/net/if_vlan.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/lists/debug
Module Name:src Committed By: msaitoh Date: Fri Dec 8 04:37:15 UTC 2017 Modified Files: src/distrib/sets/lists/debug: mi Log Message: Add missing h_segv.debug. To generate a diff of this commit: cvs rdiff -u -r1.229 -r1.230 src/distrib/sets/lists/debug/mi 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: ozaki-r Date: Fri Dec 8 05:22:23 UTC 2017 Modified Files: src/sys/dev/pci: if_wm.c src/sys/net: if.c if.h Log Message: Revert "Make if_timer MP-safe if IFEF_MPSAFE" Because it has decreased the performance of wm. And also I found that wm_watchdog doesn't work well with if_watchdog framework at all. Sharing one counter (if_timer) with multiple instances (hardware multi-queues) can't detect a single (or some) stall of them because other instances reset the counter even if the stalled one want the watchdog to fire. Interfaces without IFEF_MPSAFE works safely with the original if_watchdog thanks to KENREL_LOCK. OTOH, interfaces with IFEF_MPSAFE shouldn't use if_watchdog and should implement their own watchdog timer that works with multiple instances. To generate a diff of this commit: cvs rdiff -u -r1.548 -r1.549 src/sys/dev/pci/if_wm.c cvs rdiff -u -r1.410 -r1.411 src/sys/net/if.c cvs rdiff -u -r1.250 -r1.251 src/sys/net/if.h 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/external/bsd/drm2/drm
Module Name:src Committed By: msaitoh Date: Fri Dec 8 05:43:51 UTC 2017 Modified Files: src/sys/external/bsd/drm2/drm [netbsd-8]: drm_drv.c Log Message: Pull up following revision(s) (requested by jmcneill in ticket #422): sys/external/bsd/drm2/drm/drm_drv.c: revision 1.20 drm_stat: fix device minor calculation, ok riastradh@ To generate a diff of this commit: cvs rdiff -u -r1.17 -r1.17.10.1 src/sys/external/bsd/drm2/drm/drm_drv.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/etc
Module Name:src Committed By: msaitoh Date: Fri Dec 8 05:48:21 UTC 2017 Modified Files: src/etc [netbsd-8]: MAKEDEV.tmpl Log Message: Pull up following revision(s) (requested by jmcneill in ticket #423): etc/MAKEDEV.tmpl: revision 1.188 make a few more drm nodes To generate a diff of this commit: cvs rdiff -u -r1.183.6.1 -r1.183.6.2 src/etc/MAKEDEV.tmpl Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-8] src/external/historical/nawk/dist
Module Name:src Committed By: msaitoh Date: Fri Dec 8 05:56:05 UTC 2017 Modified Files: src/external/historical/nawk/dist [netbsd-8]: lex.c Log Message: Pull up following revision(s) (requested by dholland in ticket #425): external/historical/nawk/dist/lex.c: revision 1.3 PR/52516: Guy Incognito: Fix memory leak; setsymtab already calls tostring() for the buffer, don't do it twice. XXX: pullup-8 To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.2.38.1 src/external/historical/nawk/dist/lex.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/external/bsd/nvi/dist/cl
Module Name:src Committed By: msaitoh Date: Fri Dec 8 06:02:11 UTC 2017 Modified Files: src/external/bsd/nvi/dist/cl [netbsd-8]: cl_main.c Log Message: Pull up following revision(s) (requested by jmcneill in ticket #428): external/bsd/nvi/dist/cl/cl_main.c: revision 1.9 When testing to see if a signal handler was previously installed in h_winch, test sa_handler against all SIG_* actions defined in sys/signal.h instead of just 0. Corrects an issue where vi crashes after a window is resized. To generate a diff of this commit: cvs rdiff -u -r1.5.8.1 -r1.5.8.2 src/external/bsd/nvi/dist/cl/cl_main.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/sparc
Module Name:src Committed By: msaitoh Date: Fri Dec 8 06:05:15 UTC 2017 Modified Files: src/sys/arch/sparc/include [netbsd-8]: cpu.h src/sys/arch/sparc/sparc [netbsd-8]: cpu.c intr.c Log Message: Pull up following revision(s) (requested by macallan in ticket #429): sys/arch/sparc/sparc/cpu.c: revision 1.250 sys/arch/sparc/include/cpu.h: revision 1.99 sys/arch/sparc/sparc/intr.c: revision 1.119 - return early in xcall() if the function is sparc_noop() instead of triggering the IPI and then ignoring responses ( or lack thereof ) - write the .tag field last to avoid a race when polling for an incoming IPI - add event counters for IPIs being caught with the mutex not held, and for messages that are already marked as completed With this my SS20 made it through 48 hours of pkgsrc with MAKE_JOBS=3 and a pair of SM81s. Hypersparcs still crash but instead of craziness we get actual error messages, apparently one CPU will occasionally do a watchdog reset, which according to the manual is caused by catching a trap with traps disabled. Now to figure out how that can even happen... To generate a diff of this commit: cvs rdiff -u -r1.97 -r1.97.8.1 src/sys/arch/sparc/include/cpu.h cvs rdiff -u -r1.249 -r1.249.6.1 src/sys/arch/sparc/sparc/cpu.c cvs rdiff -u -r1.118 -r1.118.22.1 src/sys/arch/sparc/sparc/intr.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/etc/root
Module Name:src Committed By: msaitoh Date: Fri Dec 8 06:10:46 UTC 2017 Modified Files: src/etc/root [netbsd-8]: dot.cshrc dot.profile Log Message: Pull up following revision(s) (requested by jmcneill in ticket #430): etc/root/dot.cshrc: revision 1.26 etc/root/dot.profile: revision 1.29 Update example PKG_PATH entry to use the CDN frontend, use uname -p instead of uname -m for processor subdirectory, and derive the OS release from uname -r. To generate a diff of this commit: cvs rdiff -u -r1.25 -r1.25.8.1 src/etc/root/dot.cshrc cvs rdiff -u -r1.28 -r1.28.8.1 src/etc/root/dot.profile 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/net
Module Name:src Committed By: msaitoh Date: Fri Dec 8 06:12:35 UTC 2017 Modified Files: src/sys/net [netbsd-8]: if_pppoe.c Log Message: Pull up following revision(s) (requested by ozaki-r in ticket #431): sys/net/if_pppoe.c: revision 1.133 Remove wrong assertions rw_lock_held() returns true when any context holds the lock. However, in if_pppoe.c, the function was used wrongly as it returns true only if the lock is held in the same context. >From s-yamaguchi@IIJ To generate a diff of this commit: cvs rdiff -u -r1.125.6.2 -r1.125.6.3 src/sys/net/if_pppoe.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: msaitoh Date: Fri Dec 8 06:19:01 UTC 2017 Modified Files: src/doc [netbsd-8]: CHANGES-8.0 Log Message: Ticket #422-423, 425, 428-431. To generate a diff of this commit: cvs rdiff -u -r1.1.2.90 -r1.1.2.91 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: src/sys/dev/sbus
Module Name:src Committed By: mrg Date: Fri Dec 8 07:47:00 UTC 2017 Modified Files: src/sys/dev/sbus: dbri.c dbrivar.h Log Message: fix audiomp bugs: - switch from tsleep/wakeup to condvar - fix locking in a bunch of places. there were several locking against myself issues. also: - don't let dbri_process_interrupt_buffer() loop more than once over the array of intrs. this fixes hangs when using audio on ss20 in -current, but does not make audio work. it eventually times out with eg: dbri0: switching to control mode timed out (0 f6) and may leave a sample in the audio buffer repeating. To generate a diff of this commit: cvs rdiff -u -r1.35 -r1.36 src/sys/dev/sbus/dbri.c cvs rdiff -u -r1.13 -r1.14 src/sys/dev/sbus/dbrivar.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.