Re: [patch] cwm: filter duplicate hostnames in ssh menu

2019-05-05 Thread Bruno Flückiger
On 01.05., Marcus MERIGHI wrote: > Hello, > > o...@demirmen.com (Okan Demirmen), 2019.04.29 (Mon) 16:19 (CEST): > > On Fri 2019.04.26 at 07:15 +0200, Bruno Fl?ckiger wrote: > > > Hi, > > > > > > The ssh menu of cwm(1) doesn't filter duplicated hostnames when reading > > > them from ~/.ssh/known_hos

Re: trailing whitespace policy

2019-05-05 Thread Mike Larkin
On Sun, Apr 14, 2019 at 11:55:01AM +0900, Jerome Pinot wrote: > Hi, > > I saw a recent commit in armv7 which fixed some KNF but added some > trailing white spaces. > I already saw some commit that removed trailing white spaces and thought > about sending a patch (actually joined here). > I usually

Re: perldoc: fix man output & formatting

2019-05-05 Thread Ingo Schwarze
Hi Andrew, Andrew Fresh wrote on Sun, May 05, 2019 at 02:44:58PM -0700: > On Sun, May 05, 2019 at 04:53:05PM +0200, Ingo Schwarze wrote: >> The first chunk in the patch below seems to be all that is needed. >> IIRC, we already do a similar thing in pod2man(1). > This is true, we do similar in po

Re: perldoc: fix man output & formatting

2019-05-05 Thread Andrew Hewus Fresh
On Sun, May 05, 2019 at 04:53:05PM +0200, Ingo Schwarze wrote: > Hi Andrew, > > Andrew Fresh wrote on Fri, May 03, 2019 at 06:24:16PM -0700: > > > I committed this after moving the waitpid down a few lines, after the > > last read from the filehandle. > > Oops. Sorry for missing that, and thank

Re: More randomness for efiboot on amd64

2019-05-05 Thread Mike Larkin
On Sat, May 04, 2019 at 03:03:50PM -0600, Theo de Raadt wrote: > Nice. > > Mike -- does this collide with your current work, or does it > not impact it? > This won't collide. Thanks for checking though. -ml > Mark Kettenis wrote: > > > The UEFI standard defines an (optional) protocol for get

Re: Small puc(4) fix

2019-05-05 Thread Mike Larkin
On Sun, May 05, 2019 at 12:57:47PM +0200, Mark Kettenis wrote: > I noticed that Intel AMT Serial-over-LAN prints the following: > > puc0 at pci0 dev 22 function 3 "Intel 9 Series KT" rev 0x03: ports: 16 com > > Now there certainly is only 1 com port on the device instead of 16 and > this is cause

Re: The default value of kern.bufcachepercent is 20, not 80.

2019-05-05 Thread Theo de Raadt
I'm going to fix this permanently. > The kern.bufcachepercent entry in sysctl(2) still claims the default > value is 80, even though it was changed to 20 recently. > > > Index: ./lib/libc/sys/sysctl.2 > === > RCS file: /cvs/src/lib/

The default value of kern.bufcachepercent is 20, not 80.

2019-05-05 Thread Jesper Wallin
Hi all, The kern.bufcachepercent entry in sysctl(2) still claims the default value is 80, even though it was changed to 20 recently. Index: ./lib/libc/sys/sysctl.2 === RCS file: /cvs/src/lib/libc/sys/sysctl.2,v retrieving revision 1

Re: ld.so speedup (part 2)

2019-05-05 Thread Nathanael Rensen
On Sun, 5 May 2019 at 06:26, Martin Pieuchot wrote: > > On 27/04/19(Sat) 21:55, Nathanael Rensen wrote: > > The diff below speeds up ld.so library intialisation where the dependency > > tree is broad and deep, such as samba's smbd which links over 100 libraries. > > > > See for example https://mar

Re: ld.so speedup (part 1)

2019-05-05 Thread Nathanael Rensen
On Sun, 5 May 2019 at 06:41, Martin Pieuchot wrote: > > On 27/04/19(Sat) 21:45, Nathanael Rensen wrote: > > The diff below speeds up ld.so library loading where the dependency tree > > is broad and deep, such as samba's smbd which links over 100 libraries. > > > > See for example https://marc.info

pledge(1), revisited

2019-05-05 Thread Andy Seniuk
f farther below. ;) @@1 pledge(1) synopsis: https://fremissant.net/pledge/20190505-01/pledge-synopsis.png usage: (common options [-123cdhks] are also accepted by most invocations) pledge [-At] [[-p] promises] [-e execproms] [-v path permiss] command unveil [-At] path permiss [-p promises] [-e execprom

Re: perldoc: fix man output & formatting

2019-05-05 Thread Ingo Schwarze
Hi Andrew, Andrew Fresh wrote on Fri, May 03, 2019 at 06:24:16PM -0700: > I committed this after moving the waitpid down a few lines, after the > last read from the filehandle. Oops. Sorry for missing that, and thanks for committing it, and for catching that additional issue. > I will say that

httpd rewrite support and REQUEST_URI - repost

2019-05-05 Thread Mischa
Hi All, With the XFF patch being committed, thank you very much Theo! Can someone have a look at the patch send last year? https://marc.info/?l=openbsd-tech&m=153303654230606 It's a patch by Tim Baumgard which sets the correct REQUEST_URI CGI variable. His git repo is at https://github.com/tbaum

Re: [patch] cwm: filter duplicate hostnames in ssh menu

2019-05-05 Thread Matthias Schmidt
Hi, * Marcus MERIGHI wrote: > > FWIW, i use "M-period" a lot... are there easy alternatives? While I really like the ssh-menu feature it does not work reliable for me here. For some servers I can establish a SSH connection, for others a xterm launches that immediately closes again. To be hones

Small puc(4) fix

2019-05-05 Thread Mark Kettenis
I noticed that Intel AMT Serial-over-LAN prints the following: puc0 at pci0 dev 22 function 3 "Intel 9 Series KT" rev 0x03: ports: 16 com Now there certainly is only 1 com port on the device instead of 16 and this is caused by a buglet in the code where it inadvertedly considers "empty" entries i