ifstated diff: handling interface depature/arrival

2017-07-31 Thread Rob Pierce
Good evening all, Currently, ifstated does not detect the removal of an IFT_CARP pseudo device. As such, you can delete a carp interface and have ifstated happily remain in the current state without detecting any interface change. The reasons are two fold: 1. The routing socket is only

Changing default compiler for usr/ports buiding

2017-07-31 Thread Denis
I'm trying to change default compiler to build some ports. Tried to do it using bsd.port.mk and by system variables CXX=eg++ CPP=egcc, but nothing changes while building a port. How can I force the default gcc 4.2 to egcc (gcc 4.9)? Thanks

Re: Changing default compiler for usr/ports buiding

2017-07-31 Thread Marc Espie
On Mon, Jul 31, 2017 at 05:47:59PM +0300, Denis wrote: > I'm trying to change default compiler to build some ports. > Tried to do it using bsd.port.mk and by system variables CXX=eg++ > CPP=egcc, but nothing changes while building a port. > > How can I force the default gcc 4.2 to egcc (gcc 4.9)?

Re: [patch] httpd: don't add date header if already set

2017-07-31 Thread Ian Sutton
committed, thanks

armv7 void x_intr() vs int x_intr()

2017-07-31 Thread Artturi Alm
Hi, i've been annoyed by this inconsistency for years, and was wondering if someone would have the time to explain why it is the way it is, or give me any advice towards the correct fixes. i'll just copypaste some lines of code that should show what i mean: #define ARM_IRQ_HANDLER arm_intr

rthreads futex implementation fix

2017-07-31 Thread Mark Kettenis
The futex-based implementation of mutexes uses _atomic_lock_t for the futex. That's a bit of problem as _atomic_lock_t isn't a 32-bit integer type on sparc64 and landisk. The _atomic_lock_t really is a special type for spin locks. The futex implementation uses atomic operations from though.

Re: efiboot boot path matching

2017-07-31 Thread Mark Kettenis
> Date: Mon, 31 Jul 2017 20:35:45 +1000 > From: Jonathan Gray > > On Sun, Jul 30, 2017 at 11:01:58PM +0200, Mark Kettenis wrote: > > > Date: Sun, 30 Jul 2017 12:20:27 +1000 > > > From: Jonathan Gray > > > > > > On Sat, Jul 29, 2017 at 09:01:35PM +0200, Patrick

Intel I/O Module for Intel Server Boards Up for Grabs (for Free)

2017-07-31 Thread Tom Smyth
Hello Lads and Ladies, If any of you have an Intel Server I have a Copper(RJ45 dual port 10G I/O module that I cant use (because I only have SFP+ Based 10G Switches) Intel AXX10GBTWLIOM Dual 10GB Copper Module (It is for e5 - 4600/ 2600 or 2400) based Intel servers

Re: efiboot boot path matching

2017-07-31 Thread Jonathan Gray
On Sun, Jul 30, 2017 at 11:01:58PM +0200, Mark Kettenis wrote: > > Date: Sun, 30 Jul 2017 12:20:27 +1000 > > From: Jonathan Gray > > > > On Sat, Jul 29, 2017 at 09:01:35PM +0200, Patrick Wildt wrote: > > > On Sat, Jul 29, 2017 at 02:59:19PM +0200, Mark Kettenis wrote: > > > >

Make arm usable from userland

2017-07-31 Thread Mark Kettenis
If you just include , uint32_t isn't defined. There is no real reason for this code to use uint32_t. For our ILP32/LP64 ecosystem, unsigned long is the appropriate integer type. ok? Index: arch/arm/include/atomic.h === RCS file:

allow cpumem_get (and pool_cache_init) earlier in boot

2017-07-31 Thread David Gwynne
i wanted to enable per-cpu caches on the myx cluster pool, but the myx pool is set up before the cpumem subsystem is ready to back it. rather than add more hooks in myx, this has the cpumem subsystem init its own pool on the first use of it. it assumes ncpusfound will be correctly set before the

Re: dhclient.conf(5): manual tweaks

2017-07-31 Thread Anton Lindqvist
On Mon, Jul 31, 2017 at 07:53:21AM +0100, Jason McIntyre wrote: > On Mon, Jul 31, 2017 at 08:34:02AM +0200, Anton Lindqvist wrote: > > Hi, > > Some suggestions on how to improve the dhclient.conf(5) manual: > > > > - Shorten initial description, inspired by httpd.conf(5). > > > > - No need to

Re: dhclient.conf(5): manual tweaks

2017-07-31 Thread Jason McIntyre
On Mon, Jul 31, 2017 at 08:34:02AM +0200, Anton Lindqvist wrote: > Hi, > Some suggestions on how to improve the dhclient.conf(5) manual: > > - Shorten initial description, inspired by httpd.conf(5). > > - No need to mention the choice of parser implementation (recursive > descent). > > - Do

dhclient.conf(5): manual tweaks

2017-07-31 Thread Anton Lindqvist
Hi, Some suggestions on how to improve the dhclient.conf(5) manual: - Shorten initial description, inspired by httpd.conf(5). - No need to mention the choice of parser implementation (recursive descent). - Do not use the word `end` twice in the sentence on comments, instead borrow a

Re: [patch] httpd: don't add date header if already set

2017-07-31 Thread Florian Obser
On Sun, Jul 30, 2017 at 09:43:09PM -0400, Ted Unangst wrote: > Florian Obser wrote: > > OK florian@ > > > > p.s. whoever commits this please add extra ( ) around the && term, > > Apparently clang no longer supports operator precedence *sigh*. > > > > I'm wondering if it also warns for a * b + c