Re: remove needless #ifdef

2020-02-14 Thread YASUOKA Masahiko
committed. Thanks On Fri, 14 Feb 2020 08:48:06 +0100 Claudio Jeker wrote: > On Thu, Feb 13, 2020 at 11:50:46PM +0100, Jan Stary wrote: >> On Feb 10 09:28:38, yasu...@openbsd.org wrote: >> > Hi, >> > >> > On Sun, 09 Feb 2020 19:28:50 +0100 >> > Jeremie Courreges-Anglas wrote: >> > > On Sun,

diff: httpd, handling no content-lenght and not chunked trasfer

2020-02-14 Thread YASUOKA Masahiko
Hi, When httpd received the following request, POST /cgi-bin/test.cgi HTTP/1.0 Host: 127.0.0.1 Content-Type: application/json Content-Length: 0 if the request is handled by fastcgi, STDIN is closed immediately. But the problem is that STDIN is never closed if the request doesn't have

diff: nvme.c

2020-02-14 Thread YASUOKA Masahiko
Hi, I have a problem that kernel core dumping always hangs around first 8MB. The diff attached fixes the problem. In nvme_poll(): 930 while (!ISSET(state.c.flags, htole16(NVME_CQE_PHASE))) { 931 if (nvme_q_complete(sc, q) == 0) 932 delay(10);

Re: apmd: fix autoaction timeout

2020-02-14 Thread Jeremie Courreges-Anglas
On Fri, Feb 14 2020, Scott Cheloha wrote: > On Thu, Feb 13, 2020 at 02:08:32PM +0100, Jeremie Courreges-Anglas wrote: >> On Wed, Feb 12 2020, Scott Cheloha wrote: >> > On Wed, Feb 12, 2020 at 01:35:22PM +0100, Jeremie Courreges-Anglas wrote: >> >> On Wed, Feb 12 2020, Jeremie Courreges-Anglas

iked.conf.5: Add BUGS section

2020-02-14 Thread Klemens Nanni
I'm experiencing some issues with iked(8) and the first one took me much longer than appreciated: order of commands matters. This works: ikev2 passive esp \ inet6 \ proto gre \ from A to B \ local any peer any But

Re: dd(1) wording and style

2020-02-14 Thread Jason McIntyre
On Fri, Feb 14, 2020 at 05:37:27PM +0100, Ingo Schwarze wrote: > Hi, > > Jason McIntyre wrote on Fri, Feb 14, 2020 at 07:28:59AM +: > > On Thu, Feb 13, 2020 at 11:25:07PM +0100, Jan Stary wrote: > > >> -.It Cm seek= Ns Ar n > >> +.It Cm seek Ns = Ns Ar n > >> Seek > >> .Ar n > >> blocks

proc.h & time to re-build kernel

2020-02-14 Thread Martin Pieuchot
During n2k20 we asked ourself why touching a header makes us rebuild a lot of the kernel again. New year or new cycle maybe, that's time for a new round of cleanup ;o) Today I figured out why when I touch I have to rebuild too much. I came up with two cleanups, diff below is the first one.

Re: extern already declared

2020-02-14 Thread Ingo Schwarze
Hi, Todd C. Miller wrote on Sun, Feb 09, 2020 at 09:49:35AM -0700: > On Sun, 09 Feb 2020 17:46:51 +0100, Jan Stary wrote: >> Whenever unistd.h declares getopt(3), it also declares >> the extern optind and optarg, so files including unistd.h >> don't need to declare those themselves, right? >

em(4) towards multiqueues

2020-02-14 Thread Martin Pieuchot
This diff introduces the concept of "queue" in the em(4) driver. The logic present in ix(4) has been matched for coherency. Currently the driver uses a single queue and the diff below doesn't change anything in that regard. It can be viewed as the introduction of an abstraction. I'd like to

Re: macppc base-clang -msvr4-struct-return

2020-02-14 Thread Todd Mortimer
On Wed, Feb 12, 2020 at 04:05:38PM -0500, George Koehler wrote: > This is the everything diff: it includes the clang diff that I sent to > tech@, plus the major version bumps for libLLVM libc++ libc++abi. > > - distrib/sets/lists: put the new versions in the base sets. > - gnu/llvm/tools/clang:

Re: dd(1) wording and style

2020-02-14 Thread Ingo Schwarze
Hi, Jason McIntyre wrote on Fri, Feb 14, 2020 at 07:28:59AM +: > On Thu, Feb 13, 2020 at 11:25:07PM +0100, Jan Stary wrote: >> -.It Cm seek= Ns Ar n >> +.It Cm seek Ns = Ns Ar n >> Seek >> .Ar n >> blocks from the beginning of the output before copying. >> -On non-tape devices, an >> -.Xr

Re: dd(1) wording and style

2020-02-14 Thread Ingo Schwarze
Hi, Jason McIntyre wrote on Fri, Feb 14, 2020 at 07:28:59AM +: > On Thu, Feb 13, 2020 at 11:25:07PM +0100, Jan Stary wrote: >> * Fix a factual error in the description of bs: it does not >> supersede ibs/obs, dd will error out when both are specified. > i don;t want to comment on this

Re: apmd: fix autoaction timeout

2020-02-14 Thread Scott Cheloha
On Thu, Feb 13, 2020 at 02:08:32PM +0100, Jeremie Courreges-Anglas wrote: > On Wed, Feb 12 2020, Scott Cheloha wrote: > > On Wed, Feb 12, 2020 at 01:35:22PM +0100, Jeremie Courreges-Anglas wrote: > >> On Wed, Feb 12 2020, Jeremie Courreges-Anglas wrote: > >> > On Sat, Jan 25 2020, Jeremie

Re: [PATCH] [www] books.html - remove superfluous angle bracket

2020-02-14 Thread Ingo Schwarze
Hi Raf, Raf Czlonka wrote on Fri, Feb 14, 2020 at 02:55:20PM +: > On Mon, Nov 25, 2019 at 11:16:09AM GMT, Raf Czlonka wrote: >> Index: books.html >> === >> RCS file: /cvs/www/books.html,v >> retrieving revision 1.117 >> diff -u

Re: snmpd(8) reduce generic errors

2020-02-14 Thread Gerhard Roth
On 2/14/20 3:42 PM, Martijn van Duren wrote: Apparently not many people check the error count in their snmp stats. This appears to been here since day 1. OK? martijn@ Index: snmpe.c === RCS file: /cvs/src/usr.sbin/snmpd/snmpe.c,v

Re: [PATCH] [www] books.html - remove superfluous angle bracket

2020-02-14 Thread Raf Czlonka
Ping. On Mon, Nov 25, 2019 at 11:16:09AM GMT, Raf Czlonka wrote: > Regards, > > Raf > > Index: books.html > === > RCS file: /cvs/www/books.html,v > retrieving revision 1.117 > diff -u -p -r1.117 books.html > --- books.html1

snmpd(8) reduce generic errors

2020-02-14 Thread Martijn van Duren
Apparently not many people check the error count in their snmp stats. This appears to been here since day 1. OK? martijn@ Index: snmpe.c === RCS file: /cvs/src/usr.sbin/snmpd/snmpe.c,v retrieving revision 1.60 diff -u -p -r1.60

Re: [PATCH] [www] faq/current.html - be consistent with naming of the 'id' attribute

2020-02-14 Thread Ingo Schwarze
Hi Raf, Raf Czlonka wrote on Fri, Feb 14, 2020 at 01:53:03PM +: > Small inconsistency. > Personally, I prefer id *without* the 'r' but the below is "the odd > one out" so... Oops, sorry. Fixed, thanks for noticing. Ingo > Index: faq/current.html >

[PATCH] [www] faq/current.html - be consistent with naming of the 'id' attribute

2020-02-14 Thread Raf Czlonka
Hi all, Small inconsistency. Personally, I prefer id *without* the 'r' but the below is "the odd one out" so... Regards, Raf Index: faq/current.html === RCS file: /cvs/www/faq/current.html,v retrieving revision 1.1029 diff -u -p

Re: minor bgpd cleanup

2020-02-14 Thread Sebastian Benoit
ok Claudio Jeker(cje...@diehard.n-r-g.com) on 2020.02.14 14:06:37 +0100: > Move and rename copy_filterset to rde_filter.c as filterset_copy. > This way it matches the other filterset_* functions. > > OK? > -- > :wq Claudio > > Index: bgpd.h >

minor bgpd cleanup

2020-02-14 Thread Claudio Jeker
Move and rename copy_filterset to rde_filter.c as filterset_copy. This way it matches the other filterset_* functions. OK? -- :wq Claudio Index: bgpd.h === RCS file: /cvs/src/usr.sbin/bgpd/bgpd.h,v retrieving revision 1.400 diff -u