uu{de,en}code: zap

2018-12-29 Thread Klemens Nanni
and are required for b64_ntop()/b64_pton(), but there's nothing socket related here as far as I'm concerned. Included since millert's sync in 2004 with FreeBSD which still has it. No object change on amd64 and sparc64. Feedback? OK? Index: usr.bin/uudecode/uudecode.c =

Re: uudecode error message

2018-12-29 Thread Ted Unangst
Alexander Bluhm wrote: > Hi, > > when there is an invalid character in the uuencoded stream, uudecode(1) > prints this error message: > > uudecode: in: out: character out of range: [33-96] > > Problem is that you don't know what is wrong. So I would like to > print the invalid character. As pr

uudecode error message

2018-12-29 Thread Alexander Bluhm
Hi, when there is an invalid character in the uuencoded stream, uudecode(1) prints this error message: uudecode: in: out: character out of range: [33-96] Problem is that you don't know what is wrong. So I would like to print the invalid character. As printing invalid input to the terminal is a

Re: bgpd mrt bad sizeof

2018-12-29 Thread Claudio Jeker
On Sat, Dec 29, 2018 at 08:24:50PM +0100, Sebastian Benoit wrote: > Hi, > > we allocate the wrong size here i think. > > ok? No, this diff is wrong. Check out the parse.y code. It uses MRT2MC to access fields in struct mrt_config. I know this is not the best style but it is currently correct.

bgpd mrt bad sizeof

2018-12-29 Thread Sebastian Benoit
Hi, we allocate the wrong size here i think. ok? (benno_bgpd_mrt.diff) diff --git usr.sbin/bgpd/mrt.c usr.sbin/bgpd/mrt.c index 7c7f2193db3..2502c792c55 100644 --- usr.sbin/bgpd/mrt.c +++ usr.sbin/bgpd/mrt.c @@ -976,43 +976,43 @@ mrt_get(struct mrt_head *c, struct mrt *m) if (t-

pfctl: tables: improve namespace collision warnings

2018-12-29 Thread Klemens Nanni
Tables under different anchors may have the same name, but pfctl warns about such scenarios upon table creation to avoid mixups. Unique and descriptive names are highly recommended (for sanity). # pfctl -T replace -t t1 1 table created. no changes. # pfctl -T repla

Re: ospf6d: fib-priority

2018-12-29 Thread Remi Locherer
On Sat, Dec 29, 2018 at 02:06:32PM +0100, Denis Fondras wrote: > On Fri, Dec 28, 2018 at 09:50:50PM +0100, Remi Locherer wrote: > > Hi tech, > > > > this allows to adjust the priority of the routes that ospf6d inserts > > into the kernel routing table. > > > > It's basically the same change that

patch: tail(1) do not try to reopen stdin

2018-12-29 Thread leo_tck
zeur here. The following {,ab}use of tail(1): % fname);

Re: ospf6d: fib-priority

2018-12-29 Thread Denis Fondras
On Fri, Dec 28, 2018 at 09:50:50PM +0100, Remi Locherer wrote: > Hi tech, > > this allows to adjust the priority of the routes that ospf6d inserts > into the kernel routing table. > > It's basically the same change that I commited to ospfd today (without > reload support). > Is there any diffic

Re: CVS: cvs.openbsd.org: src

2018-12-29 Thread Denis Fondras
On Fri, Dec 28, 2018 at 03:05:15PM -0700, Denis Fondras wrote: > CVSROOT: /cvs > Module name: src > Changes by: de...@cvs.openbsd.org 2018/12/28 15:05:15 > > Modified files: > usr.sbin/bgpd : kroute.c > > Log message: > move kroute_find() call later > > No need to scan the list

Re: video(1) pledge (& updated kernel diff)

2018-12-29 Thread Sebastien Marie
On Fri, Dec 28, 2018 at 09:41:06PM +0100, Landry Breuil wrote: > Hi, > > so i've updated my 'video' class for pledge and also did an initial > naive pledging of xenocara/app/video: just a small note: video(1) is the sole customer for ioctl(VIDIOC_*) in base. other potential customers are in ports