Re: start unlocking kbind(2)

2022-06-11 Thread Theo de Raadt
David Gwynne wrote: > On Wed, May 18, 2022 at 07:42:32PM -0600, Theo de Raadt wrote: > > Mark Kettenis wrote: > > > > > > Isn't the vm_map_lock enough? > > > > > > Could be. The fast path is going to take that lock anyway. This > > > would require a bit of surgery to uvm_map_extract() to mak

Re: start unlocking kbind(2)

2022-06-11 Thread David Gwynne
On Tue, May 31, 2022 at 04:48:16PM +0200, Martin Pieuchot wrote: > On 18/05/22(Wed) 15:53, Alexander Bluhm wrote: > > On Tue, May 17, 2022 at 10:44:54AM +1000, David Gwynne wrote: > > > + cookie = SCARG(uap, proc_cookie); > > > + if (pr->ps_kbind_addr == pc) { > > > + membar_datadep_consume

Re: start unlocking kbind(2)

2022-06-11 Thread David Gwynne
On Wed, May 18, 2022 at 07:42:32PM -0600, Theo de Raadt wrote: > Mark Kettenis wrote: > > > > Isn't the vm_map_lock enough? > > > > Could be. The fast path is going to take that lock anyway. This > > would require a bit of surgery to uvm_map_extract() to make sure we > > don't take the vm_map_

Apple M1 & macOS 13

2022-06-11 Thread Mark Kettenis
The macOS 13 beta release apparently comes with new RTKit-based NVMe firmware that doesn't like some of the shortcuts I've taken in the OpenBSD drivers and U-Boot. U-Boot is being fixed and here is a diff that attempts to fix OpenBSD. * For now, don't update your Apple M1 machines to macOS 13 if

Re: [PATCH] adds -t timeout to slowcgi

2022-06-11 Thread Florian Obser
On 2022-06-10 04:27 -07, Alfred Morgan wrote: >> The connection to upstream (e.g. httpd) is closed so the client gets a 500 >> error. > > Hmm, this isn't my experience. Possibly a slowcgi bug? My clients were > getting no response, e.g.: > curl: (52) Empty reply from server > >> But the script ke

Re: wg(4): 'Address already in use' when wgrtable is changed

2022-06-11 Thread YASUOKA Masahiko
Hi, On Sun, 27 Mar 2022 18:25:18 +0900 (JST) YASUOKA Masahiko wrote: > On Wed, 9 Mar 2022 15:28:44 +0900 > Yuichiro NAITO wrote: >> I see 'Address already in use' message, >> when I change wgrtable for a running wg interface. >> It doesn't make sense to me. >> >> It can be reproduced by the fol