Re: rt_addr & source address selection

2016-06-19 Thread Alexander Bluhm
On Tue, Jun 14, 2016 at 12:02:34PM +0200, Martin Pieuchot wrote: > --- netinet/in_pcb.c 19 Apr 2016 22:16:25 - 1.206 > +++ netinet/in_pcb.c 14 Jun 2016 09:57:25 - > @@ -924,8 +924,10 @@ in_selectsrc(struct in_addr **insrc, str >* If we found a route, use the address >

Re: af-to on pass out should be a parser error

2016-06-19 Thread Mike Belopuhov
On Mon, Jun 20, 2016 at 00:27 +0200, Sebastian Benoit wrote: > Mike Belopuhov(m...@belopuhov.com) on 2016.06.20 00:11:03 +0200: > > On Sun, Jun 19, 2016 at 23:43 +0200, Sebastian Benoit wrote: > > > manpage documents that af-to does not work on pass out rules, but the > > > pf.conf parser allows

Re: af-to on pass out should be a parser error

2016-06-19 Thread Sebastian Benoit
Mike Belopuhov(m...@belopuhov.com) on 2016.06.20 00:11:03 +0200: > On Sun, Jun 19, 2016 at 23:43 +0200, Sebastian Benoit wrote: > > manpage documents that af-to does not work on pass out rules, but the > > pf.conf parser allows it, which leads a non working configuration being > > loaded. > > > >

Re: af-to on pass out should be a parser error

2016-06-19 Thread Sebastian Benoit
Mike Belopuhov(m...@belopuhov.com) on 2016.06.20 00:01:28 +0200: > On Sun, Jun 19, 2016 at 23:43 +0200, Sebastian Benoit wrote: > > manpage documents that af-to does not work on pass out rules, but the > > pf.conf parser allows it, which leads a non working configuration being > > loaded. > > > >

Re: af-to on pass out should be a parser error

2016-06-19 Thread Mike Belopuhov
On Sun, Jun 19, 2016 at 23:43 +0200, Sebastian Benoit wrote: > manpage documents that af-to does not work on pass out rules, but the > pf.conf parser allows it, which leads a non working configuration being > loaded. > > this changes the parser to make pass out .. af-to an error. > > ok? >

Re: IP_SENDSRCADDR [2/2] : add cmsg support

2016-06-19 Thread Alexander Bluhm
On Wed, Jun 15, 2016 at 07:43:37PM +0200, Vincent Gross wrote: > rev3 below. > > I fixed the line length, the useless bzero(), and also the wording in > ip.4 > > Ok ? OK bluhm@ > > Index: sys/netinet/in.h > === > RCS file:

Re: af-to on pass out should be a parser error

2016-06-19 Thread Mike Belopuhov
On Sun, Jun 19, 2016 at 23:43 +0200, Sebastian Benoit wrote: > manpage documents that af-to does not work on pass out rules, but the > pf.conf parser allows it, which leads a non working configuration being > loaded. > > this changes the parser to make pass out .. af-to an error. > what happens

af-to on pass out should be a parser error

2016-06-19 Thread Sebastian Benoit
manpage documents that af-to does not work on pass out rules, but the pf.conf parser allows it, which leads a non working configuration being loaded. this changes the parser to make pass out .. af-to an error. ok? diff --git sbin/pfctl/parse.y sbin/pfctl/parse.y index 934438c..0fecba8 100644

Re: new feature in pkg_add(1)

2016-06-19 Thread Stuart Henderson
On 2016/06/18 19:54, frantisek holop wrote: > does this deprecate -z ? hopefully not; -z is useful for feeding old pkg_info output into pkg_add on a new machine, and we've used it in the past for getting past a flag day bump.

Re: pledge in /usr/bin/ktrace

2016-06-19 Thread Philip Guenther
On Wed, 15 Jun 2016, Michal Mazurek wrote: > KTRFAC_PLEDGE on its own isn't very useful, but this change makes it > possible to recreate the default string. > > Make the default in the manpage more obvious. > > Also ansify getpoints(). Hmm, there's some deeper problems here. ltrace(1) needs

Re: new feature in pkg_add(1)

2016-06-19 Thread Nayden Markatchev
amd64 snapshots have been flowing again since yesterday. apologies for the delay. On Fri, Jun 17, 2016 at 8:02 AM, Marc Espie wrote: > I was waiting for snapshots to come up with the new stuff, but it > looks like amd64 will be a bit late. Someone is still hiking in > the

Re: Building installer as cross

2016-06-19 Thread Theo de Raadt
I am not going to approve a change to distrib that only tries to affect one architecture. Sadly there are a very wide variety of build methods for the various architectures which one day we should simplify and unify. Adding more complexity goes the wrong way.

Re: Building installer as cross

2016-06-19 Thread Masao Uebayashi
Slightly improved by killing stupid .ifdef added under src/distrib by honoring .OBJDIR. diff --git a/Makefile.cross b/Makefile.cross index 8e2afa1..2a686eb 100644 --- a/Makefile.cross +++ b/Makefile.cross @@ -1,7 +1,7 @@ # $OpenBSD: Makefile.cross,v 1.85 2016/05/11 21:52:48 deraadt Exp $

Re: UPDATE: xkeyboard-config 2.18

2016-06-19 Thread Matthieu Herrb
On Mon, Jun 13, 2016 at 06:58:51PM +0500, Alexandr Shadchin wrote: > Hi, > > This diff updates xkeyboard-config to the latest release. > > Test: > * ftp http://devio.us/~koba/distfiles/xkeyboard-config-2.18.diff (or attach) > * cd /path/to/xenocara > * patch < /path/to/xkeyboard-config-2.18.diff

Re: simpler audioctl

2016-06-19 Thread Sebastien Marie
On Sun, Jun 19, 2016 at 04:22:31PM +0200, Alexandre Ratchov wrote: > This diff reimplements audioctl with less lines, using the recently > added ioctls and simplifies its output. audioctl is the last > remaining user of few old ioctls and this diff would permit to > simplify the audio(4) driver

bgpd logging nexthop valid

2016-06-19 Thread Sebastian Benoit
i would like to make bgpd a bit more quiet. This type of message bgpd[59424]: nexthop 1.2.3.4 now valid: via 192.168.0.1 happens quite often depending on your upstreams. This makes it a debug message only. ok? diff --git usr.sbin/bgpd/bgpd.c usr.sbin/bgpd/bgpd.c index 8e0031e..8925086 100644

Re: new feature in pkg_add(1)

2016-06-19 Thread frantisek holop
does this deprecate -z ? -f -- there's no second chance for a good first impression.

simpler audioctl

2016-06-19 Thread Alexandre Ratchov
This diff reimplements audioctl with less lines, using the recently added ioctls and simplifies its output. audioctl is the last remaining user of few old ioctls and this diff would permit to simplify the audio(4) driver soon. - group all encoding parameters in a signle string, ex. "s16le",

Re: make umb(4) less verbose by default

2016-06-19 Thread Martin Pieuchot
On 19/06/16(Sun) 14:40, Stefan Sperling wrote: > This diff hides some verbose messages which umb(4) prints by default > and shows most of them only with 'ifconfig umb0 debug'. > > Some of these messages appear during normal operation, even if the > umb device isn't used at all, such as: > > umb0

umb(4) man page tweaks

2016-06-19 Thread Stefan Sperling
Some information in the umb(4) man page seems to be outdated (IPV4 gateway handling), or doesn't really belong in a man page ("please hack the driver to add a device to a blacklist"). Also try to shorten the page a bit and move information about troublesome devices to CAVEATS. Index: umb.4

make umb(4) less verbose by default

2016-06-19 Thread Stefan Sperling
This diff hides some verbose messages which umb(4) prints by default and shows most of them only with 'ifconfig umb0 debug'. Some of these messages appear during normal operation, even if the umb device isn't used at all, such as: umb0 at uhub0 port 6 configuration 2 interface 12 "Sierra

Re: ucom(4) ttyU* doesn't EBUSY

2016-06-19 Thread Marcus Glocker
On Wed, Jun 15, 2016 at 10:45:28PM +0200, Marcus Glocker wrote: > On Wed, Jun 15, 2016 at 08:26:01PM +0200, Marcus Glocker wrote: > > > On Wed, Jun 15, 2016 at 10:11:19AM -0700, Philip Guenther wrote: > > > > > On Wed, Jun 15, 2016 at 7:22 AM, Martin Pieuchot wrote: > > > >