CVS commit: src/sys/arch/mips

2020-08-15 Thread matthew green
Module Name:src Committed By: mrg Date: Sat Aug 15 07:42:07 UTC 2020 Modified Files: src/sys/arch/mips/conf: files.mips src/sys/arch/mips/include: locore.h src/sys/arch/mips/mips: db_interface.c db_trace.c trap.c Added Files:

CVS commit: src/sys/arch/mips

2020-08-15 Thread matthew green
Module Name:src Committed By: mrg Date: Sat Aug 15 07:42:07 UTC 2020 Modified Files: src/sys/arch/mips/conf: files.mips src/sys/arch/mips/include: locore.h src/sys/arch/mips/mips: db_interface.c db_trace.c trap.c Added Files:

CVS commit: src/sys/uvm

2020-08-15 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Sat Aug 15 07:24:10 UTC 2020 Modified Files: src/sys/uvm: uvm_object.c Log Message: use uint64_t rather than int for storing the index of a page within an object. To generate a diff of this commit: cvs rdiff -u -r1.24 -r1.25

CVS commit: src/sys/uvm

2020-08-15 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Sat Aug 15 07:24:10 UTC 2020 Modified Files: src/sys/uvm: uvm_object.c Log Message: use uint64_t rather than int for storing the index of a page within an object. To generate a diff of this commit: cvs rdiff -u -r1.24 -r1.25

CVS commit: src/sys/arch/arm/arm32

2020-08-15 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Sat Aug 15 13:33:54 UTC 2020 Modified Files: src/sys/arch/arm/arm32: cpuswitch.S Log Message: #ifdef _ARM_ARCH_7 the dmbs To generate a diff of this commit: cvs rdiff -u -r1.102 -r1.103 src/sys/arch/arm/arm32/cpuswitch.S Please

CVS commit: src/sys/arch/arm/arm32

2020-08-15 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Sat Aug 15 13:33:54 UTC 2020 Modified Files: src/sys/arch/arm/arm32: cpuswitch.S Log Message: #ifdef _ARM_ARCH_7 the dmbs To generate a diff of this commit: cvs rdiff -u -r1.102 -r1.103 src/sys/arch/arm/arm32/cpuswitch.S Please

CVS commit: src/share/man/man8

2020-08-15 Thread Nia Alarie
Module Name:src Committed By: nia Date: Sat Aug 15 13:32:26 UTC 2020 Modified Files: src/share/man/man8: afterboot.8 Log Message: afterboot.8: Explain how to install pkgin on a fresh system To generate a diff of this commit: cvs rdiff -u -r1.63 -r1.64

CVS commit: src/share/man/man8

2020-08-15 Thread Nia Alarie
Module Name:src Committed By: nia Date: Sat Aug 15 13:32:26 UTC 2020 Modified Files: src/share/man/man8: afterboot.8 Log Message: afterboot.8: Explain how to install pkgin on a fresh system To generate a diff of this commit: cvs rdiff -u -r1.63 -r1.64

Re: CVS commit: src/share/man/man8

2020-08-15 Thread Leonardo Taccari
Hello Nia, Nia Alarie writes: > [...] > Log Message: > afterboot.8: Explain how to install pkgin on a fresh system > [...] > +.Pp > +To install pkgin, if it was not done by the installer: > +.Bd -literal -offset indent > +.Ic export >

CVS commit: src/tests/dev/cgd

2020-08-15 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sat Aug 15 10:03:10 UTC 2020 Modified Files: src/tests/dev/cgd: t_cgd_3des.c t_cgd_adiantum.c t_cgd_aes.c t_cgd_blowfish.c Log Message: Plaintext buffers are used directly for write() operations to the raw device.

CVS commit: src/tests/dev/cgd

2020-08-15 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sat Aug 15 10:03:10 UTC 2020 Modified Files: src/tests/dev/cgd: t_cgd_3des.c t_cgd_adiantum.c t_cgd_aes.c t_cgd_blowfish.c Log Message: Plaintext buffers are used directly for write() operations to the raw device.

CVS commit: src/share/man/man8

2020-08-15 Thread Nia Alarie
Module Name:src Committed By: nia Date: Sat Aug 15 13:25:14 UTC 2020 Modified Files: src/share/man/man8: afterboot.8 Log Message: afterboot.8: Explain how connecting to open WiFi works with wpa_supplicant To generate a diff of this commit: cvs rdiff -u -r1.62 -r1.63

CVS commit: src/share/man/man8

2020-08-15 Thread Nia Alarie
Module Name:src Committed By: nia Date: Sat Aug 15 13:25:14 UTC 2020 Modified Files: src/share/man/man8: afterboot.8 Log Message: afterboot.8: Explain how connecting to open WiFi works with wpa_supplicant To generate a diff of this commit: cvs rdiff -u -r1.62 -r1.63

CVS commit: src/share/man/man8

2020-08-15 Thread Nia Alarie
Module Name:src Committed By: nia Date: Sat Aug 15 13:35:12 UTC 2020 Modified Files: src/share/man/man8: afterboot.8 Log Message: afterboot.8: Be clearer about exactly when you might need to login as root To generate a diff of this commit: cvs rdiff -u -r1.64 -r1.65

CVS commit: src/share/man/man8

2020-08-15 Thread Nia Alarie
Module Name:src Committed By: nia Date: Sat Aug 15 13:35:12 UTC 2020 Modified Files: src/share/man/man8: afterboot.8 Log Message: afterboot.8: Be clearer about exactly when you might need to login as root To generate a diff of this commit: cvs rdiff -u -r1.64 -r1.65

CVS commit: src/share/man/man8

2020-08-15 Thread Nia Alarie
Module Name:src Committed By: nia Date: Sat Aug 15 13:44:14 UTC 2020 Modified Files: src/share/man/man8: afterboot.8 Log Message: afterboot.8: Explain devpubd To generate a diff of this commit: cvs rdiff -u -r1.65 -r1.66 src/share/man/man8/afterboot.8 Please note that

CVS commit: src/share/man/man8

2020-08-15 Thread Nia Alarie
Module Name:src Committed By: nia Date: Sat Aug 15 13:44:14 UTC 2020 Modified Files: src/share/man/man8: afterboot.8 Log Message: afterboot.8: Explain devpubd To generate a diff of this commit: cvs rdiff -u -r1.65 -r1.66 src/share/man/man8/afterboot.8 Please note that

Re: CVS commit: src

2020-08-15 Thread nia
On Fri, Aug 14, 2020 at 12:53:17AM +, Taylor R Campbell wrote: > New system call getrandom() compatible with Linux and others. > > [..] > > As proposed on tech-userlevel, tech-crypto, tech-security, and > tech-kern, and subsequently adopted by core (minus the getentropy part > of the proposal,

CVS commit: src/share/man/man8

2020-08-15 Thread Nia Alarie
Module Name:src Committed By: nia Date: Sat Aug 15 13:49:09 UTC 2020 Modified Files: src/share/man/man8: afterboot.8 Log Message: afterboot.8: Mention mdnsd To generate a diff of this commit: cvs rdiff -u -r1.66 -r1.67 src/share/man/man8/afterboot.8 Please note that

CVS commit: src/share/man/man8

2020-08-15 Thread Nia Alarie
Module Name:src Committed By: nia Date: Sat Aug 15 13:49:09 UTC 2020 Modified Files: src/share/man/man8: afterboot.8 Log Message: afterboot.8: Mention mdnsd To generate a diff of this commit: cvs rdiff -u -r1.66 -r1.67 src/share/man/man8/afterboot.8 Please note that

CVS commit: src/share/man/man8

2020-08-15 Thread Nia Alarie
Module Name:src Committed By: nia Date: Sat Aug 15 14:42:02 UTC 2020 Modified Files: src/share/man/man8: afterboot.8 Log Message: afterboot.8: Use cdn. Don't be arch specific. Requested by leot. To generate a diff of this commit: cvs rdiff -u -r1.67 -r1.68

Re: CVS commit: src/share/man/man8

2020-08-15 Thread nia
On Sat, Aug 15, 2020 at 04:12:40PM +0200, Leonardo Taccari wrote: > Hello Nia, > > Nia Alarie writes: > > [...] > > Log Message: > > afterboot.8: Explain how to install pkgin on a fresh system > > [...] > > +.Pp > > +To install pkgin, if it was not done by the installer: > > +.Bd -literal -offset

CVS commit: src/share/man/man8

2020-08-15 Thread Nia Alarie
Module Name:src Committed By: nia Date: Sat Aug 15 14:42:02 UTC 2020 Modified Files: src/share/man/man8: afterboot.8 Log Message: afterboot.8: Use cdn. Don't be arch specific. Requested by leot. To generate a diff of this commit: cvs rdiff -u -r1.67 -r1.68

CVS commit: src/share/man/man8

2020-08-15 Thread Nia Alarie
Module Name:src Committed By: nia Date: Sat Aug 15 14:45:31 UTC 2020 Modified Files: src/share/man/man8: afterboot.8 Log Message: afterboot.8: Correct URL directory order To generate a diff of this commit: cvs rdiff -u -r1.68 -r1.69 src/share/man/man8/afterboot.8

Re: CVS commit: src/share/man/man8

2020-08-15 Thread Valery Ushakov
On Sat, Aug 15, 2020 at 16:12:40 +0200, Leonardo Taccari wrote: > > +.Ic export > > PKG_PATH=https://ftp.netbsd.org/pub/pkgsrc/packages/NetBSD/9.0/amd64/All > > +.Ic pkg_add pkgin > > [...] > > Can this use cdn.NetBSD.org and made a bit more general instead of > hardcoding version/port please?

CVS commit: src/etc/root

2020-08-15 Thread Nia Alarie
Module Name:src Committed By: nia Date: Sat Aug 15 14:47:28 UTC 2020 Modified Files: src/etc/root: dot.profile Log Message: Use sysctl -n hw.machine_arch so this works on e.g. aarch64 Ues HTTPS To generate a diff of this commit: cvs rdiff -u -r1.30 -r1.31

CVS commit: src/share/man/man8

2020-08-15 Thread Nia Alarie
Module Name:src Committed By: nia Date: Sat Aug 15 14:45:31 UTC 2020 Modified Files: src/share/man/man8: afterboot.8 Log Message: afterboot.8: Correct URL directory order To generate a diff of this commit: cvs rdiff -u -r1.68 -r1.69 src/share/man/man8/afterboot.8

CVS commit: src/etc/root

2020-08-15 Thread Nia Alarie
Module Name:src Committed By: nia Date: Sat Aug 15 14:47:28 UTC 2020 Modified Files: src/etc/root: dot.profile Log Message: Use sysctl -n hw.machine_arch so this works on e.g. aarch64 Ues HTTPS To generate a diff of this commit: cvs rdiff -u -r1.30 -r1.31

CVS commit: src/sys/arch/alpha/alpha

2020-08-15 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Sat Aug 15 16:09:07 UTC 2020 Modified Files: src/sys/arch/alpha/alpha: ipifuncs.c Log Message: Convert some #ifdef DIAGNOSTIC checks to KASSERTs. NFCI. To generate a diff of this commit: cvs rdiff -u -r1.50 -r1.51

CVS commit: src/sys/arch/alpha/alpha

2020-08-15 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Sat Aug 15 16:09:07 UTC 2020 Modified Files: src/sys/arch/alpha/alpha: ipifuncs.c Log Message: Convert some #ifdef DIAGNOSTIC checks to KASSERTs. NFCI. To generate a diff of this commit: cvs rdiff -u -r1.50 -r1.51

Re: CVS commit: src

2020-08-15 Thread Taylor R Campbell
> Date: Sat, 15 Aug 2020 10:23:02 + > From: nia > > Obviously, I disagree with core's decision, but let's try to be > productive about this. > > I'm happy to have getrandom in NetBSD, it's a good thing. But not with > this behaviour. > > 1) Adopting getrandom for compatibility does not

CVS commit: src/sys/arch/arm/ti

2020-08-15 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Aug 16 03:48:59 UTC 2020 Modified Files: src/sys/arch/arm/ti: ti_iic.c Log Message: Initialize the i2c controller before using it. Fixes mutex uninitialized panic in LOCKDEBUG. To generate a diff of this commit: cvs

CVS commit: src/sys/arch/arm/ti

2020-08-15 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Aug 16 03:48:59 UTC 2020 Modified Files: src/sys/arch/arm/ti: ti_iic.c Log Message: Initialize the i2c controller before using it. Fixes mutex uninitialized panic in LOCKDEBUG. To generate a diff of this commit: cvs

CVS commit: src/sys/dev/usb

2020-08-15 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Aug 16 02:33:17 UTC 2020 Modified Files: src/sys/dev/usb: ugen.c Log Message: Remove UGEN_ASLP microoptimization. cv_signal already has this microoptimization. While here, make the lock cover the relevant things we're

CVS commit: src/sys/dev/usb

2020-08-15 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Aug 16 02:34:20 UTC 2020 Modified Files: src/sys/dev/usb: ugen.c Log Message: Hold the lock over access to the data structures it covers. Still not MPSAFE, but progress. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/dev/usb

2020-08-15 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Aug 16 02:34:20 UTC 2020 Modified Files: src/sys/dev/usb: ugen.c Log Message: Hold the lock over access to the data structures it covers. Still not MPSAFE, but progress. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/dev/usb

2020-08-15 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Aug 16 02:34:54 UTC 2020 Modified Files: src/sys/dev/usb: ugen.c Log Message: Convert DIAGNOSTIC prints to KASSERTs. To generate a diff of this commit: cvs rdiff -u -r1.153 -r1.154 src/sys/dev/usb/ugen.c Please note

CVS commit: src/sys/dev/usb

2020-08-15 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Aug 16 02:34:54 UTC 2020 Modified Files: src/sys/dev/usb: ugen.c Log Message: Convert DIAGNOSTIC prints to KASSERTs. To generate a diff of this commit: cvs rdiff -u -r1.153 -r1.154 src/sys/dev/usb/ugen.c Please note

CVS commit: src/sys/dev/usb

2020-08-15 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Aug 16 02:33:17 UTC 2020 Modified Files: src/sys/dev/usb: ugen.c Log Message: Remove UGEN_ASLP microoptimization. cv_signal already has this microoptimization. While here, make the lock cover the relevant things we're

CVS commit: src/sys/uvm

2020-08-15 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Sun Aug 16 00:24:41 UTC 2020 Modified Files: src/sys/uvm: uvm_vnode.c Log Message: in uvm_findpage(), when uvm_page_array_fill_and_peek() returns a page that is not the one we want and we make an assertion about dirtiness, check the

CVS commit: src/sys/uvm

2020-08-15 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Sun Aug 16 00:24:41 UTC 2020 Modified Files: src/sys/uvm: uvm_vnode.c Log Message: in uvm_findpage(), when uvm_page_array_fill_and_peek() returns a page that is not the one we want and we make an assertion about dirtiness, check the

Re: CVS commit: src

2020-08-15 Thread nia
On Sat, Aug 15, 2020 at 06:49:11PM +, Taylor R Campbell wrote: > - The behaviour is incompatible only in the sense that NetBSD's idea > of `adequate entropy' is stronger than FreeBSD's or Linux's, so > blocking is _more likely_ on NetBSD than on FreeBSD or Linux. In practice, the blocking

CVS commit: src/sys/dev/usb

2020-08-15 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Aug 16 02:37:19 UTC 2020 Modified Files: src/sys/dev/usb: ugen.c Log Message: Share unit numbering for ugen and ugenif. This way putting ugenif in kernel config actually works to wire it to the /dev/ugenN.MM device nodes

CVS commit: src/sys/dev/usb

2020-08-15 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Aug 16 02:37:19 UTC 2020 Modified Files: src/sys/dev/usb: ugen.c Log Message: Share unit numbering for ugen and ugenif. This way putting ugenif in kernel config actually works to wire it to the /dev/ugenN.MM device nodes

CVS commit: src/sys/dev/usb

2020-08-15 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Aug 16 02:38:06 UTC 2020 Modified Files: src/sys/dev/usb: usbdevices.config Log Message: Expose Yubikey CCID interface to userland via ugenif. To generate a diff of this commit: cvs rdiff -u -r1.40 -r1.41

CVS commit: src/sys/dev/usb

2020-08-15 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Aug 16 02:38:06 UTC 2020 Modified Files: src/sys/dev/usb: usbdevices.config Log Message: Expose Yubikey CCID interface to userland via ugenif. To generate a diff of this commit: cvs rdiff -u -r1.40 -r1.41

re: CVS commit: src/share/man/man8

2020-08-15 Thread matthew green
> Yeah. I was hesistant to do it this way because hw.machine_arch didn't > occur to me (uname gives the wrong thing for package sets on arm, etc) "uname -p"? .mrg.