Re: [patch(es)] fix a few typos in /src

2022-12-22 Thread Crystal Kolipe
I've only read through 50% of this so far, but there are a few issues: On Thu, Dec 22, 2022 at 06:31:23PM -0500, Paul Tagliamonte wrote: > Index: lib/libcurses/base/resizeterm.c > === > RCS file:

sparc64: pull retry logic out of tickcmpr_set(), sys_tickcmr_set()

2022-12-22 Thread Scott Cheloha
To keep the %TICK and %SYS_TICK code aligned with the Hummingbird %STICK code, let's pull the retry logic out of tickcmpr_set() and sys_tickcmpr_set() into tick_rearm() and sys_tick_rearm(), respectively. As far as I know, the retry logic in these assembly routines is not defective, but keeping

Re: [patch] add show.c style flag descriptions to route(8)

2022-12-22 Thread Philip Guenther
On Thu, Dec 22, 2022 at 12:04 PM Jason McIntyre wrote: > On Thu, Dec 22, 2022 at 11:49:09AM -0800, Philip Guenther wrote: > > On Thu, Dec 22, 2022 at 11:33 AM Jason McIntyre > wrote: > > ... > > > > > i have to say, i'm getting nowhere with this SYNOPSIS: > > > > > > netstat -r [-AFu]

Re: [patch] add show.c style flag descriptions to route(8)

2022-12-22 Thread Claudio Jeker
On Thu, Dec 22, 2022 at 08:02:54PM +, Jason McIntyre wrote: > On Thu, Dec 22, 2022 at 11:49:09AM -0800, Philip Guenther wrote: > > On Thu, Dec 22, 2022 at 11:33 AM Jason McIntyre wrote: > > ... > > > > > i have to say, i'm getting nowhere with this SYNOPSIS: > > > > > > netstat -r

Re: [patch] add show.c style flag descriptions to route(8)

2022-12-22 Thread Claudio Jeker
On Thu, Dec 22, 2022 at 05:58:47PM +, Jason McIntyre wrote: > On Thu, Dec 22, 2022 at 06:21:08PM +0100, Claudio Jeker wrote: > > On Thu, Dec 22, 2022 at 05:08:15PM +, Jason McIntyre wrote: > > > On Thu, Dec 22, 2022 at 07:32:18AM +, Jason McIntyre wrote: > > > > > > > > next step is

Re: [patch] add show.c style flag descriptions to route(8)

2022-12-22 Thread Jason McIntyre
On Thu, Dec 22, 2022 at 07:31:26PM +, Jason McIntyre wrote: > > anyway, how about this text for ipcomp/ipsec? > jmc > for completeness sake, here's the full diff. jmc Index: sbin/ifconfig/ifconfig.8 === RCS file:

Re: [patch] add show.c style flag descriptions to route(8)

2022-12-22 Thread Jason McIntyre
On Thu, Dec 22, 2022 at 11:49:09AM -0800, Philip Guenther wrote: > On Thu, Dec 22, 2022 at 11:33 AM Jason McIntyre wrote: > ... > > > i have to say, i'm getting nowhere with this SYNOPSIS: > > > > netstat -r [-AFu] [-f address_family] [-M core] [-N system] > > [-p

Re: [patch] add show.c style flag descriptions to route(8)

2022-12-22 Thread Philip Guenther
On Thu, Dec 22, 2022 at 11:33 AM Jason McIntyre wrote: ... > i have to say, i'm getting nowhere with this SYNOPSIS: > > netstat -r [-AFu] [-f address_family] [-M core] [-N system] > [-p protocol] [-T rtable] > > i mean the combination of -r and -p. is it wholly

Re: args vs arg ... in manuals

2022-12-22 Thread Klemens Nanni
12/21/22 11:58, Jason McIntyre пишет: > On Wed, Dec 21, 2022 at 07:40:01AM +, Klemens Nanni wrote: >> On Tue, Dec 20, 2022 at 08:24:29PM +, Jason McIntyre wrote: >>> On Tue, Dec 20, 2022 at 06:24:45PM +, Klemens Nanni wrote: Feedback? OK? >>> >>> ok, in general i'm fine

Re: [patch] add show.c style flag descriptions to route(8)

2022-12-22 Thread Jason McIntyre
On Thu, Dec 22, 2022 at 06:35:41PM +, Stuart Henderson wrote: > On 2022/12/22 17:58, Jason McIntyre wrote: > > > > flag. > > > > Just like for IPsec, using the > > > > -.Fl r > > > > -flag, > > > > -.Xr netstat 1 > > > > +.Xr route 8 > > > > +.Cm show > > > > +command > > > > displays

Re: [patch] add show.c style flag descriptions to route(8)

2022-12-22 Thread Stuart Henderson
On 2022/12/22 17:58, Jason McIntyre wrote: > > > flag. > > > Just like for IPsec, using the > > > -.Fl r > > > -flag, > > > -.Xr netstat 1 > > > +.Xr route 8 > > > +.Cm show > > > +command > > > displays information about IPComp flows. > > > > That's a lie. Neither netstat nor route show IPsec

Re: [patch] add show.c style flag descriptions to route(8)

2022-12-22 Thread Jason McIntyre
On Thu, Dec 22, 2022 at 06:21:08PM +0100, Claudio Jeker wrote: > On Thu, Dec 22, 2022 at 05:08:15PM +, Jason McIntyre wrote: > > On Thu, Dec 22, 2022 at 07:32:18AM +, Jason McIntyre wrote: > > > > > > next step is to examine Xr. will get round to that when i can. > > > > > > > so i

Re: [patch] add show.c style flag descriptions to route(8)

2022-12-22 Thread Claudio Jeker
On Thu, Dec 22, 2022 at 05:08:15PM +, Jason McIntyre wrote: > On Thu, Dec 22, 2022 at 07:32:18AM +, Jason McIntyre wrote: > > > > next step is to examine Xr. will get round to that when i can. > > > > so i looked at where we are using netstat. a lot of the references still > make sense.

Re: [patch] add show.c style flag descriptions to route(8)

2022-12-22 Thread Jason McIntyre
On Thu, Dec 22, 2022 at 07:32:18AM +, Jason McIntyre wrote: > > next step is to examine Xr. will get round to that when i can. > so i looked at where we are using netstat. a lot of the references still make sense. diff below is for ones i think we can change. claudio kindly help me sift

Re: LLVM 15: mismatched bound errors

2022-12-22 Thread Todd C . Miller
On Thu, 22 Dec 2022 02:08:42 +0100, Jeremie Courreges-Anglas wrote: > https://github.com/jcourreges/openbsd-src/commit/4862df383ccb8a8e03d5c11b4f > b739b6a3a5a7c7 > > Sadly making the size available in the declaration doesn't seem to be > clang any smarter (yet?). clang won't warn about

Size reduction experiments for LLVM-built sparc64 kernel

2022-12-22 Thread Koakuma
Hello tech@, I had a discussion about this earlier with kn@ and he suggested me to post this here, so here it is... If I'm understanding it correctly, one of the things preventing sparc64 from fully switching to clang/LLVM is that the generated binaries (particularly, for the kernel) are much

[patch] allow cp to ignore file flags whilst using -p

2022-12-22 Thread Crystal Kolipe
The attached patch adds a new -q option to cp that allows ignoring file flags whilst copying with the existing -p, (preserve), option. Without -p, the new -q option does nothing. Rationale: File flags are not widely used, but we use them on copies of local data that is not expected to change,

rpki-client: small geofeed parsing bug

2022-12-22 Thread Theo Buehler
If the line contains no location info and a comma in a comment, what follows the comma will be interpreted as location info. Actually ignore what's in comments by adjusting the line length. Index: geofeed.c === RCS file:

Re: [patch] add show.c style flag descriptions to route(8)

2022-12-22 Thread Claudio Jeker
On Wed, Dec 21, 2022 at 10:21:16AM -0700, Theo de Raadt wrote: > Claudio Jeker wrote: > > > In the old world only netstat could show the routing table. I think this > > is still the case in FreeBSD for example. We added route show at some > > point but the documentation was not shared between