Re: ssh: zap unused family parameter from ssh_connect_direct()

2020-10-11 Thread Damien Miller
ok djm On Sun, 11 Oct 2020, Klemens Nanni wrote: > CVS log shows that the following commit removed usage of it: > > sshconnect.c > revision 1.241 > date: 2013/10/16 02:31:46; author: djm; state: Exp; lines: +29 -45; > Implement client-side hostname canonicalisation to

Re: Unbound 1.12.0

2020-10-11 Thread Renaud Allard
On 10/10/2020 22:05, Stuart Henderson wrote: Here's an update to the recently released version of Unbound. Much of the additional code is for DoH and is unused here as it requires the nghttp2 library. nghttp2 seems to be MIT licensed. Could it be possible to import it in base? smime.p7s

Re: WANTLIB problems and possible solution: the libset design

2020-10-11 Thread Landry Breuil
On Sun, Oct 11, 2020 at 05:03:31PM +0200, Marc Espie wrote: > On Sun, Oct 11, 2020 at 04:53:18PM +0200, Christian Weisgerber wrote: > > Marc Espie: > > > > > The new design: > > > > > > The idea behind "libset" is to be able to specify a "set" of wantlib that > > > corresponds to our package,

Re: libexec/security: don't prune mount points

2020-10-11 Thread Ingo Schwarze
Hi Todd, Todd C. Miller wrote on Wed, Oct 07, 2020 at 09:36:33AM -0600: > The recent changes to the daily security script will result in it > not traversing file systems where the parent mount point is mounted > with options nodev,nosuid but the child is mounted with setuid > enabled. > > For

Re: xhci zero length transfers 'leak' one transfer buffer count

2020-10-11 Thread Jonathon Fletcher
On Sun, Oct 11, 2020 at 12:14:22PM +0200, Patrick Wildt wrote: > On Sun, Oct 11, 2020 at 08:12:29AM +0200, Martin Pieuchot wrote: > > On 09/10/20(Fri) 12:37, Jonathon Fletcher wrote: > > > In xhci_xfer_get_trb, the count of transfer buffers in the pipe > > > (xp->free_trbs) is always decremented

Re: Non-const basename: usr.bin/sed

2020-10-11 Thread Christian Weisgerber
Martijn van Duren: > Wouldn't the following diff be a little simpler? Yes, it would. Should dirbuf be static like oldfname and tmpfname? Index: main.c === RCS file: /cvs/src/usr.bin/sed/main.c,v retrieving revision 1.40 diff -u

Re: WANTLIB problems and possible solution: the libset design

2020-10-11 Thread Marc Espie
On Sun, Oct 11, 2020 at 04:53:18PM +0200, Christian Weisgerber wrote: > Marc Espie: > > > The new design: > > > > The idea behind "libset" is to be able to specify a "set" of wantlib that > > corresponds to our package, AND to just write WANTLIB wrt that libset for > > that specific set of

Re: WANTLIB problems and possible solution: the libset design

2020-10-11 Thread Christian Weisgerber
Marc Espie: > The new design: > > The idea behind "libset" is to be able to specify a "set" of wantlib that > corresponds to our package, AND to just write WANTLIB wrt that libset for > that specific set of libraries. I'm struggling to understand whether this libset records the libraries a port

ssh: zap unused family parameter from ssh_connect_direct()

2020-10-11 Thread Klemens Nanni
CVS log shows that the following commit removed usage of it: sshconnect.c revision 1.241 date: 2013/10/16 02:31:46; author: djm; state: Exp; lines: +29 -45; Implement client-side hostname canonicalisation to allow an explicit search path of domain

[PATCH] Add USB Product ID for Logitech Webcam Pro 9000

2020-10-11 Thread Raf Czlonka
Hi all, I just dug a Logitech Webcam Pro 9000 (for Business) out. After a quick test, it seems to be working just fine but the Product ID isn't pretty-printed: $ usbdevs | grep 0x0809 addr 08: 046d:0809 Logitech, product 0x0809 lsusb confirms the Product ID: $

Re: xhci zero length transfers 'leak' one transfer buffer count

2020-10-11 Thread Patrick Wildt
On Sun, Oct 11, 2020 at 08:12:29AM +0200, Martin Pieuchot wrote: > On 09/10/20(Fri) 12:37, Jonathon Fletcher wrote: > > In xhci_xfer_get_trb, the count of transfer buffers in the pipe > > (xp->free_trbs) is always decremented but the count of transfer buffers > > used in the transfer (xx->ntrb)

Re: httpd(8): fix location duplicate detection

2020-10-11 Thread mpfr
Ping. Updated diff below. --- Index: usr.sbin/httpd/parse.y === RCS file: /cvs/src/usr.sbin/httpd/parse.y,v retrieving revision 1.118 diff -u -p -u -p -r1.118 parse.y

pms: ignore invalid elantech-v1 packets

2020-10-11 Thread Ulf Brosziewski
This patch addresses a bug in certain Elantech-V1 touchpads, which report invalid position data at the start of single-finger touches. The patch is derived from this proposal https://marc.info/?l=openbsd-tech=159957752322249=2 This version also removes two bits of obsolete code. wsmouse

Re: amap: KASSERT()s and local variables

2020-10-11 Thread Sebastien Marie
On Wed, Oct 07, 2020 at 04:49:28PM +0200, Martin Pieuchot wrote: > On 01/10/20(Thu) 14:18, Martin Pieuchot wrote: > > Use more KASSERT()s instead of the "if (x) panic()" idiom for sanity > > checks and add a couple of local variables to reduce the difference > > with NetBSD and help for upcoming

Re: xhci zero length transfers 'leak' one transfer buffer count

2020-10-11 Thread Martin Pieuchot
On 09/10/20(Fri) 12:37, Jonathon Fletcher wrote: > In xhci_xfer_get_trb, the count of transfer buffers in the pipe > (xp->free_trbs) is always decremented but the count of transfer buffers used > in the transfer (xx->ntrb) is not incremented for zero-length transfers. The > result of this is