ifconfig: add -rdomain option

2018-02-19 Thread Ayaka Koshibe
Hi, This diff would allow saying 'ifconfig foo -rdomain' instead of 'ifconfig foo rdomain 0'. OK? Thanks, Ayaka Index: sbin/ifconfig/ifconfig.8 === RCS file: /cvs/src/sbin/ifconfig/ifconfig.8,v retrieving revision 1.292 diff -u

Re: arm64 MP

2018-02-19 Thread Otto Moerbeek
On Tue, Feb 20, 2018 at 08:52:20AM +0100, Mark Kettenis wrote: > > Date: Mon, 19 Feb 2018 13:49:48 +0100 (CET) > > From: Mark Kettenis > > > > The diff below attempts to make the arm64 pmap "mpsafe" and enables MP > > support. This diff survived a full build on my

Re: arm64 MP

2018-02-19 Thread Mark Kettenis
> Date: Mon, 19 Feb 2018 13:49:48 +0100 (CET) > From: Mark Kettenis > > The diff below attempts to make the arm64 pmap "mpsafe" and enables MP > support. This diff survived a full build on my Firefly-RK3399 board. > It also seems to work on the Overdrive 1000. It might

Re: mpath cloning routes and cloned routes

2018-02-19 Thread Martin Pieuchot
On 14/02/18(Wed) 21:53, Florian Riehm wrote: > If we delete cloning routes, we also delete their cloned routes. > This doesn't make sense if we delete a multipath cloning route and may result > in > broken gateway routes: That's a bug! > # netstat -rn | grep 192.168.178 > default

Re: Fixed sys_socket() plumbing

2018-02-19 Thread Martin Pieuchot
On 12/02/18(Mon) 09:22, Martin Pieuchot wrote: > I found my mistake in the previous diff. `SS_NBIO' was never set on > non blocking sockets. Diff below fixes that by checking `nonblock' > like it is done in sys_socketpair(). > > Tests & oks welcome :) Anyone? > Index: kern/uipc_syscalls.c >

Re: default route and route socket filter on priority

2018-02-19 Thread Sebastian Benoit
Martin Pieuchot(m...@openbsd.org) on 2018.02.12 15:23:45 +0100: > On 12/02/18(Mon) 12:02, Sebastian Benoit wrote: > > routefilter currently filters the default route, > > if it's priority is higher than the filter prio. > > Then why not change the priority of the default route? > > > This might

Re: arm64 MP

2018-02-19 Thread Jonathan Gray
On Mon, Feb 19, 2018 at 01:49:48PM +0100, Mark Kettenis wrote: > The diff below attempts to make the arm64 pmap "mpsafe" and enables MP > support. This diff survived a full build on my Firefly-RK3399 board. > It also seems to work on the Overdrive 1000. It might even work on > the Raspberry Pi

Mark setrtable(2) as NOLOCK

2018-02-19 Thread Martin Pieuchot
Now that suser() is no longer messing with a per-process field, we can directly turn setrtable(2) as NOLOCK. Apart from sanity checks this syscall writes an int-sized per-process field. Is a memory barrier enough? ok? Index: kern/syscalls.master

enternewpgrp() & enterthispgrp()

2018-02-19 Thread Martin Pieuchot
Diff below shuffles the code used by sys_setsid() and sys_setpgid() into two functions instead of one. It is extracted from guenther@'s proctree diff and I'd like to get it in to reduce the locking diff. ok? Index: kern/kern_proc.c

arm64 MP

2018-02-19 Thread Mark Kettenis
The diff below attempts to make the arm64 pmap "mpsafe" and enables MP support. This diff survived a full build on my Firefly-RK3399 board. It also seems to work on the Overdrive 1000. It might even work on the Raspberry Pi 3. I'd appreciate it if people could play with this on the Raspberry Pi

sysctl(8): add -F option to print temps in freedom units

2018-02-19 Thread joshua stein
Index: sbin/sysctl/sysctl.8 === RCS file: /cvs/src/sbin/sysctl/sysctl.8,v retrieving revision 1.214 diff -u -p -u -p -r1.214 sysctl.8 --- sbin/sysctl/sysctl.816 Feb 2018 07:27:07 - 1.214 +++ sbin/sysctl/sysctl.8

Re: Mark setrtable(2) as NOLOCK

2018-02-19 Thread Mark Kettenis
> Date: Mon, 19 Feb 2018 16:22:30 +0100 > From: Martin Pieuchot > > Now that suser() is no longer messing with a per-process field, we > can directly turn setrtable(2) as NOLOCK. > > Apart from sanity checks this syscall writes an int-sized per-process > field. Is a memory

Re: sysctl(8): add -F option to print temps in freedom units

2018-02-19 Thread Mark Kettenis
> Date: Mon, 19 Feb 2018 11:11:19 -0600 > From: joshua stein You're joking right? > Index: sbin/sysctl/sysctl.8 > === > RCS file: /cvs/src/sbin/sysctl/sysctl.8,v > retrieving revision 1.214 > diff -u -p -u -p

Re: update to xf86-video-ati 7.10.0

2018-02-19 Thread Matthieu Herrb
On Sat, Feb 17, 2018 at 07:55:08PM +1100, Jonathan Gray wrote: > update from xf86-video-ati 7.7.1 to 7.10.0 > > 7.8.0 https://lists.x.org/archives/xorg-announce/2016-November/002738.html > 7.9.0 https://lists.x.org/archives/xorg-announce/2017-March/002789.html > 7.10.0 >