macppc clang: fix va_arg in Objective-C

2020-11-03 Thread George Koehler
Hello tech list, clang for 32-bit powerpc has a bug that breaks va_arg(3) when the argument type is an object or block in Objective-C. This breaks GNUstep on macppc. This clang diff fixes GNUstep. Objective-C uses pointers to represent objects and blocks, so this diff tells clang's va_arg to ha

Re: Lenovo X1 gen 8 touchpad interrupt: pchgpio(4)

2020-11-03 Thread James Hastings
On 10/14/20, Mark Kettenis wrote: >> From: James Hastings >> Date: Sun, 11 Oct 2020 03:49:11 -0400 (EDT) >> >> On Thu, 08 Oct 2020 20:29:38 + Mark Kettenis wrote: >> > Diff below adds a driver for the GPIO controller found on the Intel >> > 400 Series PCH as found on (for example) the Lenovo

Re: Mellanox ConnectX-6 Driver no working

2020-11-03 Thread Chris Cappuccio
Nilson Lopes [noslin...@gmail.com] wrote: > > If we look carefully in the list of PCI codes in '/sys/dev/pci/pcidevs' > source code here > https://github.com/openbsd/src/blob/master/sys/dev/pci/pcidevs#L6323-L6335, > we see that the card I'm using is known as MELLANOX MT28908. > [image: image.png

Re: acme-client(1): replace httpd(8) location block in manpage by better match

2020-11-03 Thread Sebastian Benoit
Florian Obser(flor...@openbsd.org) on 2020.11.03 14:52:55 +0100: > On Tue, Nov 03, 2020 at 10:37:04AM +0100, Matthias Pressfreund wrote: > > > > On 2020-11-03 09:56, Florian Obser wrote: > > > On Mon, Nov 02, 2020 at 02:35:48PM +0100, Matthias Pressfreund wrote: > > >> The patch below updates the

Re: Refactor bgpd control code

2020-11-03 Thread Sebastian Benoit
Claudio Jeker(cje...@diehard.n-r-g.com) on 2020.11.03 09:09:47 +0100: > On Wed, Oct 21, 2020 at 07:16:07PM +0200, Claudio Jeker wrote: > > This refactors the control code a bit and removes the common var from the > > session.h header. The session engine no longer walks the control > > connection li

Re: cleanup bgpd commons first step

2020-11-03 Thread Sebastian Benoit
ok Claudio Jeker(cje...@diehard.n-r-g.com) on 2020.11.03 09:07:31 +0100: > On Wed, Oct 21, 2020 at 06:08:05PM +0200, Claudio Jeker wrote: > > Bgpd uses many common symbols and the latest compilers are being picky > > about these common symbols. > > This removes the global bgpd_process variable and

Re: [PATCH] tcpdump: Fix missing argument from icmp_print call in print-skip.c

2020-11-03 Thread Jeremie Courreges-Anglas
On Tue, Nov 03 2020, Theo Buehler wrote: > On Tue, Nov 03, 2020 at 04:19:34PM +0530, Neeraj Pal wrote: >> Hi all, >> >> It seems that there is a typo, 2nd argument - length is missing from >> the function call icmp_print in print-skip.c > > There is quite a bit more that is wrong with print-skip.

Re: accton(8) requires a reboot after being enabled

2020-11-03 Thread Theo de Raadt
I don't think we should do that. Alexander Bluhm wrote: > On Fri, Oct 30, 2020 at 09:59:09AM -0600, Theo de Raadt wrote: > > 1 - historically it requires a file to be pre-created. In the rc scripts, > > this is a touch. That grabs the umask and ownership of root's run of > > /etc/rc.

Re: accton(8) requires a reboot after being enabled

2020-11-03 Thread Alexander Bluhm
On Fri, Oct 30, 2020 at 09:59:09AM -0600, Theo de Raadt wrote: > 1 - historically it requires a file to be pre-created. In the rc scripts, > this is a touch. That grabs the umask and ownership of root's run of > /etc/rc. > 2 - could we do better, in some way? We could do the same as we d

Re: acme-client(1): replace httpd(8) location block in manpage by better match

2020-11-03 Thread Florian Obser
On Tue, Nov 03, 2020 at 10:37:04AM +0100, Matthias Pressfreund wrote: > > On 2020-11-03 09:56, Florian Obser wrote: > > On Mon, Nov 02, 2020 at 02:35:48PM +0100, Matthias Pressfreund wrote: > >> The patch below updates the acme-client(1) manpage by providing a > >> closer match for the httpd(8) lo

Re: [PATCH] tcpdump: Fix missing argument from icmp_print call in print-skip.c

2020-11-03 Thread Theo Buehler
On Tue, Nov 03, 2020 at 04:19:34PM +0530, Neeraj Pal wrote: > Hi all, > > It seems that there is a typo, 2nd argument - length is missing from > the function call icmp_print in print-skip.c There is quite a bit more that is wrong with print-skip.c than just that (try to add it to the Makefile and

[PATCH] tcpdump: Fix missing argument from icmp_print call in print-skip.c

2020-11-03 Thread Neeraj Pal
Hi all, It seems that there is a typo, 2nd argument - length is missing from the function call icmp_print in print-skip.c File: usr.sbin/tcpdump/print-skip.c 577void skip_print_next(u_char nxt, const u_char *p, int len, const u_char *bp2) 578{ 579switch(nxt) { 580case IPPR

Re: acme-client(1): replace httpd(8) location block in manpage by better match

2020-11-03 Thread Matthias Pressfreund
On 2020-11-03 09:56, Florian Obser wrote: > On Mon, Nov 02, 2020 at 02:35:48PM +0100, Matthias Pressfreund wrote: >> The patch below updates the acme-client(1) manpage by providing a >> closer match for the httpd(8) location block accepting acme challenge >> responses. > > How is this better? >

Re: accton(8) requires a reboot after being enabled

2020-11-03 Thread Ingo Schwarze
Hi Jason, Jason McIntyre wrote on Mon, Nov 02, 2020 at 05:29:37PM +: > - adding EXIT STATUS makes sense. i agree. So i added just the .Sh and .Ex lines. All the rest (both regarding "file" and "install") seems controversial and hardly worth have a long discussion, so i dropped all the rest.

Re: acme-client(1): replace httpd(8) location block in manpage by better match

2020-11-03 Thread Florian Obser
On Mon, Nov 02, 2020 at 02:35:48PM +0100, Matthias Pressfreund wrote: > The patch below updates the acme-client(1) manpage by providing a > closer match for the httpd(8) location block accepting acme challenge > responses. How is this better? When the requested file exits in /var/www/acme/ I get

Re: Refactor bgpd control code

2020-11-03 Thread Claudio Jeker
On Wed, Oct 21, 2020 at 07:16:07PM +0200, Claudio Jeker wrote: > This refactors the control code a bit and removes the common var from the > session.h header. The session engine no longer walks the control > connection list. Additionally cleanup the control.c code around > control_dispatch_msg(). E

Re: cleanup bgpd commons first step

2020-11-03 Thread Claudio Jeker
On Wed, Oct 21, 2020 at 06:08:05PM +0200, Claudio Jeker wrote: > Bgpd uses many common symbols and the latest compilers are being picky > about these common symbols. > This removes the global bgpd_process variable and cleans up the filter_set > code to not depend on process knowledge (instead use a