Re: [patch] sh.1 getopts inaccurate

2018-11-28 Thread Theo de Raadt
I also agree. > hi > > I'm not familiar with getopts, first time I use it and the man page was > confusing. It says "a colon following an option indicates it may take an > argument". > I understand this as: if I use the string "s:" then I can use "-s" or "-s > something" as it **may** take an

Re: [patch] sh.1 getopts inaccurate

2018-11-28 Thread Philip Guenther
On Wed, Nov 28, 2018 at 10:52 PM Solene Rapenne wrote: > I'm not familiar with getopts, first time I use it and the man page was > confusing. It says "a colon following an option indicates it may take an > argument". > I understand this as: if I use the string "s:" then I can use "-s" or "-s >

[patch] sh.1 getopts inaccurate

2018-11-28 Thread Solene Rapenne
hi I'm not familiar with getopts, first time I use it and the man page was confusing. It says "a colon following an option indicates it may take an argument". I understand this as: if I use the string "s:" then I can use "-s" or "-s something" as it **may** take an argument. But if you use "s:",

Re: pvclock(4)

2018-11-28 Thread Reyk Floeter
Hi, > Am 29.11.2018 um 05:27 schrieb johnw : > > >> So far I only got positive reports. Where are the problems? ;) > >> Otherwise: OK? > >> Reyk > > Hi, my kvm/quest/openbsd-amd64 can not boot, after upgrade to today current > (28-nov-2018). > thanks for reporting. Do you have a full

Re: pvclock(4)

2018-11-28 Thread johnw
So far I only got positive reports. Where are the problems? ;) Otherwise: OK? Reyk Hi, my kvm/quest/openbsd-amd64 can not boot, after upgrade to today current (28-nov-2018). It work before upgrade (OpenBSD 6.4-current (GENERIC.MP) #447: Sun Nov 18 17:25:58 MST 2018) Host:

Idea forOpenBGPD RDE MP ... would this work to make RDE MP safe ?

2018-11-28 Thread Tom Smyth
Hello, before I begin... im just a sysadmin not a programmer I appreciate the work you are doing on OpenBGPd :) and I use it and im very happy I saw Claudes presentation on openBGPd recently and how there was some work on MP for BGPd.. and I was wondering about an idea (I thought it was a

Re: traceroute6 and ospf6d (icmp6 source addresses and link-locals)

2018-11-28 Thread Arnaud BRAND
I have setup a test environment where I can reproduce the issue with GENERIC#481. I can confirm that the issue is fixed by the proposed patch. traceroute6 to/from/through the patched machine got expected result and did not crash the machine. Anyone else would like to try ? Or propose

Re: traceroute6 and ospf6d (icmp6 source addresses and link-locals)

2018-11-28 Thread Arnaud BRAND
Le 2018-11-28 22:46, Arnaud BRAND a écrit : Le 2018-10-05 23:42, Stuart Henderson a écrit : On 2018/10/05 18:38, Alexander Bluhm wrote: IPv6 Source selection is a mess! > ICMP6 messages > are generated with a source of, I think, the local address associated with > the route to the recipient,

Re: fuse_parse_cmd_line.3 patch

2018-11-28 Thread Ted Unangst
Edgar Pettijohn III wrote: > remove a bunch of `_' where there shouldn't be `_'s please resend without nonbreaking spaces breaking the diff.

Re: traceroute6 and ospf6d (icmp6 source addresses and link-locals)

2018-11-28 Thread Arnaud BRAND
Le 2018-10-05 23:42, Stuart Henderson a écrit : On 2018/10/05 18:38, Alexander Bluhm wrote: IPv6 Source selection is a mess! > ICMP6 messages > are generated with a source of, I think, the local address associated with > the route to the recipient, It is not that simple. Look at

Re: free(9) sizes for hooks

2018-11-28 Thread Claudio Jeker
On Wed, Nov 28, 2018 at 07:01:16PM -0200, Martin Pieuchot wrote: > Trivial sizes, ok? ok claudio@ > Index: net/if.c > === > RCS file: /cvs/src/sys/net/if.c,v > retrieving revision 1.567 > diff -u -p -r1.567 if.c > --- net/if.c 12

free(9) sizes for autoconf

2018-11-28 Thread Martin Pieuchot
This one is a bit tricky. In the indirect case, config_make_softc() allocates a chunk corresponding to a given `cf->cf_attach->ca_devsize'. ok? Index: kern/subr_autoconf.c === RCS file: /cvs/src/sys/kern/subr_autoconf.c,v

free(9) sizes for hooks

2018-11-28 Thread Martin Pieuchot
Trivial sizes, ok? Index: net/if.c === RCS file: /cvs/src/sys/net/if.c,v retrieving revision 1.567 diff -u -p -r1.567 if.c --- net/if.c12 Nov 2018 23:41:22 - 1.567 +++ net/if.c28 Nov 2018 20:57:21 - @@ -1088,9

Re: top: allow reverse sort order

2018-11-28 Thread Scott Cheloha
On Wed, Nov 28, 2018 at 12:07:37AM +0100, Klemens Nanni wrote: > On Tue, Nov 27, 2018 at 03:52:52PM -0600, Scott Cheloha wrote: > > > > static int > > > > +getorder(char *field) > > > > +{ > > > > + rev_order = field[0] == '-'; > > > > + > > > > + return string_index(rev_order ? field

Re: cleanup decision process

2018-11-28 Thread Claudio Jeker
On Thu, Nov 22, 2018 at 04:52:08PM +0100, Claudio Jeker wrote: > Since a while announcements added by bgpctl will overwrite the ones from > the config and no longer live next to each other. Because of this step 13 > in the decision process is no longer needed. > > OK? Ping -- :wq Claudio

Re: bgpd refactor aspath_match a bit

2018-11-28 Thread Claudio Jeker
On Tue, Nov 27, 2018 at 06:55:51PM +0100, Job Snijders wrote: > On Tue, Nov 27, 2018 at 06:23:53PM +0100, Claudio Jeker wrote: > > On Tue, Nov 27, 2018 at 04:21:53PM +0100, Job Snijders wrote: > > > On Fri, Nov 23, 2018 at 03:55:18PM +0100, Claudio Jeker wrote: > > > > For origin validation I