Apply psz/psref to ifaddr and in_ifaddr

2016-07-25 Thread Ryota Ozaki
Hi, This change makes struct ifaddr and struct in_ifaddr (and lists for them) MP-safe using pserialize(9) and psref(9). Changes to in6_ifaddr aren't included. There are two patches: http://www.netbsd.org/~ozaki-r/revert-revert-ifaddr-change.diff

Re: FWIW: sysrestrict

2016-07-25 Thread Thor Lancelot Simon
On Sat, Jul 23, 2016 at 03:52:03PM -0700, Alistair Crooks wrote: > > My main problem is that simply outlawing system calls is a very > coarse-grained hammer. I may want a binary to be able to open files > for writing in /tmp, but not open any files in /etc for writing. Or > reading files in my

Re: FWIW: sysrestrict

2016-07-25 Thread Maxime Villard
Le 24/07/2016 à 22:57, Joerg Sonnenberger a écrit : On Sun, Jul 24, 2016 at 01:09:46PM +0200, Maxime Villard wrote: The goal of sysrestrict (and pledge, and whatever else) is not to provide the perfect feature that will control absolutely everything. The goal is just to provide an additionnal,

Re: CVS commit: src/sys

2016-07-25 Thread Nick Hudson
On 07/20/16 08:38, Martin Husemann wrote: On Wed, Jul 20, 2016 at 12:42:47PM +0900, Ryota Ozaki wrote: If we cannot fix the issue easily, we can disable workqueue unless NET_MPSAFE for now. I think it is only exposing some older mips bug, we should analyze it (but I am currently out of ideas).