diff: fix panic in pf_state_export()

2022-09-20 Thread YASUOKA Masahiko
Hello, My colleague hit the following kernel panic when he is doing "psctl -ss" repeatedly by a script during a performance test. uvm_fault(0xfd811b869110, 0x10, 0, 1) -> e kernel: page fault trap, code=0 Stopped at pf_state_export+0x42: movq0x10(%rax),%rcx TIDPID

Re: Gmux Driver for MacBook Retina Display

2022-09-20 Thread Leonardo Moreno Urbieta
Hi, I'm just resending this email to see if this diff has any chance of being committed. This is my first time sending a diff, if I'm missing some correction or comment, please let me know. Thanks! El vie, 9 sept 2022 a las 11:43, leomoreno (< leonardo.moreno.urbi...@gmail.com>) escribió: >

Re: Improve tradcpp.1

2022-09-20 Thread Jonathan Gray
there are plans to remove tradcpp from base mdoc changes would be better sent upstream On Tue, Sep 20, 2022 at 08:18:16PM -0400, Josiah Frentsos wrote: > Index: main.c > === > RCS file: /cvs/src/libexec/tradcpp/main.c,v > retrieving

Improve tradcpp.1

2022-09-20 Thread Josiah Frentsos
Index: main.c === RCS file: /cvs/src/libexec/tradcpp/main.c,v retrieving revision 1.5 diff -u -p -r1.5 main.c --- main.c 23 Aug 2019 04:38:55 - 1.5 +++ main.c 21 Sep 2022 00:13:37 - @@ -963,7 +963,8 @@

Re: install.sub: reuse variable, simpler printing

2022-09-20 Thread Klemens Nanni
On Tue, Sep 20, 2022 at 03:38:50PM +, Klemens Nanni wrote: > While here, fold a long loop into a single printf for readability: Please disregard the printf bits.

Re: httpd: fix default request body size

2022-09-20 Thread Claudio Jeker
On Fri, Sep 02, 2022 at 10:23:30AM +0200, YASUOKA Masahiko wrote: > Hello, > > For HTTP request body, if neither "Content-Encoding: chunked" nor > "Content-Length" is specified, it should mean body length is 0. > > In RFC 9112 Section 6.3, 7.: > | 7. If this is a request message and none of

install.sub: reuse variable, simpler printing

2022-09-20 Thread Klemens Nanni
show_cols() (a cheap column(1) version) has its own local _cdir=/tmp/i/cdir so replace one hardcoded occurence with the variable. While here, fold a long loop into a single printf for readability: $ ALLSETS='bsd bsd.rd base72.tgz ...' $ for _n in $ALLSETS; do echo $_n;

install.sub: simpler ftplist[0-9].o.o removal

2022-09-20 Thread Klemens Nanni
We read /tmp/i/hosts line-wise to fill /mnt/etc/hosts and remove the tmp file immediately afterwards, so just skip ftplist entries inside the loop with a slightly easier to read ksh pattern rather than purge the tmp file up-front with sed(1). This is also a tiny bit more robust should the ftplist

Re: sysupgrade - Reading from socket: Undefined error: 0

2022-09-20 Thread Todd C . Miller
On Tue, 20 Sep 2022 08:50:10 +0200, Florian Obser wrote: > Is this somehow coming from the non-blocking connect diff? I can't spot > it though... I don't think so, the ktrace shows that read(2) is returning 0 long after connect. If the socket was left in non-blocking mode I could see that

Re: cp.1: zap redundant info

2022-09-20 Thread Crystal Kolipe
On Tue, Sep 20, 2022 at 02:34:08PM +0100, Jason McIntyre wrote: > On Tue, Sep 20, 2022 at 08:37:27AM -0300, Crystal Kolipe wrote: > > On Tue, Sep 20, 2022 at 10:54:10AM +, Klemens Nanni wrote: > > > Reads like pointing out the obvious and the next sentence also explains > > > how -H and -L

Re: cp.1: zap redundant info

2022-09-20 Thread Klemens Nanni
Thanks Crystal and Jason, the existing wording makes more sense to me and I'd leave it as is.

Re: cp.1: zap redundant info

2022-09-20 Thread Jason McIntyre
On Tue, Sep 20, 2022 at 08:37:27AM -0300, Crystal Kolipe wrote: > On Tue, Sep 20, 2022 at 10:54:10AM +, Klemens Nanni wrote: > > Does this negation of the main sentence add anything I don't get? > > Yes. The wording you are proposing to remove makes it clear that > setting -R sets the

Re: sysupgrade - Reading from socket: Undefined error: 0

2022-09-20 Thread Theo de Raadt
Florian Obser wrote: > On 2022-09-19 22:27 +02, Hrvoje Popovski wrote: > > Hi all, > > > > when doing sysupgrade few minutes ago on multiple machines i'm getting > > error in subject > > > > smc24# sysupgrade -s > > Fetching from https://cdn.openbsd.org/pub/OpenBSD/snapshots/amd64/ > >

install.sub: aovid escaping inside here documents

2022-09-20 Thread Klemens Nanni
The delimiter can be quoted (single or double) to disable parameter, command and arithmetic expansion inside the here document: $ cat <<__EOT echo $(echo foo) __EOT echo foo $ cat <<'__EOT' echo $(echo foo) __EOT echo $(echo foo)

Re: cp.1: zap redundant info

2022-09-20 Thread Crystal Kolipe
On Tue, Sep 20, 2022 at 10:54:10AM +, Klemens Nanni wrote: > Does this negation of the main sentence add anything I don't get? Yes. The wording you are proposing to remove makes it clear that setting -R sets the 'default' behaviour, (which can be overridden by other flags), rather than

install.sub: sh is not make, use newlines

2022-09-20 Thread Klemens Nanni
sh(1) happily accepts newlines inside double quotes just like in the script itself: $ sh -c "echo foo > echo bar" foo bar So no need to squash things into a single line as is required in make(1) files. OK? (for after release) Index: install.sub

cp.1: zap redundant info

2022-09-20 Thread Klemens Nanni
Does this negation of the main sentence add anything I don't get? Reads like pointing out the obvious and the next sentence also explains how -H and -L behave due to -R, just like -H and -L descriptions themselves. Index: cp.1 ===

bgpd speedup add-path send all

2022-09-20 Thread Claudio Jeker
This is the first step to speed up add-path send. In the add-path all case the situation is rather simple and the current way the update is done is overly complex. Right now up_generate_addpath() re-evaluates all prefixes for every update. It first marks all Adj-RIB-Out entires stale, does a full

Re: ps: fix incorrect trimming

2022-09-20 Thread Klemens Nanni
On Tue, Sep 20, 2022 at 07:26:06AM +, Job Snijders wrote: > Christian Weisgerber reported the new 'f' feature in ps(1) does not > apply line length trimming correctly. > > The problem can be observed when comparing '$ COLUMNS=79 ps l' and > '$ COLUMNS=79 ps lf' > > OK? OK kn

Re: sysupgrade - Reading from socket: Undefined error: 0

2022-09-20 Thread Hrvoje Popovski
On 20.9.2022. 8:50, Florian Obser wrote: > On 2022-09-19 22:27 +02, Hrvoje Popovski wrote: >> Hi all, >> >> when doing sysupgrade few minutes ago on multiple machines i'm getting >> error in subject >> >> smc24# sysupgrade -s >> Fetching from https://cdn.openbsd.org/pub/OpenBSD/snapshots/amd64/

ps: fix incorrect trimming

2022-09-20 Thread Job Snijders
Christian Weisgerber reported the new 'f' feature in ps(1) does not apply line length trimming correctly. The problem can be observed when comparing '$ COLUMNS=79 ps l' and '$ COLUMNS=79 ps lf' OK? Index: print.c === RCS file:

Re: sysupgrade - Reading from socket: Undefined error: 0

2022-09-20 Thread Florian Obser
On 2022-09-19 22:27 +02, Hrvoje Popovski wrote: > Hi all, > > when doing sysupgrade few minutes ago on multiple machines i'm getting > error in subject > > smc24# sysupgrade -s > Fetching from https://cdn.openbsd.org/pub/OpenBSD/snapshots/amd64/ > SHA256.sig 100%