CVS commit: [pgoyette-compat] src/doc
Module Name:src Committed By: pgoyette Date: Sat May 26 03:12:34 UTC 2018 Modified Files: src/doc [pgoyette-compat]: COMPAT-branch-notes Log Message: Remove a To-Do entry that is already done (re-pointing the MODULAR sys-calls at their individual module). Merge the multiple entries concerning rtsock compat code. It really is a mess, but we don't need to say so three times! To generate a diff of this commit: cvs rdiff -u -r1.1.2.15 -r1.1.2.16 src/doc/COMPAT-branch-notes Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/usr.sbin/ofctl
Module Name:src Committed By: jmcneill Date: Sat May 26 10:21:41 UTC 2018 Modified Files: src/usr.sbin/ofctl: ofctl.8 ofctl.c Log Message: Add -v flag which prints the full path of each device node when dumping the full tree. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/usr.sbin/ofctl/ofctl.8 cvs rdiff -u -r1.12 -r1.13 src/usr.sbin/ofctl/ofctl.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/tr
Module Name:src Committed By: leot Date: Sat May 26 11:20:31 UTC 2018 Modified Files: src/usr.bin/tr: str.c Log Message: Do not accept invalid octal character values (>= 0400). This also avoid possible stack corruption (e.g. previously `tr -s '\400'' or similars lead to them). Reviewed and thanks to ! To generate a diff of this commit: cvs rdiff -u -r1.29 -r1.30 src/usr.bin/tr/str.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/doc
Module Name:src Committed By: pgoyette Date: Sat May 26 11:48:40 UTC 2018 Modified Files: src/doc [pgoyette-compat]: COMPAT-branch-notes Log Message: Add a $NetBSD$ line to track revision/changes To generate a diff of this commit: cvs rdiff -u -r1.1.2.16 -r1.1.2.17 src/doc/COMPAT-branch-notes Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/usr.sbin/ofctl
Module Name:src Committed By: wiz Date: Sat May 26 12:40:06 UTC 2018 Modified Files: src/usr.sbin/ofctl: ofctl.8 Log Message: Merge single-letter options. Use more markup. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/usr.sbin/ofctl/ofctl.8 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: jakllsch Date: Sat May 26 13:25:19 UTC 2018 Modified Files: src/sys/dev/pci: pcidevs Log Message: Add Intel 82Q45 IDER To generate a diff of this commit: cvs rdiff -u -r1.1335 -r1.1336 src/sys/dev/pci/pcidevs 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: jakllsch Date: Sat May 26 13:26:02 UTC 2018 Modified Files: src/sys/dev/pci: pcidevs.h pcidevs_data.h Log Message: regen To generate a diff of this commit: cvs rdiff -u -r1.1326 -r1.1327 src/sys/dev/pci/pcidevs.h cvs rdiff -u -r1.1325 -r1.1326 src/sys/dev/pci/pcidevs_data.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/pci
Module Name:src Committed By: jakllsch Date: Sat May 26 13:33:44 UTC 2018 Modified Files: src/sys/dev/pci: piixide.c Log Message: Match PCI_PRODUCT_INTEL_82Q45_IDER. Not entirely sure which chip map to use, but as this is for AMT, it's probably not like there's a real PATA interface to configure DMA for, and as the 965 AMT stuff uses the sata version of the chip map, we'll cargo cult it for now. To generate a diff of this commit: cvs rdiff -u -r1.65 -r1.66 src/sys/dev/pci/piixide.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/i2c
Module Name:src Committed By: jmcneill Date: Sat May 26 14:39:20 UTC 2018 Modified Files: src/sys/dev/i2c: axppmic.c Log Message: Add battery voltage, charge current, and discharge current sensors for AXP803. To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/sys/dev/i2c/axppmic.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/sys
Module Name:src Committed By: kamil Date: Sat May 26 15:15:17 UTC 2018 Modified Files: src/tests/lib/libc/sys: t_ptrace_wait.h Log Message: Introduce can_we_write_to_text() to ATF ptrace(2) tests The purpose of this function is to detect whether a tracer can write to the .text section of its tracee. Sponsored by To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/tests/lib/libc/sys/t_ptrace_wait.h 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/sys
Module Name:src Committed By: kamil Date: Sat May 26 15:32:31 UTC 2018 Modified Files: src/tests/lib/libc/sys: t_ptrace_wait.c Log Message: Refactor the PT_WRITE*/PT_READ* and PIOD_* ATF ptrace(2) tests Merge all the PT_WRITE*/PT_READ* and PIOD_* the test cases into the common body. Changes: - treat D and I variations exactly the same - stop testing 2-3-4 attempts to perform the same read/write operation - stop testing interlocked (handshake) read/write operations - rename the tests - test write to .text section (with D and I type of operations) New tests: - bytes_transfer_piod_read_d_8 - bytes_transfer_piod_read_d_16 - bytes_transfer_piod_read_d_32 - bytes_transfer_piod_read_d_64 - bytes_transfer_piod_read_i_8 - bytes_transfer_piod_read_i_16 - bytes_transfer_piod_read_i_32 - bytes_transfer_piod_read_i_64 - bytes_transfer_piod_write_d_8 - bytes_transfer_piod_write_d_16 - bytes_transfer_piod_write_d_32 - bytes_transfer_piod_write_d_64 - bytes_transfer_piod_write_i_8 - bytes_transfer_piod_write_i_16 - bytes_transfer_piod_write_i_32 - bytes_transfer_piod_write_i_64 - bytes_transfer_read_d - bytes_transfer_read_i - bytes_transfer_write_d - bytes_transfer_write_i - bytes_transfer_piod_read_d_8_text - bytes_transfer_piod_read_d_16_text - bytes_transfer_piod_read_d_32_text - bytes_transfer_piod_read_d_64_text - bytes_transfer_piod_read_i_8_text - bytes_transfer_piod_read_i_16_text - bytes_transfer_piod_read_i_32_text - bytes_transfer_piod_read_i_64_text - bytes_transfer_piod_write_d_8_text - bytes_transfer_piod_write_d_16_text - bytes_transfer_piod_write_d_32_text - bytes_transfer_piod_write_d_64_text - bytes_transfer_piod_write_i_8_text - bytes_transfer_piod_write_i_16_text - bytes_transfer_piod_write_i_32_text - bytes_transfer_piod_write_i_64_text - bytes_transfer_read_d_text - bytes_transfer_read_i_text - bytes_transfer_write_d_text - bytes_transfer_write_i_text - bytes_transfer_piod_read_auxv These tests are now covering all usual code paths. All tests pass. The PaX MPROTECT violating ones automatically detect whether to be skipped. Eliminated 4x more code than removed. Sponsored by To generate a diff of this commit: cvs rdiff -u -r1.53 -r1.54 src/tests/lib/libc/sys/t_ptrace_wait.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/netbsd32
Module Name:src Committed By: kamil Date: Sat May 26 18:18:19 UTC 2018 Modified Files: src/sys/compat/netbsd32: netbsd32_sysctl.c Log Message: Handle vm.maxaddress in compat_netbsd32(8) Return VM_MAXUSER_ADDRESS32 instead of the 64-bit specific address. Use CTLTYPE_INT instead of CTLTYPE_LONG in order to retain the same integer type between 64-bit native kernel and 32-bit emulated program. There probably should be CTLTYPE_LONG32 available for this purpose. On NetBSD/i386: vm.maxaddress=bfeff000 On NetBSD/amd64: vm.maxaddress=7fbfdfeff000 On NetBSD/amd64 running i386 program: vm.maxaddress=f000 A 32-bit program on the 64-bit kernel can use larger user space, this difference is on purpose and expected. Sponsored by To generate a diff of this commit: cvs rdiff -u -r1.38 -r1.39 src/sys/compat/netbsd32/netbsd32_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/uvm
Module Name:src Committed By: jdolecek Date: Sat May 26 18:57:35 UTC 2018 Modified Files: src/sys/uvm: uvm_bio.c Log Message: uvm_pageactivate() needs to be called _after_ code is done with the page, no reason to bother pdaemon with PG_BUSY pages; also clear the PG_FAKE and PG_CLEAN after we are done with the write this does not make any difference on my machine, but maybe it might fix the machine check panic on Martin's alpha while here remove UBC_PARTIALOK handling from ubc_zeropage_direct(), just to be sure it works exactly the same as the non-direct one To generate a diff of this commit: cvs rdiff -u -r1.95 -r1.96 src/sys/uvm/uvm_bio.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/etc/rc.d
Module Name:src Committed By: riastradh Date: Sat May 26 19:18:11 UTC 2018 Modified Files: src/etc/rc.d: sshd Log Message: Revert previous: Don't generate XMSS host keys for sshd by default. XMSS is a stateful post-quantum signature scheme. - Post-quantum security for _online_ authentication is not important until quantum computers become practical; there's no danger of retroactive forgery in sessions that have already completed. - As a stateful signature schemes, XMSS is qualitatively different from all the other ones sshd supports, requiring additional administrative care: roll back the state (e.g., from a disk backup or VM snapshot), and you've shot yourself in the foot. If users want XMSS keys, they can make them explicitly, but there's no need for this to be enabled by default. Discussed with christos offline. To generate a diff of this commit: cvs rdiff -u -r1.28 -r1.29 src/etc/rc.d/sshd Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/arch/sparc64/sparc64
Module Name:src Committed By: palle Date: Sat May 26 19:20:21 UTC 2018 Modified Files: src/sys/arch/sparc64/sparc64: locore.s Log Message: next_stick() - fix typy in comment: tick->stick To generate a diff of this commit: cvs rdiff -u -r1.413 -r1.414 src/sys/arch/sparc64/sparc64/locore.s Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/mit/lua/dist/src
Module Name:src Committed By: alnsn Date: Sat May 26 20:17:56 UTC 2018 Modified Files: src/external/mit/lua/dist/src: luaconf.h Log Message: Change LUAL_BUFFERSIZE from 4-8K to 128 bytes for kernel-side Lua. LUAL_BUFFERSIZE defines how much luaL_Buffer allocates from the stack. Apparently, 4-8K is too much for the kernel stack. To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.22 src/external/mit/lua/dist/src/luaconf.h 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/sys
Module Name:src Committed By: kamil Date: Sat May 26 20:27:48 UTC 2018 Modified Files: src/tests/lib/libc/sys: t_ptrace_amd64_wait.h t_ptrace_x86_wait.h Log Message: Port the CVE 2018-8897 mitigation to i386 ATF ptrace(2) tests On i386 there is no need to switch execution mode. Use 0x23 SS selector for i386, amd64 used 0x4f. Based on pointers from . Sponsored by To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/tests/lib/libc/sys/t_ptrace_amd64_wait.h cvs rdiff -u -r1.6 -r1.7 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: src/sys/compat/netbsd32
Module Name:src Committed By: kamil Date: Sat May 26 21:07:47 UTC 2018 Modified Files: src/sys/compat/netbsd32: netbsd32_sysctl.c Log Message: Fix sysctl(3):vm.minaddress in compat_netbsd32(8) Cast minaddress from LP64-specific long (64-bit) to 32-bit long (int). This value is usually 0 or 0+PAGE_SIZE. There is need to change type in order to keep original code functional, without prompting the value with 'long long' or a similar approach. There are more CTLTYPE_LONG with a need for fixes in the compat code: uipc_usrreq.c 1975 CTLTYPE_LONG, "sendspace", 1981 CTLTYPE_LONG, "recvspace", 1987 CTLTYPE_LONG, "sendspace", 1993 CTLTYPE_LONG, "recvspace", vfs_bio.c 1921 CTLTYPE_LONG, "bufmem", 1928 CTLTYPE_LONG, "bufmem_lowater", 1935 CTLTYPE_LONG, "bufmem_hiwater", Sponsored by To generate a diff of this commit: cvs rdiff -u -r1.39 -r1.40 src/sys/compat/netbsd32/netbsd32_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/sysmon
Module Name:src Committed By: thorpej Date: Sat May 26 21:15:46 UTC 2018 Modified Files: src/sys/dev/sysmon: sysmon_envsys.c Log Message: Avoid dereferencing NULL if we attempt to look up an known unit type. To generate a diff of this commit: cvs rdiff -u -r1.142 -r1.143 src/sys/dev/sysmon/sysmon_envsys.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/fdt
Module Name:src Committed By: jmcneill Date: Sat May 26 22:49:03 UTC 2018 Modified Files: src/sys/arch/arm/fdt: psci_fdt.c psci_fdt.h Log Message: Export a psci_fdt_reset function, usable from FDT platform code. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/sys/arch/arm/fdt/psci_fdt.c cvs rdiff -u -r1.1 -r1.2 src/sys/arch/arm/fdt/psci_fdt.h 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/sys
Module Name:src Committed By: christos Date: Sun May 27 00:36:56 UTC 2018 Modified Files: src/tests/lib/libc/sys: t_ptrace_wait.c Log Message: alloca, bad; stack protector, good. To generate a diff of this commit: cvs rdiff -u -r1.54 -r1.55 src/tests/lib/libc/sys/t_ptrace_wait.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: Sun May 27 01:14:51 UTC 2018 Modified Files: src/external/mit/xorg: xorg-pkg-ver.mk src/sys/arch/acorn32/stand/lib: Makefile.inc src/sys/arch/hppa/spmath: Makefile.inc src/sys/arch/i386/stand/lib: Makefile.inc src/sys/arch/ia64/stand/efi/libefi: Makefile.inc src/sys/arch/m68k/fpsp: Makefile.inc src/sys/compat/common: Makefile.inc src/sys/lib/libgnuefi: Makefile.inc src/sys/lib/libkern: Makefile.inc src/sys/lib/libsa: Makefile.inc src/sys/lib/libz: Makefile.inc src/usr.bin/make: make.1 var.c src/usr.bin/make/unit-tests: varquote.exp varquote.mk Log Message: - Introduce :q modifier for make variables and make it double escape $'s so that passing variables to recursive makes with :q works as expected. - Revert :Q to work as before. - Adjust makefiles that use recursive make to use :q Discussed on tech-toolchain@ XXX: pullup 8 To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/external/mit/xorg/xorg-pkg-ver.mk cvs rdiff -u -r1.3 -r1.4 src/sys/arch/acorn32/stand/lib/Makefile.inc cvs rdiff -u -r1.9 -r1.10 src/sys/arch/hppa/spmath/Makefile.inc cvs rdiff -u -r1.16 -r1.17 src/sys/arch/i386/stand/lib/Makefile.inc cvs rdiff -u -r1.4 -r1.5 src/sys/arch/ia64/stand/efi/libefi/Makefile.inc cvs rdiff -u -r1.20 -r1.21 src/sys/arch/m68k/fpsp/Makefile.inc cvs rdiff -u -r1.24 -r1.25 src/sys/compat/common/Makefile.inc cvs rdiff -u -r1.4 -r1.5 src/sys/lib/libgnuefi/Makefile.inc cvs rdiff -u -r1.44 -r1.45 src/sys/lib/libkern/Makefile.inc cvs rdiff -u -r1.23 -r1.24 src/sys/lib/libsa/Makefile.inc cvs rdiff -u -r1.16 -r1.17 src/sys/lib/libz/Makefile.inc cvs rdiff -u -r1.272 -r1.273 src/usr.bin/make/make.1 cvs rdiff -u -r1.219 -r1.220 src/usr.bin/make/var.c cvs rdiff -u -r1.1 -r1.2 src/usr.bin/make/unit-tests/varquote.exp \ src/usr.bin/make/unit-tests/varquote.mk 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: thorpej Date: Sun May 27 01:39:00 UTC 2018 Modified Files: src/sys/dev/sysmon: sysmon_envsys_tables.c src/sys/sys: envsys.h src/usr.sbin/envstat: envstat.c Log Message: Add support for light sensors that report Illuminance in lux. To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 src/sys/dev/sysmon/sysmon_envsys_tables.c cvs rdiff -u -r1.36 -r1.37 src/sys/sys/envsys.h cvs rdiff -u -r1.95 -r1.96 src/usr.sbin/envstat/envstat.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: thorpej Date: Sun May 27 05:31:20 UTC 2018 Modified Files: src/distrib/sets/lists/man: mi src/share/man/man4: Makefile src/sys/dev/i2c: files.i2c Added Files: src/share/man/man4: tsllux.4 src/sys/dev/i2c: tsl256x.c tsl256xreg.h Log Message: Add a driver for the Taos TSL256x light sensors. To generate a diff of this commit: cvs rdiff -u -r1.1589 -r1.1590 src/distrib/sets/lists/man/mi cvs rdiff -u -r1.654 -r1.655 src/share/man/man4/Makefile cvs rdiff -u -r0 -r1.1 src/share/man/man4/tsllux.4 cvs rdiff -u -r1.91 -r1.92 src/sys/dev/i2c/files.i2c cvs rdiff -u -r0 -r1.1 src/sys/dev/i2c/tsl256x.c src/sys/dev/i2c/tsl256xreg.h 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: wiz Date: Sun May 27 06:40:31 UTC 2018 Modified Files: src/sys/sys: envsys.h Log Message: Fix typo in comment. To generate a diff of this commit: cvs rdiff -u -r1.37 -r1.38 src/sys/sys/envsys.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.