ospf6d: conf_clear_redist_list

2019-06-08 Thread Remi Locherer
Clear unused redist_list the same way as in ospfd. OK? Remi Index: ospf6d.h === RCS file: /cvs/src/usr.sbin/ospf6d/ospf6d.h,v retrieving revision 1.39 diff -u -p -r1.39 ospf6d.h --- ospf6d.h29 Dec 2018 16:04:31 - 1.39

Re: unveil(2) sysctl(8)

2019-06-08 Thread Theo de Raadt
When userland was massaged for pledge(), I hesitated using the "manually call tzset()" approach for handling things. It felt too low-level to call tzset(), an API almost noone knows the existance of. Arriving in the same situation to satisfy unveil(). Again calling tzset() feels too unfamiliar a

Re: proot.1: Formatting fix

2019-06-08 Thread Ingo Schwarze
Hi Fabio, Fabio Scotoni wrote on Sat, Jun 08, 2019 at 12:15:57PM +0200: > This patch fixes a newline in proot.1 preventing LOCKDIR from > being rendered correctly. Thanks for reporting. I committed the patch shown below. > Note that this causes the input line to be very long, which > seemed ok

[WIP] mg: add transient-mark-mode

2019-06-08 Thread Leonid Bobrov
Hi! Personally I don't like this mode, I think it will be much better just to add condition to {beginning,end}-of-buffer to push mark only if it's not pushed already. The only thing I didn't implement is region highlighting because I am still not familiar with mg's code. Here's the diff: Index:

proot.1: Formatting fix

2019-06-08 Thread Fabio Scotoni
This patch fixes a newline in proot.1 preventing LOCKDIR from being rendered correctly. Note that this causes the input line to be very long, which seemed okay to me because dhcp-options.5 does the same (e.g. on line 184). Index: share/man/man1/proot.1

Re: unveil(2) sysctl(8)

2019-06-08 Thread Florian Obser
On Sat, Jun 08, 2019 at 01:42:04PM +0200, Florian Obser wrote: > shrug, I was just passive aggressively reacting to some unhelpful > asshattery. To clarify: This was not aimed at mestre@.

unbound 1.9.2rc1

2019-06-08 Thread Stuart Henderson
New unbound is in rc testing, here's a diff if anyone is interested. "This release contains a number of bug fixes for crashes introduced in 1.9, session ticket code, stream pipeline code, auth zone code and it also fixes qname minimisation packet scrub failures." Index: doc/Changelog ===

Re: unveil(2) sysctl(8)

2019-06-08 Thread Jeremie Courreges-Anglas
On Sat, Jun 08 2019, Stuart Henderson wrote: > On 2019/06/08 13:15, Jeremie Courreges-Anglas wrote: >> Naive question: should sysctl(8) be pledged? I'm not objecting but >> I wonder what we are trying to protect us from, here. > > AFAIK it can't be done because pledge always restricts which sysct

Re: unveil(2) sysctl(8)

2019-06-08 Thread Stuart Henderson
On 2019/06/08 13:15, Jeremie Courreges-Anglas wrote: > Naive question: should sysctl(8) be pledged? I'm not objecting but > I wonder what we are trying to protect us from, here. AFAIK it can't be done because pledge always restricts which sysctl nodes may be accessed.

Re: pf_state_key_link_reverse() needs atomic ops

2019-06-08 Thread Jonathan Matthew
On Tue, Jun 04, 2019 at 01:50:51AM +0200, Alexandr Nedvedicky wrote: > Hello, > > I've managed to get pf_test() running in parallel on forwarding path in my > experimental tree. And there was some fall out. PF died on ASSERT() in > pf_state_key_link_reverse() at line 7371: > > 7368 pf_state_k

Re: unveil(2) sysctl(8)

2019-06-08 Thread Florian Obser
On Sat, Jun 08, 2019 at 01:15:37PM +0200, Jeremie Courreges-Anglas wrote: > On Sat, Jun 08 2019, Florian Obser wrote: > > On Fri, Jun 07, 2019 at 11:24:30PM +0100, Ricardo Mestre wrote: > >> i did that and for some for reason i didn't get it! it tries to open > >> timezone so it kinda looks like a

Re: unveil(2) sysctl(8)

2019-06-08 Thread Jeremie Courreges-Anglas
On Sat, Jun 08 2019, Florian Obser wrote: > On Fri, Jun 07, 2019 at 11:24:30PM +0100, Ricardo Mestre wrote: >> i did that and for some for reason i didn't get it! it tries to open >> timezone so it kinda looks like a red flag right there... >> >> apart from /dev do we need to look into TZ on this

Re: bgpd communities rewrite

2019-06-08 Thread Claudio Jeker
On Fri, Jun 07, 2019 at 11:59:10AM +0200, Claudio Jeker wrote: > On Tue, May 28, 2019 at 03:53:11PM +0200, Claudio Jeker wrote: > > On Tue, May 14, 2019 at 12:37:25AM +0200, Claudio Jeker wrote: > > > This diff changes the way communites are stored and modified in bgpd. > > > The current implementa

Re: unveil(2) sysctl(8)

2019-06-08 Thread Florian Obser
On Fri, Jun 07, 2019 at 11:24:30PM +0100, Ricardo Mestre wrote: > i did that and for some for reason i didn't get it! it tries to open > timezone so it kinda looks like a red flag right there... > > apart from /dev do we need to look into TZ on this one as well? if TZ > var needs to be looked at t