CVS commit: src/sys

2020-04-12 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sun Apr 12 07:16:09 UTC 2020 Modified Files: src/sys/kern: subr_cprng.c src/sys/sys: cprng.h Log Message: Don't inline cprng_strong{32,64}(), so they can be called from asm. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/arch/aarch64/aarch64

2020-04-11 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat Apr 11 09:02:04 UTC 2020 Modified Files: src/sys/arch/aarch64/aarch64: vectors.S Log Message: The vectors allow for up to 0x80 bytes of instructions, but we've reached this limit already, so implement the handler functions

CVS commit: src/sys/arch/aarch64/aarch64

2020-04-11 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat Apr 11 09:02:04 UTC 2020 Modified Files: src/sys/arch/aarch64/aarch64: vectors.S Log Message: The vectors allow for up to 0x80 bytes of instructions, but we've reached this limit already, so implement the handler functions

CVS commit: src

2020-04-04 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat Apr 4 07:03:57 UTC 2020 Modified Files: src/share/mk: bsd.sys.mk src/sys/arch/amd64/conf: Makefile.amd64 Log Message: KCOV doesn't depend on specificdata and cpu_intr_p() anymore, so drop references. To generate a

CVS commit: src

2020-04-04 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat Apr 4 07:03:57 UTC 2020 Modified Files: src/share/mk: bsd.sys.mk src/sys/arch/amd64/conf: Makefile.amd64 Log Message: KCOV doesn't depend on specificdata and cpu_intr_p() anymore, so drop references. To generate a

CVS commit: src/sys

2020-04-04 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat Apr 4 06:51:46 UTC 2020 Modified Files: src/sys/kern: kern_lwp.c subr_kcov.c src/sys/sys: kcov.h lwp.h Log Message: Drop specificdata from KCOV, kMSan doesn't interact well with it. Also reduces the overhead. To

CVS commit: src/sys

2020-04-04 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat Apr 4 06:51:46 UTC 2020 Modified Files: src/sys/kern: kern_lwp.c subr_kcov.c src/sys/sys: kcov.h lwp.h Log Message: Drop specificdata from KCOV, kMSan doesn't interact well with it. Also reduces the overhead. To

CVS commit: src/sbin/savecore

2020-04-03 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Fri Apr 3 19:09:43 UTC 2020 Modified Files: src/sbin/savecore: savecore.c Log Message: Avoid overflows when reading strings. To generate a diff of this commit: cvs rdiff -u -r1.89 -r1.90 src/sbin/savecore/savecore.c Please note

CVS commit: src/sbin/savecore

2020-04-03 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Fri Apr 3 19:09:43 UTC 2020 Modified Files: src/sbin/savecore: savecore.c Log Message: Avoid overflows when reading strings. To generate a diff of this commit: cvs rdiff -u -r1.89 -r1.90 src/sbin/savecore/savecore.c Please note

CVS commit: src/sys

2020-04-03 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Fri Apr 3 18:44:50 UTC 2020 Modified Files: src/sys/kern: subr_asan.c src/sys/lib/libkern: libkern.h Log Message: Add KASAN instrumentation on strcat/strchr/strrchr. To generate a diff of this commit: cvs rdiff -u -r1.19

CVS commit: src/sys

2020-04-03 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Fri Apr 3 18:44:50 UTC 2020 Modified Files: src/sys/kern: subr_asan.c src/sys/lib/libkern: libkern.h Log Message: Add KASAN instrumentation on strcat/strchr/strrchr. To generate a diff of this commit: cvs rdiff -u -r1.19

CVS commit: src/sys/kern

2020-04-03 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Fri Apr 3 18:26:14 UTC 2020 Modified Files: src/sys/kern: subr_msan.c Log Message: Verify that the terminating '\0', too, is initialized. To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/sys/kern/subr_msan.c

CVS commit: src/sys/kern

2020-04-03 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Fri Apr 3 18:26:14 UTC 2020 Modified Files: src/sys/kern: subr_msan.c Log Message: Verify that the terminating '\0', too, is initialized. To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/sys/kern/subr_msan.c

CVS commit: src/sys

2020-04-03 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Fri Apr 3 18:12:39 UTC 2020 Modified Files: src/sys/arch/amd64/conf: Makefile.amd64 src/sys/kern: subr_asan.c Log Message: Add KASAN instrumentation on on-stack VLAs. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys

2020-04-03 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Fri Apr 3 18:12:39 UTC 2020 Modified Files: src/sys/arch/amd64/conf: Makefile.amd64 src/sys/kern: subr_asan.c Log Message: Add KASAN instrumentation on on-stack VLAs. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/kern

2020-04-02 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Thu Apr 2 16:31:37 UTC 2020 Modified Files: src/sys/kern: subr_csan.c Log Message: Add a comment. To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/sys/kern/subr_csan.c Please note that diffs are not public

CVS commit: src/sys/kern

2020-04-02 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Thu Apr 2 16:31:37 UTC 2020 Modified Files: src/sys/kern: subr_csan.c Log Message: Add a comment. To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/sys/kern/subr_csan.c Please note that diffs are not public

CVS commit: src/sys

2020-04-02 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Thu Apr 2 16:29:30 UTC 2020 Modified Files: src/sys/kern: kern_clock.c src/sys/sys: kernel.h src/sys/uvm: uvm_pdpolicy_clock.c Log Message: Hide 'hardclock_ticks' behind a new getticks() function, and use relaxed

CVS commit: src/sys

2020-04-02 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Thu Apr 2 16:29:30 UTC 2020 Modified Files: src/sys/kern: kern_clock.c src/sys/sys: kernel.h src/sys/uvm: uvm_pdpolicy_clock.c Log Message: Hide 'hardclock_ticks' behind a new getticks() function, and use relaxed

CVS commit: src/sys/dev/usb

2020-03-31 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Tue Mar 31 16:34:25 UTC 2020 Modified Files: src/sys/dev/usb: vhci.c vhci.h Log Message: Publish the request/response structures too. To generate a diff of this commit: cvs rdiff -u -r1.15 -r1.16 src/sys/dev/usb/vhci.c cvs rdiff

CVS commit: src/sys/dev/usb

2020-03-31 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Tue Mar 31 16:34:25 UTC 2020 Modified Files: src/sys/dev/usb: vhci.c vhci.h Log Message: Publish the request/response structures too. To generate a diff of this commit: cvs rdiff -u -r1.15 -r1.16 src/sys/dev/usb/vhci.c cvs rdiff

CVS commit: src

2020-03-31 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Tue Mar 31 16:28:29 UTC 2020 Modified Files: src/distrib/sets/lists/comp: mi src/sys/dev/usb: Makefile vhci.c Added Files: src/sys/dev/usb: vhci.h Log Message: Put the ioctl definitions in a header, and install it.

CVS commit: src

2020-03-31 Thread Maxime Villard
tBSD Foundation, Inc. + * All rights reserved. + * + * This code is derived from software contributed to The NetBSD Foundation + * by Maxime Villard. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * a

CVS commit: src/sys/dev/usb

2020-03-31 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Tue Mar 31 16:17:32 UTC 2020 Modified Files: src/sys/dev/usb: vhci.c Log Message: Allow short transfers. We introduce a third packet, in the U->H list, that contains a vhci_response_t, which indicates the size. To generate a diff

CVS commit: src/sys/dev/usb

2020-03-31 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Tue Mar 31 16:17:32 UTC 2020 Modified Files: src/sys/dev/usb: vhci.c Log Message: Allow short transfers. We introduce a third packet, in the U->H list, that contains a vhci_response_t, which indicates the size. To generate a diff

CVS commit: src/sys/dev/usb

2020-03-29 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sun Mar 29 09:46:14 UTC 2020 Modified Files: src/sys/dev/usb: vhci.c Log Message: store the request buffer in the vxfer instead of the packet, clearer To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13

CVS commit: src/sys/dev/usb

2020-03-29 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sun Mar 29 09:46:14 UTC 2020 Modified Files: src/sys/dev/usb: vhci.c Log Message: store the request buffer in the vxfer instead of the packet, clearer To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13

[vfs_cache] Re: CVS commit: src/sys/kern

2020-03-29 Thread Maxime Villard
Le 23/03/2020 à 21:02, Andrew Doran a écrit : > Module Name: src > Committed By: ad > Date: Mon Mar 23 20:02:14 UTC 2020 > > Modified Files: > src/sys/kern: vfs_cache.c > > Log Message: > cache_remove(): remove from the vnode list first, so cache_revlookup() > doesn't try to

Re: CVS commit: src

2020-03-26 Thread Maxime Villard
Le 26/03/2020 à 15:32, Jonathan A. Kollasch a écrit : > On Tue, Aug 14, 2018 at 02:49:14PM +0000, Maxime Villard wrote: >> Module Name: src >> Committed By:maxv >> Date:Tue Aug 14 14:49:14 UTC 2018 >> Log Message: >> Retire EtherI

CVS commit: src/sys/dev/usb

2020-03-24 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Tue Mar 24 17:20:55 UTC 2020 Modified Files: src/sys/dev/usb: vhci.c Log Message: Remove the argument from USB_{ATTACH,DETACH}, for consistency. To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/sys/dev/usb/vhci.c

CVS commit: src/sys/dev/usb

2020-03-24 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Tue Mar 24 17:20:55 UTC 2020 Modified Files: src/sys/dev/usb: vhci.c Log Message: Remove the argument from USB_{ATTACH,DETACH}, for consistency. To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/sys/dev/usb/vhci.c

CVS commit: src/sys/dev/usb

2020-03-24 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Tue Mar 24 07:12:16 UTC 2020 Modified Files: src/sys/dev/usb: if_umb.c Log Message: Fix type confusion. Found by kASan when doing a normal attach+detach over vHCI. To generate a diff of this commit: cvs rdiff -u -r1.18 -r1.19

CVS commit: src/sys/dev/usb

2020-03-24 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Tue Mar 24 07:12:16 UTC 2020 Modified Files: src/sys/dev/usb: if_umb.c Log Message: Fix type confusion. Found by kASan when doing a normal attach+detach over vHCI. To generate a diff of this commit: cvs rdiff -u -r1.18 -r1.19

CVS commit: src/sys/dev/usb

2020-03-24 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Tue Mar 24 07:11:07 UTC 2020 Modified Files: src/sys/dev/usb: vhci.c Log Message: Use a vhci_request_t, will be required for future changes. To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/sys/dev/usb/vhci.c

CVS commit: src/sys/dev/usb

2020-03-24 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Tue Mar 24 07:11:07 UTC 2020 Modified Files: src/sys/dev/usb: vhci.c Log Message: Use a vhci_request_t, will be required for future changes. To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/sys/dev/usb/vhci.c

Re: CVS commit: src/sys/dev/usb

2020-03-23 Thread Maxime Villard
Le 23/03/2020 à 04:07, Roy Marples a écrit : > On 22/03/2020 08:30, Maxime Villard wrote: >> Overall "From OpenBSD" is a redflag for buggy and vulnerable code.. > > We should be above this, no software is perfect, not even ours. > > Roy You seem to be confusing

CVS commit: src/sys/dev/usb

2020-03-22 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sun Mar 22 17:15:16 UTC 2020 Modified Files: src/sys/dev/usb: vhci.c Log Message: Add internal support for multiple endpoints. To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/sys/dev/usb/vhci.c Please note that

CVS commit: src/sys/dev/usb

2020-03-22 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sun Mar 22 17:15:16 UTC 2020 Modified Files: src/sys/dev/usb: vhci.c Log Message: Add internal support for multiple endpoints. To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/sys/dev/usb/vhci.c Please note that

CVS commit: src/sys/dev/usb

2020-03-22 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sun Mar 22 15:14:03 UTC 2020 Modified Files: src/sys/dev/usb: vhci.c Log Message: clarify and explain To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/sys/dev/usb/vhci.c Please note that diffs are not public

CVS commit: src/sys/dev/usb

2020-03-22 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sun Mar 22 15:14:03 UTC 2020 Modified Files: src/sys/dev/usb: vhci.c Log Message: clarify and explain To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/sys/dev/usb/vhci.c Please note that diffs are not public

Re: CVS commit: src/sys/dev/usb

2020-03-22 Thread Maxime Villard
Le 19/03/2020 à 08:49, Pierre Pronchery a écrit : > Module Name: src > Committed By: khorben > Date: Thu Mar 19 07:49:29 UTC 2020 > > Modified Files: > src/sys/dev/usb: if_umb.c > > Log Message: > When there is no network around the state timeout fires over and over again. >

CVS commit: src/sys/arch

2020-03-17 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Tue Mar 17 17:18:49 UTC 2020 Modified Files: src/sys/arch/amd64/include: cpu.h param.h pcb.h types.h src/sys/arch/x86/x86: vm_machdep.c Log Message: Add a redzone between the pcb and the stack. Sent to port-amd64@. To

CVS commit: src/sys/arch

2020-03-17 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Tue Mar 17 17:18:49 UTC 2020 Modified Files: src/sys/arch/amd64/include: cpu.h param.h pcb.h types.h src/sys/arch/x86/x86: vm_machdep.c Log Message: Add a redzone between the pcb and the stack. Sent to port-amd64@. To

CVS commit: src/sys/arch/x86/x86

2020-03-13 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat Mar 14 05:19:50 UTC 2020 Modified Files: src/sys/arch/x86/x86: pmap.c Log Message: On amd64, mark the whole tree as NX. No real functional change, just to prevent possible future surprises, and to make it a little harder to map

CVS commit: src/sys/arch/x86/x86

2020-03-13 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat Mar 14 05:19:50 UTC 2020 Modified Files: src/sys/arch/x86/x86: pmap.c Log Message: On amd64, mark the whole tree as NX. No real functional change, just to prevent possible future surprises, and to make it a little harder to map

CVS commit: src/sys/arch/x86/include

2020-03-13 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat Mar 14 04:55:15 UTC 2020 Modified Files: src/sys/arch/x86/include: pte.h trap.h Log Message: style To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/sys/arch/x86/include/pte.h cvs rdiff -u -r1.2 -r1.3

CVS commit: src/sys/arch/x86/include

2020-03-13 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat Mar 14 04:55:15 UTC 2020 Modified Files: src/sys/arch/x86/include: pte.h trap.h Log Message: style To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/sys/arch/x86/include/pte.h cvs rdiff -u -r1.2 -r1.3

CVS commit: src/sys/dev/bluetooth

2020-03-13 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat Mar 14 04:49:33 UTC 2020 Modified Files: src/sys/dev/bluetooth: btkbd.c Log Message: fix memory leaks To generate a diff of this commit: cvs rdiff -u -r1.18 -r1.19 src/sys/dev/bluetooth/btkbd.c Please note that diffs are not

CVS commit: src/sys/dev/bluetooth

2020-03-13 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat Mar 14 04:49:33 UTC 2020 Modified Files: src/sys/dev/bluetooth: btkbd.c Log Message: fix memory leaks To generate a diff of this commit: cvs rdiff -u -r1.18 -r1.19 src/sys/dev/bluetooth/btkbd.c Please note that diffs are not

CVS commit: src/sys/compat/netbsd32

2020-03-13 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat Mar 14 04:39:15 UTC 2020 Modified Files: src/sys/compat/netbsd32: netbsd32_ioctl.c Log Message: wrong size passed to copyout To generate a diff of this commit: cvs rdiff -u -r1.109 -r1.110

CVS commit: src/sys/compat/netbsd32

2020-03-13 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat Mar 14 04:39:15 UTC 2020 Modified Files: src/sys/compat/netbsd32: netbsd32_ioctl.c Log Message: wrong size passed to copyout To generate a diff of this commit: cvs rdiff -u -r1.109 -r1.110

Re: CVS commit: src/sys/ufs/ufs

2020-03-11 Thread Maxime Villard
Le 27/02/2020 à 01:36, Simon Burge a écrit : > "Maxime Villard" wrote: > >> Module Name: src >> Committed By:maxv >> Date:Wed Feb 26 18:00:12 UTC 2020 >> >> Modified Files: >> >> src/sys/ufs/ufs: ufs_vnops.c

Re: CVS commit: src/sys/kern

2020-03-09 Thread Maxime Villard
Le 08/03/2020 à 21:41, Andrew Doran a écrit : > On Sun, Mar 08, 2020 at 08:34:29AM +0100, Maxime Villard wrote: >> Le 08/03/2020 ? 01:31, Andrew Doran a ?crit?: >>> Module Name:src >>> Committed By: ad >>> Date: Sun Mar 8 00:3

Re: CVS commit: src

2020-03-07 Thread Maxime Villard
Le 08/03/2020 à 02:33, Andrew Doran a écrit : > On Sat, Mar 07, 2020 at 12:24:21PM +0100, Maxime Villard wrote: > >> Can we revert the "__aligned(COHERENCY_UNIT)" for now? There is no particular >> hurry to fix this bug, however the KUBSAN instance has been down for

Re: CVS commit: src/sys/kern

2020-03-07 Thread Maxime Villard
Le 08/03/2020 à 01:31, Andrew Doran a écrit : > Module Name: src > Committed By: ad > Date: Sun Mar 8 00:31:19 UTC 2020 > > Modified Files: > src/sys/kern: subr_kmem.c > > Log Message: > KMEM_SIZE: append the size_t to the allocated buffer, rather than > prepending, so it doesn't

Re: CVS commit: src

2020-03-07 Thread Maxime Villard
Le 25/02/2020 à 19:18, Maxime Villard a écrit : > Le 23/02/2020 à 23:19, Andrew Doran a écrit : >> On Fri, Feb 21, 2020 at 02:14:31PM +0100, Kamil Rytarowski wrote: >> >>> On 22.12.2019 20:47, Andrew Doran wrote: >>>> Module Name:    src >>>> Commit

CVS commit: src/sys/netbt

2020-02-29 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat Feb 29 11:40:06 UTC 2020 Modified Files: src/sys/netbt: l2cap_signal.c rfcomm_session.c Log Message: pass the address of the field, instead of relying on it being the first field of the structure/union, no functional change,

CVS commit: src/sys/netbt

2020-02-29 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat Feb 29 11:40:06 UTC 2020 Modified Files: src/sys/netbt: l2cap_signal.c rfcomm_session.c Log Message: pass the address of the field, instead of relying on it being the first field of the structure/union, no functional change,

CVS commit: src/sys/ufs/ufs

2020-02-26 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Wed Feb 26 18:00:12 UTC 2020 Modified Files: src/sys/ufs/ufs: ufs_vnops.c Log Message: Zero out the padding in 'd_namlen', to prevent info leaks. Same logic as ufs_makedirentry(). Found by kMSan: the unzeroed bytes of the

CVS commit: src/sys/ufs/ufs

2020-02-26 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Wed Feb 26 18:00:12 UTC 2020 Modified Files: src/sys/ufs/ufs: ufs_vnops.c Log Message: Zero out the padding in 'd_namlen', to prevent info leaks. Same logic as ufs_makedirentry(). Found by kMSan: the unzeroed bytes of the

Re: CVS commit: src

2020-02-25 Thread Maxime Villard
Le 23/02/2020 à 23:19, Andrew Doran a écrit : On Fri, Feb 21, 2020 at 02:14:31PM +0100, Kamil Rytarowski wrote: On 22.12.2019 20:47, Andrew Doran wrote: Module Name:src Committed By: ad Date: Sun Dec 22 19:47:35 UTC 2019 Modified Files:

CVS commit: src/sys/arch/x86/x86

2020-02-22 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat Feb 22 20:12:40 UTC 2020 Modified Files: src/sys/arch/x86/x86: x86_tlb.c Log Message: add relaxed atomics, ok ad@ riastradh@ To generate a diff of this commit: cvs rdiff -u -r1.15 -r1.16 src/sys/arch/x86/x86/x86_tlb.c Please

CVS commit: src/sys/arch/x86/x86

2020-02-22 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat Feb 22 20:12:40 UTC 2020 Modified Files: src/sys/arch/x86/x86: x86_tlb.c Log Message: add relaxed atomics, ok ad@ riastradh@ To generate a diff of this commit: cvs rdiff -u -r1.15 -r1.16 src/sys/arch/x86/x86/x86_tlb.c Please

CVS commit: src/sys/kern

2020-02-22 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat Feb 22 20:08:39 UTC 2020 Modified Files: src/sys/kern: subr_msan.c Log Message: Be less strict: when copyinstr() returns ENAMETOOLONG, it does initialize the buffer, so mark it as such. To generate a diff of this commit: cvs

CVS commit: src/sys/kern

2020-02-22 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat Feb 22 20:08:39 UTC 2020 Modified Files: src/sys/kern: subr_msan.c Log Message: Be less strict: when copyinstr() returns ENAMETOOLONG, it does initialize the buffer, so mark it as such. To generate a diff of this commit: cvs

CVS commit: src/sys/compat/common

2020-02-22 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat Feb 22 09:42:20 UTC 2020 Modified Files: src/sys/compat/common: uipc_syscalls_40.c Log Message: pass the address of the field, instead of relying on it being the first field of the structure, no functional change To generate

CVS commit: src/sys/compat/common

2020-02-22 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat Feb 22 09:42:20 UTC 2020 Modified Files: src/sys/compat/common: uipc_syscalls_40.c Log Message: pass the address of the field, instead of relying on it being the first field of the structure, no functional change To generate

CVS commit: src/sys/net

2020-02-22 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat Feb 22 09:30:42 UTC 2020 Modified Files: src/sys/net: rtsock_shared.c Log Message: pass the address of the field, instead of relying on it being the first field of the structure, no functional change To generate a diff of

CVS commit: src/sys/net

2020-02-22 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat Feb 22 09:30:42 UTC 2020 Modified Files: src/sys/net: rtsock_shared.c Log Message: pass the address of the field, instead of relying on it being the first field of the structure, no functional change To generate a diff of

CVS commit: src/sys/kern

2020-02-22 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat Feb 22 09:24:05 UTC 2020 Modified Files: src/sys/kern: sys_ptrace_common.c Log Message: pass the address of the field, instead of relying on it being the first field of the structure, no functional change, ok kamil To

CVS commit: src/sys/kern

2020-02-22 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat Feb 22 09:24:05 UTC 2020 Modified Files: src/sys/kern: sys_ptrace_common.c Log Message: pass the address of the field, instead of relying on it being the first field of the structure, no functional change, ok kamil To

CVS commit: src/sys/kern

2020-02-22 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat Feb 22 08:58:39 UTC 2020 Modified Files: src/sys/kern: vfs_syscalls.c Log Message: Inline the block in the parent block, for clarity, and also to prevent a false positive with kMSan. Here, LLVM reorders the conditions and

CVS commit: src/sys/kern

2020-02-22 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat Feb 22 08:58:39 UTC 2020 Modified Files: src/sys/kern: vfs_syscalls.c Log Message: Inline the block in the parent block, for clarity, and also to prevent a false positive with kMSan. Here, LLVM reorders the conditions and

CVS commit: src/sys/kern

2020-02-22 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat Feb 22 08:39:33 UTC 2020 Modified Files: src/sys/kern: uipc_socket.c Log Message: Zero out 'tv', to prevent uninitialized bytes in its padding from leaking to userland. Found by kMSan. Reported-by:

CVS commit: src/sys/kern

2020-02-22 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat Feb 22 08:39:33 UTC 2020 Modified Files: src/sys/kern: uipc_socket.c Log Message: Zero out 'tv', to prevent uninitialized bytes in its padding from leaking to userland. Found by kMSan. Reported-by:

CVS commit: src/sys/arch/x86/x86

2020-02-21 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Fri Feb 21 18:34:37 UTC 2020 Modified Files: src/sys/arch/x86/x86: pmap.c Log Message: In pmap_changeprot_local(), drop the dirty bit along with the write bit. To generate a diff of this commit: cvs rdiff -u -r1.356 -r1.357

CVS commit: src/sys/arch/x86/x86

2020-02-21 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Fri Feb 21 18:34:37 UTC 2020 Modified Files: src/sys/arch/x86/x86: pmap.c Log Message: In pmap_changeprot_local(), drop the dirty bit along with the write bit. To generate a diff of this commit: cvs rdiff -u -r1.356 -r1.357

CVS commit: src/sys/arch/x86/x86

2020-02-21 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Fri Feb 21 18:31:56 UTC 2020 Modified Files: src/sys/arch/x86/x86: pmap.c Log Message: Add comments. To generate a diff of this commit: cvs rdiff -u -r1.355 -r1.356 src/sys/arch/x86/x86/pmap.c Please note that diffs are not

CVS commit: src/sys/arch/x86/x86

2020-02-21 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Fri Feb 21 18:31:56 UTC 2020 Modified Files: src/sys/arch/x86/x86: pmap.c Log Message: Add comments. To generate a diff of this commit: cvs rdiff -u -r1.355 -r1.356 src/sys/arch/x86/x86/pmap.c Please note that diffs are not

CVS commit: src/sys/dev/usb

2020-02-16 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sun Feb 16 09:53:55 UTC 2020 Modified Files: src/sys/dev/usb: usbdi_util.c Log Message: Improve the check, to prevent more surprises. To generate a diff of this commit: cvs rdiff -u -r1.80 -r1.81 src/sys/dev/usb/usbdi_util.c

CVS commit: src/sys/dev/usb

2020-02-16 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sun Feb 16 09:53:55 UTC 2020 Modified Files: src/sys/dev/usb: usbdi_util.c Log Message: Improve the check, to prevent more surprises. To generate a diff of this commit: cvs rdiff -u -r1.80 -r1.81 src/sys/dev/usb/usbdi_util.c

CVS commit: src/sys/dev/usb

2020-02-16 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sun Feb 16 09:40:35 UTC 2020 Modified Files: src/sys/dev/usb: usbdi.c usbdi.h usbdi_util.c usbdi_util.h Log Message: Move usb_desc_* into usbdi_util.c, no functional change. To generate a diff of this commit: cvs rdiff -u -r1.192

CVS commit: src/sys/dev/usb

2020-02-16 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sun Feb 16 09:40:35 UTC 2020 Modified Files: src/sys/dev/usb: usbdi.c usbdi.h usbdi_util.c usbdi_util.h Log Message: Move usb_desc_* into usbdi_util.c, no functional change. To generate a diff of this commit: cvs rdiff -u -r1.192

CVS commit: src/sys/arch/amd64/stand/prekern

2020-02-15 Thread Maxime Villard
. + * Copyright (c) 2017-2020 The NetBSD Foundation, Inc. All rights reserved. * * This code is derived from software contributed to The NetBSD Foundation * by Maxime Villard. @@ -289,6 +289,12 @@ mm_shift_segment(vaddr_t va, size_t page size_t shiftsize, offset; uint64_t rnd

CVS commit: src/sys/arch/amd64/stand/prekern

2020-02-15 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat Feb 15 10:41:25 UTC 2020 Modified Files: src/sys/arch/amd64/stand/prekern: mm.c Log Message: Explain more. To generate a diff of this commit: cvs rdiff -u -r1.24 -r1.25 src/sys/arch/amd64/stand/prekern/mm.c Please note that

CVS commit: src

2020-02-09 Thread Maxime Villard
nvmm 4 +.Xr nvmm 4 , +.Xr nvmmctl 8 .Sh AUTHORS NVMM was designed and implemented by .An Maxime Villard . Index: src/share/man/man4/nvmm.4 diff -u src/share/man/man4/nvmm.4:1.4 src/share/man/man4/nvmm.4:1.5 --- src/share/man/man4/nvmm.4:1.4 Thu Mar 28 19:00:40 2019 +++ src/share/man/man4/nvmm.4 Sun

CVS commit: src

2020-02-09 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sun Feb 9 12:19:01 UTC 2020 Modified Files: src/lib/libnvmm: libnvmm.3 src/share/man/man4: nvmm.4 Log Message: Reference nvmmctl(8). To generate a diff of this commit: cvs rdiff -u -r1.25 -r1.26 src/lib/libnvmm/libnvmm.3

CVS commit: src/sys

2020-02-08 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat Feb 8 09:05:08 UTC 2020 Modified Files: src/sys/kern: subr_asan.c src/sys/sys: asan.h Log Message: Sync the codes with reality: partial replaced by mid, and use-after-ret added. To generate a diff of this commit: cvs

CVS commit: src/sys

2020-02-08 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat Feb 8 09:05:08 UTC 2020 Modified Files: src/sys/kern: subr_asan.c src/sys/sys: asan.h Log Message: Sync the codes with reality: partial replaced by mid, and use-after-ret added. To generate a diff of this commit: cvs

CVS commit: src/sys/dev/usb

2020-02-08 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat Feb 8 08:47:27 UTC 2020 Modified Files: src/sys/dev/usb: usb_subr.c usbdi_util.c usbdi_util.h usbdivar.h Log Message: Move three functions into usbdi_util.c, where they belong. No functional change. To generate a diff of

CVS commit: src/sys/dev/usb

2020-02-08 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat Feb 8 08:47:27 UTC 2020 Modified Files: src/sys/dev/usb: usb_subr.c usbdi_util.c usbdi_util.h usbdivar.h Log Message: Move three functions into usbdi_util.c, where they belong. No functional change. To generate a diff of

CVS commit: src/sys/dev/usb

2020-02-08 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat Feb 8 08:18:06 UTC 2020 Modified Files: src/sys/dev/usb: usbdi_util.c usbdi_util.h Log Message: Reorder usbdi_util.{c,h}, for clarity. No functional change. To generate a diff of this commit: cvs rdiff -u -r1.76 -r1.77

CVS commit: src/sys/dev/usb

2020-02-08 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat Feb 8 08:18:06 UTC 2020 Modified Files: src/sys/dev/usb: usbdi_util.c usbdi_util.h Log Message: Reorder usbdi_util.{c,h}, for clarity. No functional change. To generate a diff of this commit: cvs rdiff -u -r1.76 -r1.77

CVS commit: src/sys/dev/usb

2020-02-07 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat Feb 8 07:57:16 UTC 2020 Modified Files: src/sys/dev/usb: usbdi.c Log Message: Dedup usb_desc_iter_next with usb_desc_iter_peek. To generate a diff of this commit: cvs rdiff -u -r1.188 -r1.189 src/sys/dev/usb/usbdi.c Please

CVS commit: src/sys/dev/usb

2020-02-07 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat Feb 8 07:57:16 UTC 2020 Modified Files: src/sys/dev/usb: usbdi.c Log Message: Dedup usb_desc_iter_next with usb_desc_iter_peek. To generate a diff of this commit: cvs rdiff -u -r1.188 -r1.189 src/sys/dev/usb/usbdi.c Please

CVS commit: src/sys/dev/usb

2020-02-07 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat Feb 8 07:53:24 UTC 2020 Modified Files: src/sys/dev/usb: u3g.c uhmodem.c usbdi.c usbdi_util.c usbdi_util.h Log Message: Introduce usbd_clear_endpoint_feature(), and dedup. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/dev/usb

2020-02-07 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat Feb 8 07:53:24 UTC 2020 Modified Files: src/sys/dev/usb: u3g.c uhmodem.c usbdi.c usbdi_util.c usbdi_util.h Log Message: Introduce usbd_clear_endpoint_feature(), and dedup. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/dev/usb

2020-02-07 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat Feb 8 07:38:17 UTC 2020 Modified Files: src/sys/dev/usb: usbdi.c usbdi.h uvideo.c Log Message: Move uvideo's parsers into usbdi.c, to make them global. Rename usb_desc_iter_peek_next -> usb_desc_iter_peek for consistency. To

CVS commit: src/sys/dev/usb

2020-02-07 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat Feb 8 07:38:17 UTC 2020 Modified Files: src/sys/dev/usb: usbdi.c usbdi.h uvideo.c Log Message: Move uvideo's parsers into usbdi.c, to make them global. Rename usb_desc_iter_peek_next -> usb_desc_iter_peek for consistency. To

CVS commit: src/sys/dev/pci

2020-02-07 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat Feb 8 07:24:46 UTC 2020 Modified Files: src/sys/dev/pci: if_alc.c if_alcreg.h Log Message: constify To generate a diff of this commit: cvs rdiff -u -r1.48 -r1.49 src/sys/dev/pci/if_alc.c cvs rdiff -u -r1.8 -r1.9

<    1   2   3   4   5   6   7   8   9   10   >