Re: Fix ipsp_spd_lookup() for transport mode

2021-11-29 Thread YASUOKA Masahiko
Hi, Let me update the diff. Previous has a problem in ipsp_spd_lookup() which uses "rn" without initialization. On Sat, 20 Nov 2021 21:44:20 +0900 (JST) YASUOKA Masahiko wrote: > On Wed, 12 May 2021 19:11:09 +0900 (JST) > YASUOKA Masahiko wrote: >> Radek reported a problem to misc@ that multip

riscv64: enable FIDO/U2F devices (Yubikeys)

2021-11-29 Thread Ashton Fagg
Hello, The following diff enables FIDO/U2F keys on riscv64. I've tested this with a Yubikey 5 Nano and was able to successfully generate an ed25519-sk key pair with ssh-keygen (which is my usecase): icarus$ uname -a OpenBSD icarus.fagg.id.au 7.0 GENERIC.MP#1 riscv64 icarus$ ssh-keygen -t ed25519

ipsp_spd_inp parameter

2021-11-29 Thread Alexander Bluhm
Hi, Remove unused parameter from ipsp_spd_inp(). ok? bluhm Index: netinet/ip_ipsp.h === RCS file: /data/mirror/openbsd/cvs/src/sys/netinet/ip_ipsp.h,v retrieving revision 1.223 diff -u -p -r1.223 ip_ipsp.h --- netinet/ip_ipsp.h 2

Re: Please test: UVM fault unlocking (aka vmobjlock)

2021-11-29 Thread Martin Pieuchot
On 24/11/21(Wed) 11:16, Martin Pieuchot wrote: > Diff below unlock the bottom part of the UVM fault handler. I'm > interested in squashing the remaining bugs. Please test with your usual > setup & report back. Thanks to all the testers, here's a new version that includes a bug fix. Tests on !x8

Re: iwm/iwx: try to make roaming more reliable

2021-11-29 Thread Stuart Henderson
On 2021/11/27 12:44, Stefan Sperling wrote: > The current implementation suffers from race conditions which can > leave the interface in a state where it gets "stuck". I have seen > this happen on iwm(4) 9560 in particular, while testing the driver > with new firmware images recently published by I

Prevent unintended blocking of select(2)

2021-11-29 Thread Visa Hankala
Prevent select(2) from blocking if a pending event is found during knote registering. OK? Index: kern/sys_generic.c === RCS file: src/sys/kern/sys_generic.c,v retrieving revision 1.143 diff -u -p -r1.143 sys_generic.c --- kern/sys_ge

Re: vmm(4): swap in log(9) for printf(9) [vmx 3/3]

2021-11-29 Thread Theo de Raadt
Dave Voutila wrote: > Is mispeaking? This is what I experienced: > > panic: acquiring blockable sleep lock with spinlock or critical section > held (kernel_lock) &kernel_lock > > Full backtraces of two occurrences: https://imgur.com/a/vKIe3k7 It looks like this began with sys_generic.c 1.1

Re: vmm(4): swap in log(9) for printf(9) [vmx 3/3]

2021-11-29 Thread Dave Voutila
Mark Kettenis writes: >> From: Dave Voutila >> Date: Mon, 29 Nov 2021 07:18:23 -0500 >> >> Mark Kettenis writes: >> >> >> From: Dave Voutila >> >> Date: Sun, 28 Nov 2021 22:51:59 -0500 >> >> >> >> The last vmm diff I'll be sending tonight...promise! This swaps out >> >> usage of printf(9) ou

Re: Unlock accept(2) and accept4(2) syscalls

2021-11-29 Thread Alexander Bluhm
On Mon, Nov 22, 2021 at 03:13:44PM +0300, Vitaliy Makkoveev wrote: > Since the rev1.267 of kern/uipc_socket solock() is used as klist lock > for sockets to make socket event filters MP-safe. This means KNOTE(9) > within doaccept() doesn't require kernel lock to be held and the > accept(2) and accep

Re: vmm(4): swap in log(9) for printf(9) [vmx 3/3]

2021-11-29 Thread Mark Kettenis
> From: Dave Voutila > Date: Mon, 29 Nov 2021 07:18:23 -0500 > > Mark Kettenis writes: > > >> From: Dave Voutila > >> Date: Sun, 28 Nov 2021 22:51:59 -0500 > >> > >> The last vmm diff I'll be sending tonight...promise! This swaps out > >> usage of printf(9) outside the autoconf(4) functions. >

bgpctl(8): Print MPLS label info in show rib detail output

2021-11-29 Thread Mitchell Krome
Hi, I noticed bgpctl didn't seem to have a way to show the MPLS label attached to MPLS L3VPN routes. The label was already there in the prefix info it just wasn't printed, so this diff adds printing the label info if the prefix has one in the show rib detail command. Example output below. I was

Re: vmm(4): swap in log(9) for printf(9) [vmx 3/3]

2021-11-29 Thread Dave Voutila
Mark Kettenis writes: >> From: Dave Voutila >> Date: Sun, 28 Nov 2021 22:51:59 -0500 >> >> The last vmm diff I'll be sending tonight...promise! This swaps out >> usage of printf(9) outside the autoconf(4) functions. >> >> The reason for this change is printf(9) could acquire a sleepable >> loc

Re: ifconfig description for wireguard peers

2021-11-29 Thread Stefan Sperling
On Wed, Oct 20, 2021 at 10:20:09PM -0400, Noah Meier wrote: > Hi, > > While wireguard interfaces can have a description set by ifconfig, wireguard > peers currently cannot. I now have a lot of peers and descriptions of them in > ifconfig would be helpful. > > This diff adds a 'wgdesc' option to

w(1): always print "up" before uptime

2021-11-29 Thread Kimmo Suominen
Hi, The following patch will make w(1) always print the word "up" before the uptime. Currently "up" is not printed if uptime is less than a minute. I ran into this with a script that parses the output from w(1), and it got confused by "10:08AM 45 secs" as it was looking for the word "up" to ancho