Re: sync libfido2 with upstream

2020-08-20 Thread Theo Buehler
On Fri, Aug 21, 2020 at 11:42:53AM +1000, Damien Miller wrote: > On Mon, 17 Aug 2020, Damien Miller wrote: > > > On Mon, 10 Aug 2020, Damien Miller wrote: > > > > > Hi, > > > > > > This syncs libfido2 with the current state of upstream. It includes > > > a few new APIs that I want to use in

Re: sync libfido2 with upstream

2020-08-20 Thread Damien Miller
On Mon, 17 Aug 2020, Damien Miller wrote: > On Mon, 10 Aug 2020, Damien Miller wrote: > > > Hi, > > > > This syncs libfido2 with the current state of upstream. It includes > > a few new APIs that I want to use in OpenSSH to improve FIDO token > > support (require-PIN and fixing some corner-case

ubcmtp* at uhidev? ?

2020-08-20 Thread Marcus Glocker
Is ubcmtp(4) really attaching to uhidev(4)? I only can see it attaching to uhub(4). Do I miss something? Index: sys/dev/usb/ubcmtp.c === RCS file: /cvs/src/sys/dev/usb/ubcmtp.c,v retrieving revision 1.21 diff -u -p -u -p -r1.21

make(1): anchors in :S/old_string/new_string/

2020-08-20 Thread Theo Buehler
gnezdo noticed that :S/old_string/new_string/ modifiers such as :S/^sth/&/ and :S/sth$/&/ with an anchor in the old_string and an & in the new_string don't work as documented (and expected) since they replace & with old_string including the anchors. This is because get_spatternarg() deals with

Re: pppoe: add sizes to free() calls

2020-08-20 Thread Vitaliy Makkoveev
ok mvs@ > On 20 Aug 2020, at 17:12, Klemens Nanni wrote: > > On Thu, Aug 20, 2020 at 03:33:17PM +0200, Klemens Nanni wrote: >> These are straight forward as we either maintain a size variable all the >> way or can reuse strlen() for free() just like it's done during malloc(). >> >> One

Re: Log mutex for msgbuf concurrency control

2020-08-20 Thread Visa Hankala
On Tue, Aug 18, 2020 at 03:06:58PM +, Visa Hankala wrote: > This diff introduces a mutex that serializes access to the kernel > message buffers. At the moment, the buffers do not have clear > concurrency control. > > The mutex controls access to all the modifiable fields of struct msgbuf. >

Re: pppoe: add sizes to free() calls

2020-08-20 Thread Vitaliy Makkoveev
> On 20 Aug 2020, at 16:33, Klemens Nanni wrote: > > These are straight forward as we either maintain a size variable all the > way or can reuse strlen() for free() just like it's done during malloc(). > > One exception is freeing the softc structure, which is fixed in size; > `ifconfig pppoe1

Re: pppoe: add sizes to free() calls

2020-08-20 Thread Klemens Nanni
On Thu, Aug 20, 2020 at 03:33:17PM +0200, Klemens Nanni wrote: > These are straight forward as we either maintain a size variable all the > way or can reuse strlen() for free() just like it's done during malloc(). > > One exception is freeing the softc structure, which is fixed in size; >

pppoe: add sizes to free() calls

2020-08-20 Thread Klemens Nanni
These are straight forward as we either maintain a size variable all the way or can reuse strlen() for free() just like it's done during malloc(). One exception is freeing the softc structure, which is fixed in size; `ifconfig pppoe1 create; ifconfig pppoe1 destroy' exercises this code path and

Re: release.8 - .fs -> .img

2020-08-20 Thread Theo Buehler
On Wed, Aug 19, 2020 at 11:42:39PM -0700, na...@airpost.net wrote: > Update the name of the install image. Fixed, thanks. > > Index: release.8 > === > RCS file: /cvs/src/share/man/man8/release.8,v > retrieving revision 1.95 > diff

release.8 - .fs -> .img

2020-08-20 Thread navan
Update the name of the install image. Index: release.8 === RCS file: /cvs/src/share/man/man8/release.8,v retrieving revision 1.95 diff -u -p -r1.95 release.8 --- release.8 29 Apr 2020 15:02:51 - 1.95 +++ release.8 20 Aug