Re: NMI handler

2017-03-03 Thread Mike Larkin
On Fri, Mar 03, 2017 at 01:11:21PM -0700, Theo de Raadt wrote: > Completely agree. > +1 , although I don't think we should be dropping to ddb. But that's a different discussion. > > Whan an amd64 machine gets an NMI, the current process in user land > > is signalled with SIGBUS. That does not

Re: NMI handler

2017-03-03 Thread Theo de Raadt
Completely agree. > Whan an amd64 machine gets an NMI, the current process in user land > is signalled with SIGBUS. That does not make sense, the machine > should drop to ddb regardless wether a user process is currently > scheduled or not. NMI signals hardware failure or a debugging > button.

NMI handler

2017-03-03 Thread Alexander Bluhm
Hi, Whan an amd64 machine gets an NMI, the current process in user land is signalled with SIGBUS. That does not make sense, the machine should drop to ddb regardless wether a user process is currently scheduled or not. NMI signals hardware failure or a debugging button. The code in i386 has

-current relayd TLS interception and SNI?

2017-03-03 Thread Michael W. Lucas
Hi folks, It *appears* that relayd doesn't speak SNI when used as a transparent intercepting proxy ala http://www.reykfloeter.com/post/41814177050/relayd-ssl-interception What did & what I saw: Set up the proxy as per Reyk's article. Configs below. Running today's amd64 snapshot on vmware. #

Re: pr_output variable arguments

2017-03-03 Thread David Hill
Much easier to read as well. OK On Fri, Mar 03, 2017 at 03:49:08PM +0100, Alexander Bluhm wrote: > Hi, > > I prefer compiler checks over variable argument lists. > So lets convert the pr_output functions. > > ok? > > bluhm > > Index: net/pfkey.c >

Re: pr_output variable arguments

2017-03-03 Thread Claudio Jeker
On Fri, Mar 03, 2017 at 03:49:08PM +0100, Alexander Bluhm wrote: > Hi, > > I prefer compiler checks over variable argument lists. > So lets convert the pr_output functions. > > ok? Please yes. OK claudio > bluhm > > Index: net/pfkey.c >

Re: arm cpu.h rev 1.44 broken

2017-03-03 Thread Tom Cosgrove
Fixed, thanks >>> Markus Hennecke 3-Mar-17 14:29 >>> > > There is a comma missing in rev 1.44: > > Index: cpu.h > === > RCS file: /cvs/src/sys/arch/arm/include/cpu.h,v > retrieving revision 1.44 > diff -u -p -r1.44 cpu.h > --- cpu.h

pr_output variable arguments

2017-03-03 Thread Alexander Bluhm
Hi, I prefer compiler checks over variable argument lists. So lets convert the pr_output functions. ok? bluhm Index: net/pfkey.c === RCS file: /cvs/src/sys/net/pfkey.c,v retrieving revision 1.38 diff -u -p -r1.38 pfkey.c ---

arm cpu.h rev 1.44 broken

2017-03-03 Thread Markus Hennecke
There is a comma missing in rev 1.44: Index: cpu.h === RCS file: /cvs/src/sys/arch/arm/include/cpu.h,v retrieving revision 1.44 diff -u -p -r1.44 cpu.h --- cpu.h 2 Mar 2017 10:38:10 - 1.44 +++ cpu.h 3 Mar 2017

Re: Kill global list of IPv6 addresses

2017-03-03 Thread Alexander Bluhm
On Fri, Mar 03, 2017 at 10:36:19AM +0100, Martin Pieuchot wrote: > It's now unused and can die, ok? OK bluhm@ > > Index: netinet/in_pcb.c > === > RCS file: /cvs/src/sys/netinet/in_pcb.c,v > retrieving revision 1.216 > diff -u -p

Kill global list of IPv6 addresses

2017-03-03 Thread Martin Pieuchot
It's now unused and can die, ok? Index: netinet/in_pcb.c === RCS file: /cvs/src/sys/netinet/in_pcb.c,v retrieving revision 1.216 diff -u -p -r1.216 in_pcb.c --- netinet/in_pcb.c6 Oct 2016 19:09:08 - 1.216 +++

Introduce rtm_output()

2017-03-03 Thread Martin Pieuchot
On 03/03/17(Fri) 01:47, Alexander Bluhm wrote: > On Thu, Mar 02, 2017 at 10:55:41AM +0100, Martin Pieuchot wrote: > > Sleeping here is completely ok. The NET_LOCK() in this function is only > > taken to make sure no other thread will try to do a route lookup in > > ip_output() while we're messing