CVS commit: src/sys
Module Name:src Committed By: maxv Date: Thu Apr 12 07:28:10 UTC 2018 Modified Files: src/sys/netinet: raw_ip.c src/sys/netinet6: icmp6.c raw_ip6.c Log Message: Synchronize the code between raw_ip6.c<->icmp6.c<->raw_ip.c, so that it is the same everywhere. To generate a diff of this commit: cvs rdiff -u -r1.173 -r1.174 src/sys/netinet/raw_ip.c cvs rdiff -u -r1.225 -r1.226 src/sys/netinet6/icmp6.c cvs rdiff -u -r1.167 -r1.168 src/sys/netinet6/raw_ip6.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 Apr 12 07:45:29 UTC 2018 Modified Files: src/sys/netinet: raw_ip.c Log Message: Make 'opts' local to rip_sbappendaddr(). To generate a diff of this commit: cvs rdiff -u -r1.174 -r1.175 src/sys/netinet/raw_ip.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: Thu Apr 12 08:03:55 UTC 2018 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.c ixv.c Log Message: Read sc_if_flags after taking core lock. Same as if_wm.c rev. 1.418. To generate a diff of this commit: cvs rdiff -u -r1.145 -r1.146 src/sys/dev/pci/ixgbe/ixgbe.c cvs rdiff -u -r1.92 -r1.93 src/sys/dev/pci/ixgbe/ixv.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/x86
Module Name:src Committed By: msaitoh Date: Thu Apr 12 10:30:24 UTC 2018 Modified Files: src/sys/arch/x86/x86: cpu_ucode_intel.c Log Message: Add cpu_ucode_intel_verify() to verify microcode image. Currently, we don't verify extended signatures'checksum. I have no any image which has extended signature. If an extended signature found, the function shows "This image has extended signature table." and continue. To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 src/sys/arch/x86/x86/cpu_ucode_intel.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: nakayama Date: Thu Apr 12 11:49:04 UTC 2018 Modified Files: src/distrib/sets: sets.subr Log Message: Handle compatdir first whether making obsolete lists or not, to make obsolete lists including compat directory (eg. ./usr/lib/i386) properly. To generate a diff of this commit: cvs rdiff -u -r1.183 -r1.184 src/distrib/sets/sets.subr Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-8] src/tests/lib/libc/sys
Module Name:src Committed By: martin Date: Thu Apr 12 13:02:21 UTC 2018 Modified Files: src/tests/lib/libc/sys [netbsd-8]: msg.h t_ptrace_wait.c t_ptrace_wait.h t_ptrace_x86_wait.h Log Message: Pull up following revision(s) (requested by kamil in ticket #711): tests/lib/libc/sys/t_ptrace_wait.c: revision 1.24-1.31 tests/lib/libc/sys/t_ptrace_wait.h: revision 1.2 tests/lib/libc/sys/t_ptrace_x86_wait.h: revision 1.4,1.5 tests/lib/libc/sys/msg.h: revision 1.2 Correct all ATF failures in t_ptrace_x86_wait.h (debug registers) This code after refactoring stopped calling functions that were designed to trigger expected behavior and thus, tests were breaking. Sponsored by ATF: Correct a race bug in attach2 (t_ptrace_wait*) At the end of the test we resume a tracer and expect to observe it to collect the debuggee. We cannot from a parent point of view wait for collecting it with WNOHANG without a race. Remove the WNOHANG option from wait*(2) call. This corrects one type of race. This test is still racy for some other and unknown reason and this is bei= ng investigated. Sponsored by ATF: Reenable attach2 in t_ptrace_wait* The primary race specific to this test has been fixed in previous commit (wrong WNOHANG). This test is still racy and breaks like once every 30,000 execution. This is down like from once from every 100th execution in the past. The remaning race is not specific to attach2 and I can reproduce it with at least attach1. It still looks like being specific to NetBSD and it's not reproducible on Linux and FreeBSD. Perhaps a bug with pipe(2)/write(2= )/ read(2) or close to these features. Sponsored by Add a new function in ATF t_ptrace_wait*: await_zombie_raw() Add await_zombie_raw() that is the same as await_zombie(), whith an addition of additional "useconds_t ms" parameter indicating delays betwee= n new polling for a zombie process. This new function will be used for testing a race condition that has been= observed occassionally crashing a test case -- returning duplicate entrie= s for KERN_PROC_PID. Sponsored by ATF t_ptrace_wait*: Disable debug messages in msg.h msg.h is a dummy IPC interface. Disable additional debugging logging here, especially wanted in race* tests. Sponsored by ATF: Add new test race1 in t_ptrace_wait* Reuse the attach1's test body for race1. Add a new test race1: Assert that await_zombie() in attach1 always finds a single process and no other error is reported race1 requires HAVE_PID in wait(2)-like function. This test is executed in a loop for 5 seconds (16k iterations on Intel i7= ). A buggy kernel was asserting an error within this timeframe almost always= =2E The bug in the kernel is now gone and this test is expected to pass correctly. Sponsored by Add check in ATF tests for security.models.extensions.user_set_dbregs Introduce a new function can_we_set_dbregs() in the ATF ptrace(2) tests. It uses lazy-bool evaluation whether a process can call PT_SETDBREGS. In case of not being able to do so, print a message and mark a test as skipped: Either run this test as root or set sysctl(3) security.models.extensions.user_set_dbregs to 1 No functional change intended to the code flow of the existing tested scenarios. Sponsored by Improve documentation of the ATF test t_ptrace_wait*: traceme2 Set the description to: Verify that a signal emitted by a tracer to a child is caught by a signal handler. Sponsored by Merge code in tests: fork1 and vfork1 (ATF t_ptrace_wait*) Marge bodies of two tests into the same function. Add few checks for regular fork or not (vfork). Sponsored by ATF: ptrace: Merge code in fork2 and vfork2 tests with (v)fork1 ones Reduce code duplication, use the same function body with conditional switches. Sponsored by ATF t_ptrace_wait* refactoring: vforkdone1 and vforkdone2 Merge vforkdone1 and vforkdone2 into other fork tests and reuse the same function body fork_test(). There is an implicit enhancement in vforkdone2 that it was skipping PTRACE_VFORK check. This test is now marked as expected failure. PR kern/51630 Sponsored by Cover more fork/vfork/vforkdone scenarios in ATF ptrace(2) tests Use a shared common body for all the tests: fork1..fork8, vfork1..vfork8.= Merge vforkdone1 and vforkdone2 into vfork* tests. All the (v?)fork[1-8] tests cover: - calling either fork(2) or vfork(2) - tracking either enabled or disabled FORK, VFORK or VFORK_DONE All the PTRACE_VFORK tests are marked as expected failure. Sponsored by To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.1.8.1 src/tests/lib/libc/sys/msg.h \ src/tests/lib/libc/sys/t_ptrace_wait.h cvs rdiff -u -r1.9.2.2 -r1.9.2.3 src/tests/lib/libc/sys/t_ptrace_wait.c cvs rdiff -u -r1.1.8.1 -r1.1.8.2 src/tests/lib/libc/sys/t_ptrace_x86_wait.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/arch/x86/x86
Module Name:src Committed By: martin Date: Thu Apr 12 13:08:16 UTC 2018 Modified Files: src/sys/arch/x86/x86 [netbsd-8]: dbregs.c Log Message: Pull up following revision(s) (requested by kamil in ticket #712): sys/arch/x86/x86/dbregs.c: revision 1.7-1.9 Fix the check, should be >=. Hum, don't let userland set bit 13, because this can crash the kernel. Add paranoid code to X86 Debug Registers Reset certain bits in DR6 and DR7 in x86_dbregs_setup_initdbstate(). Reset X86_BREAKPOINT_CONDITION_DETECTED in DR6. Reset X86_DR7_GENERAL_DETECT_ENABLE in DR7. It's allowed by devices or software before the kernel boot, to use these registers for their own purposes. Handle this paranoid case explicitly setting the mentioned bits to zero. Sponsored by To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.6.6.1 src/sys/arch/x86/x86/dbregs.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
Module Name:src Committed By: martin Date: Thu Apr 12 13:42:49 UTC 2018 Modified Files: src/bin/ps [netbsd-8]: ps.1 src/doc [netbsd-8]: TODO.ptrace src/sbin/mount_procfs [netbsd-8]: mount_procfs.8 src/share/man/man9 [netbsd-8]: kauth.9 src/sys/compat/linux/arch/arm [netbsd-8]: linux_ptrace.c src/sys/compat/linux/arch/i386 [netbsd-8]: linux_ptrace.c src/sys/compat/linux/arch/powerpc [netbsd-8]: linux_ptrace.c src/sys/compat/netbsd32 [netbsd-8]: netbsd32.h netbsd32_ptrace.c netbsd32_signal.c src/sys/kern [netbsd-8]: kern_exit.c kern_proc.c kern_sig.c sys_ptrace.c sys_ptrace_common.c src/sys/miscfs/procfs [netbsd-8]: files.procfs procfs.h procfs_subr.c procfs_vfsops.c procfs_vnops.c src/sys/modules/procfs [netbsd-8]: Makefile src/sys/sys [netbsd-8]: kauth.h proc.h ptrace.h sysctl.h Removed Files: src/sys/miscfs/procfs [netbsd-8]: procfs_ctl.c Log Message: Pull up following revision(s) (requested by kamil in ticket #713): sys/modules/procfs/Makefile: revision 1.4 sys/miscfs/procfs/procfs_vfsops.c: revision 1.98 bin/ps/ps.1: revision 1.108 sys/compat/linux/arch/i386/linux_ptrace.c: revision 1.32 sys/miscfs/procfs/procfs_vnops.c: revision 1.198 sys/kern/sys_ptrace_common.c: revision 1.23 sys/kern/sys_ptrace_common.c: revision 1.24 sbin/mount_procfs/mount_procfs.8: revision 1.36 sys/kern/sys_ptrace_common.c: revision 1.25 sys/kern/sys_ptrace.c: revision 1.5 sys/compat/linux/arch/powerpc/linux_ptrace.c: revision 1.30 sys/sys/proc.h: revision 1.342 sys/kern/sys_ptrace_common.c: revision 1.26 sys/miscfs/procfs/procfs_ctl.c: file removal sys/kern/sys_ptrace_common.c: revision 1.27 sys/miscfs/procfs/procfs_subr.c: revision 1.109 sys/kern/sys_ptrace_common.c: revision 1.28 sys/secmodel/extensions/secmodel_extensions.c: revision 1.8 sys/kern/sys_ptrace_common.c: revision 1.29 sys/sys/ptrace.h: revision 1.62 sys/compat/netbsd32/netbsd32_signal.c: revision 1.45 share/man/man9/kauth.9: revision 1.109 sys/miscfs/procfs/files.procfs: revision 1.12 sys/compat/netbsd32/netbsd32.h: revision 1.115 sys/miscfs/procfs/procfs.h: revision 1.72 sys/compat/netbsd32/netbsd32_ptrace.c: revision 1.5 sys/kern/kern_sig.c: revision 1.337 sys/sys/kauth.h: revision 1.75 sys/sys/sysctl.h: revision 1.224 sys/kern/sys_ptrace_common.c: revision 1.30 sys/kern/sys_ptrace_common.c: revision 1.31 sys/kern/sys_ptrace_common.c: revision 1.32 sys/kern/sys_ptrace_common.c: revision 1.33 sys/compat/linux/arch/arm/linux_ptrace.c: revision 1.20 sys/kern/sys_ptrace_common.c: revision 1.34 sys/kern/sys_ptrace_common.c: revision 1.36 sys/kern/kern_proc.c: revision 1.207 sys/kern/kern_exit.c: revision 1.269 doc/TODO.ptrace: revision 1.29 Make {s,g}et{db,fp,}regs work again for PK_32 processes XXX: pullup-8 add disgusting magic to handle compat_netbsd32 as a module. use process_*reg32 instead of struct *reg32. Remove the filesystem tracing feature This is a legacy interface from 4.4BSD, and it was introduced to overcome shortcomings of ptrace(2) at that time, which are no longer relevant (performance). Today /proc/#/ctl offers a narrow subset of ptrace(2) commands and is not applicable for modern applications use beyond simplistic tracing scenarios. This removal will simplify kernel internals. Users will still be able to use all the other /proc files. This change won't affect other procfs files neither Linux compat features within mount_procfs(8). /proc/#/ctl isn't available on Linux. Remove: - /proc/#/ctl from mount_procfs(8) - P_FSTRACE note from the documentation of ps(1) - /proc/#/ctl and filesystem tracing documentation from mount_procfs(8) - KAUTH_REQ_PROCESS_PROCFS_CTL documentation from kauth(9) - source code file miscfs/procfs/procfs_ctl.c - PFSctl and procfs_doctl() from sys/miscfs/procfs/procfs.h - KAUTH_REQ_PROCESS_PROCFS_CTL from sys/sys/kauth.h - PSL_FSTRACE (0x0001) from sys/sys/proc.h - P_FSTRACE (0x0001) from sys/sys/sysctl.h Reduce code complexity after removal of this functionality. Update TODO.ptrace accordingly: remove two entries about /proc tracing. Do not keep legacy notes as comments in the headers about removed PSL_FSTRACE / P_FSTRACE, as this interface had little number of users (close or equal to zero). Proposed on tech-kern@. All filesystem tracing utility users are encouraged to switch to ptrace(2). Sponsored by untangle the mess: - factor out common code - break each ptrace subcall to its own sub-function .. more to come ... - reduce ifdef ugliness by moving it up top. - factor out PT_IO and make PT_{READ,WRITE}_{I,D} use it - factor ou
CVS commit: [netbsd-8] src/usr.sbin/sysinst/arch/i386
Module Name:src Committed By: martin Date: Thu Apr 12 13:54:11 UTC 2018 Modified Files: src/usr.sbin/sysinst/arch/i386 [netbsd-8]: md.c Log Message: Pull up following revision(s) (requested by snj in ticket #743): usr.sbin/sysinst/arch/i386/md.c: revision 1.7 Clear the screen after running installboot. If we don't, there will be a leftover line saying "Status: Finished" at the top of the next screen, along with some random punctuation in the left and right margins. Inspired by ../landisk/md.c 1.3. To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.6.8.1 src/usr.sbin/sysinst/arch/i386/md.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
Module Name:src Committed By: martin Date: Thu Apr 12 13:51:41 UTC 2018 Modified Files: src/etc [netbsd-8]: login.conf man.conf src/etc/root [netbsd-8]: dot.cshrc dot.profile src/etc/skel [netbsd-8]: dot.cshrc dot.profile src/share/man/man7 [netbsd-8]: hier.7 Log Message: Pull up following revision(s) (requested by snj in ticket #742): etc/root/dot.profile: revision 1.30 etc/skel/dot.profile: revision 1.10 etc/login.conf: revision 1.7 etc/root/dot.cshrc: revision 1.27 share/man/man7/hier.7: revision 1.129 (patch) etc/man.conf: revision 1.37 etc/skel/dot.cshrc: revision 1.8 /usr/X11R6 has been empty on most NetBSD installations since 2008, and the last few straggling ports dumped it in 2015. It's time to prune references to /usr/X11R6 from our config files. remove reference to /usr/X11R6 To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.6.8.1 src/etc/login.conf cvs rdiff -u -r1.36 -r1.36.6.1 src/etc/man.conf cvs rdiff -u -r1.25.8.1 -r1.25.8.2 src/etc/root/dot.cshrc cvs rdiff -u -r1.28.8.1 -r1.28.8.2 src/etc/root/dot.profile cvs rdiff -u -r1.7 -r1.7.36.1 src/etc/skel/dot.cshrc cvs rdiff -u -r1.9 -r1.9.26.1 src/etc/skel/dot.profile cvs rdiff -u -r1.122 -r1.122.6.1 src/share/man/man7/hier.7 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/sun3
Module Name:src Committed By: martin Date: Thu Apr 12 14:06:14 UTC 2018 Modified Files: src/sys/arch/sun3/conf [netbsd-8]: GENERIC GENERIC3X Makefile.sun3 src/sys/arch/sun3/include [netbsd-8]: param3.h vmparam3.h Log Message: Pull up following revision(s) (requested by mrg in ticket #745): sys/arch/sun3/conf/Makefile.sun3: revision 1.106 sys/arch/sun3/conf/Makefile.sun3: revision 1.107 sys/arch/sun3/conf/GENERIC3X: revision 1.131 sys/arch/sun3/include/param3.h: revision 1.57 sys/arch/sun3/conf/GENERIC: revision 1.177 sys/arch/sun3/conf/GENERIC: revision 1.178 sys/arch/sun3/include/vmparam3.h: revision 1.39 sun3: - build libkern as an archive for non modular builds. from maya@ - cut down GENERIC a bunch to bring below 2MB. - reduce UBC_NWINS, MAXEXEC, and PAGER_MAP_DEFAULT_SIZE to recover enough lost VA to actually run basic tests. also disable SYSCTL_INCLUDE_DESCR. copy sun3 disables to sun3x mostly. it has the same ufsboot 2MB limit. Build compat code as .a if not MODULAR. Removes some more unused functions. To generate a diff of this commit: cvs rdiff -u -r1.172.10.1 -r1.172.10.2 src/sys/arch/sun3/conf/GENERIC cvs rdiff -u -r1.126.10.1 -r1.126.10.2 src/sys/arch/sun3/conf/GENERIC3X cvs rdiff -u -r1.104 -r1.104.10.1 src/sys/arch/sun3/conf/Makefile.sun3 cvs rdiff -u -r1.56 -r1.56.32.1 src/sys/arch/sun3/include/param3.h cvs rdiff -u -r1.38 -r1.38.6.1 src/sys/arch/sun3/include/vmparam3.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/arch/sun2/conf
Module Name:src Committed By: martin Date: Thu Apr 12 14:10:58 UTC 2018 Modified Files: src/sys/arch/sun2/conf [netbsd-8]: Makefile.sun2 Log Message: Pull up following revision(s) (requested by mrg in ticket #746): sys/arch/sun2/conf/Makefile.sun2: revision 1.21-1.22 sun2/sun3: - build libkern as an archive for non modular builds. from maya@ sun3: - cut down GENERIC a bunch to bring below 2MB. - reduce UBC_NWINS, MAXEXEC, and PAGER_MAP_DEFAULT_SIZE to recover enough lost VA to actually run basic tests. Remove more unused functions with COMPAT_AS=library To generate a diff of this commit: cvs rdiff -u -r1.20 -r1.20.48.1 src/sys/arch/sun2/conf/Makefile.sun2 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: Thu Apr 12 14:16:42 UTC 2018 Modified Files: src/doc [netbsd-8]: CHANGES-8.0 Log Message: Tickets #711, #712, #713, #742, #743, #745, #746, and #747 To generate a diff of this commit: cvs rdiff -u -r1.1.2.179 -r1.1.2.180 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/distrib/sets
Module Name:src Committed By: martin Date: Thu Apr 12 14:48:39 UTC 2018 Modified Files: src/distrib/sets [netbsd-8]: sets.subr Log Message: Pull up following revision(s) (requested by nakayama in ticket #747): distrib/sets/sets.subr: revision 1.184 Handle compatdir first whether making obsolete lists or not, to make obsolete lists including compat directory (eg. ./usr/lib/i386) properly. To generate a diff of this commit: cvs rdiff -u -r1.179 -r1.179.4.1 src/distrib/sets/sets.subr 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: christos Date: Thu Apr 12 18:44:59 UTC 2018 Modified Files: src/sys/net: if.c Log Message: disentangle a bit more the compat ioctl code. To generate a diff of this commit: cvs rdiff -u -r1.419 -r1.420 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/arch/vax/vsa
Module Name:src Committed By: ragge Date: Thu Apr 12 18:45:57 UTC 2018 Modified Files: src/sys/arch/vax/vsa: vsbus.c Log Message: Fix bug causing DMA to/from user space fail. Fixes PR#49517. This bug has been around since 2003. Thanks to Martin Husemann for providing hardware to debug on! To generate a diff of this commit: cvs rdiff -u -r1.63 -r1.64 src/sys/arch/vax/vsa/vsbus.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/compat
Module Name:src Committed By: christos Date: Thu Apr 12 18:50:13 UTC 2018 Modified Files: src/sys/compat/common: compat_mod.c uipc_syscalls_40.c uipc_syscalls_50.c src/sys/compat/sys: sockio.h Log Message: provide vectors for the ifconf compat code and ifdatareq compat code. To generate a diff of this commit: cvs rdiff -u -r1.27 -r1.28 src/sys/compat/common/compat_mod.c cvs rdiff -u -r1.15 -r1.16 src/sys/compat/common/uipc_syscalls_40.c cvs rdiff -u -r1.3 -r1.4 src/sys/compat/common/uipc_syscalls_50.c cvs rdiff -u -r1.10 -r1.11 src/sys/compat/sys/sockio.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/doc/roadmaps
Module Name:src Committed By: jdolecek Date: Thu Apr 12 19:08:02 UTC 2018 Modified Files: src/doc/roadmaps: storage Log Message: update the NVMe entry; perhaps time to consider good enough and remove from here? To generate a diff of this commit: cvs rdiff -u -r1.23 -r1.24 src/doc/roadmaps/storage Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/doc/roadmaps
Module Name:src Committed By: jdolecek Date: Thu Apr 12 19:11:35 UTC 2018 Modified Files: src/doc/roadmaps: storage Log Message: update tls-maxphys To generate a diff of this commit: cvs rdiff -u -r1.24 -r1.25 src/doc/roadmaps/storage Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/doc/roadmaps
Module Name:src Committed By: jdolecek Date: Thu Apr 12 19:12:25 UTC 2018 Modified Files: src/doc/roadmaps: storage Log Message: fix year for the tls-maxphys resync To generate a diff of this commit: cvs rdiff -u -r1.25 -r1.26 src/doc/roadmaps/storage 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/secmodel/extensions
Module Name:src Committed By: snj Date: Thu Apr 12 20:09:38 UTC 2018 Modified Files: src/sys/secmodel/extensions [netbsd-8]: secmodel_extensions.c Log Message: Pull up following revision(s) (requested by kamil in ticket #713): sys/secmodel/extensions/secmodel_extensions.c: 1.8 Add new sysctl(3) entry: security.models.extensions.user_set_dbregs Model this new sysctl(3) entry after "user_set_cpu_affinity" in the same level of sysctl(3) switches. Allow to read unconditionally Debug Registers (no change here). This is convenient as even if a user of a debugger does not use hardware assisted watchpoints/breakpoints, a debugger can still prompt these values to store in an internal cache with context of registers. Reading them should have no security concerns. Add a paranoid MI switch that prohibits by default setting these registers by a regular user (non-superuser). Make this switch disabled by default. There are enough reserved bits out there to allow using them unconditionally on hardened hosts. Features shipped with Debug Registers are optional features in debuggers. There is no reduction in elementary functionality. Reviewed by Sponsored by To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.7.10.1 \ src/sys/secmodel/extensions/secmodel_extensions.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/compat/common
Module Name:src Committed By: christos Date: Thu Apr 12 20:37:00 UTC 2018 Modified Files: src/sys/compat/common: Makefile.inc Log Message: If we are modular, allow us to use modules for compat; don't load all the compat code in. To generate a diff of this commit: cvs rdiff -u -r1.23 -r1.24 src/sys/compat/common/Makefile.inc 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 Apr 12 20:43:44 UTC 2018 Modified Files: src/sys/kern: kern_stub.c Log Message: let the modular code load the sysv modules. To generate a diff of this commit: cvs rdiff -u -r1.44 -r1.45 src/sys/kern/kern_stub.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/gpl3/gcc/usr.bin/backend
Module Name:src Committed By: mrg Date: Thu Apr 12 20:44:16 UTC 2018 Modified Files: src/external/gpl3/gcc/usr.bin/backend: Makefile Log Message: fix the hard coded depends list for insn-*. i pulled these out of the generated .d files for a successful build. i've tested that at least one recent macppc build failure is fixed with this change (namely, try building just insn-emit.o in this subdir), but the pattern should fix anything else left in insn*. this really should finally fix PR#53137. To generate a diff of this commit: cvs rdiff -u -r1.46 -r1.47 src/external/gpl3/gcc/usr.bin/backend/Makefile 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 Apr 12 20:49:08 UTC 2018 Modified Files: src/sys/kern: exec_elf.c Log Message: ignore the ancient NetBSD emulation tag. To generate a diff of this commit: cvs rdiff -u -r1.96 -r1.97 src/sys/kern/exec_elf.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/sys
Module Name:src Committed By: christos Date: Thu Apr 12 20:48:42 UTC 2018 Modified Files: src/sys/sys: exec_elf.h Log Message: There have never been binaries with a checksum tag for NetBSD. These days the equivalent functionality is provided by the build id tag. It was incorrect in the first place to overload tag #2 (which used to be the emulation name) with a different meaning, so actually document the meaning that was once used (because binaries with that tag exist). Tag existance noticed by kre@ To generate a diff of this commit: cvs rdiff -u -r1.158 -r1.159 src/sys/sys/exec_elf.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/dev/i2c
Module Name:src Committed By: christos Date: Thu Apr 12 21:14:53 UTC 2018 Modified Files: src/sys/dev/i2c: xc5k.c Log Message: PR/53177: David Binderman: Better error handling To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/sys/dev/i2c/xc5k.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/rump/librump/rumpnet
Module Name:src Committed By: christos Date: Thu Apr 12 21:39:00 UTC 2018 Modified Files: src/sys/rump/librump/rumpnet: net_stub.c Log Message: remove now unused crap. To generate a diff of this commit: cvs rdiff -u -r1.31 -r1.32 src/sys/rump/librump/rumpnet/net_stub.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [pgoyette-compat] src/sys
Module Name:src Committed By: pgoyette Date: Thu Apr 12 22:33:41 UTC 2018 Modified Files: src/sys/compat/common [pgoyette-compat]: Makefile.inc uipc_syscalls_40.c uipc_syscalls_50.c src/sys/compat/sys [pgoyette-compat]: sockio.h src/sys/kern [pgoyette-compat]: kern_stub.c src/sys/net [pgoyette-compat]: if.c src/sys/rump/librump/rumpnet [pgoyette-compat]: net_stub.c Log Message: Merge christos's recent changes on HEAD To generate a diff of this commit: cvs rdiff -u -r1.23.2.1 -r1.23.2.2 src/sys/compat/common/Makefile.inc cvs rdiff -u -r1.15.2.5 -r1.15.2.6 src/sys/compat/common/uipc_syscalls_40.c cvs rdiff -u -r1.3.56.3 -r1.3.56.4 src/sys/compat/common/uipc_syscalls_50.c cvs rdiff -u -r1.10.58.1 -r1.10.58.2 src/sys/compat/sys/sockio.h cvs rdiff -u -r1.44.2.1 -r1.44.2.2 src/sys/kern/kern_stub.c cvs rdiff -u -r1.419.2.4 -r1.419.2.5 src/sys/net/if.c cvs rdiff -u -r1.31 -r1.31.2.1 src/sys/rump/librump/rumpnet/net_stub.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/gpl3/gcc/usr.bin/backend
Module Name:src Committed By: mrg Date: Fri Apr 13 01:14:19 UTC 2018 Modified Files: src/external/gpl3/gcc/usr.bin/backend: Makefile Log Message: fix some more missing depends issues. remove various wrong/old depends. fixes issues i was able to trigger manually by building specific files. more for PR#53137. To generate a diff of this commit: cvs rdiff -u -r1.47 -r1.48 src/external/gpl3/gcc/usr.bin/backend/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/modules/examples
Module Name:src Committed By: kamil Date: Fri Apr 13 01:20:28 UTC 2018 Modified Files: src/sys/modules/examples: Makefile README Added Files: src/sys/modules/examples/sysctl: Makefile sysctl.c Log Message: Add new example kernel module: sysctl sysctl - demonstrates adding a sysctl handle dynamically. Patch by Polishing by myself. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/sys/modules/examples/Makefile cvs rdiff -u -r1.4 -r1.5 src/sys/modules/examples/README cvs rdiff -u -r0 -r1.1 src/sys/modules/examples/sysctl/Makefile \ src/sys/modules/examples/sysctl/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/arch/i386/include
Module Name:src Committed By: khorben Date: Fri Apr 13 01:49:47 UTC 2018 Modified Files: src/sys/arch/i386/include: multiboot.h Log Message: Correct discrepancy with the Multiboot specification The VBE mode was missing, and the types of the subsequent VBE members were also wrong. Nothing in NetBSD's base seems to be using this, and therefore nothing is expected to break as a result of this fix, or any binary to change for that matter. The latest specification (as of today) can be found at: https://www.gnu.org/software/grub/manual/multiboot/multiboot.html This was already reported in misc/52366, and addresses part of it. Patch sent to port-i386@. Build-tested on NetBSD/amd64. To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/sys/arch/i386/include/multiboot.h 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: msaitoh Date: Fri Apr 13 06:04:12 UTC 2018 Modified Files: src/share/man/man4: wm.4 src/sys/dev/pci: if_wm.c Log Message: Enable I219. To generate a diff of this commit: cvs rdiff -u -r1.39 -r1.40 src/share/man/man4/wm.4 cvs rdiff -u -r1.570 -r1.571 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: src/doc
Module Name:src Committed By: msaitoh Date: Fri Apr 13 06:07:20 UTC 2018 Modified Files: src/doc: CHANGES Log Message: Enable I219 by default. To generate a diff of this commit: cvs rdiff -u -r1.2378 -r1.2379 src/doc/CHANGES Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/tools
Module Name:src Committed By: snj Date: Fri Apr 13 06:15:26 UTC 2018 Modified Files: src/tools: Makefile.gnuhost Log Message: GCC build exceeds the macOS clang default bracket nesting level of 256. Work around with -fbracket-depth=512. >From potr in PR toolchain/53178. To generate a diff of this commit: cvs rdiff -u -r1.44 -r1.45 src/tools/Makefile.gnuhost Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.