ypldap: sync aldap from ldap(1)

2018-06-21 Thread Reyk Floeter
Hi, the _url code was broken and disabled in ypldap's aldap - I fixed it for ldap(1). The other chunk is a DEBUG message fix, not compiled by default. OK? Index: usr.sbin/ypldap/aldap.c === RCS file:

Re: Prevent races w/ f_data

2018-06-21 Thread Martin Pieuchot
On 20/06/18(Wed) 17:16, Mark Kettenis wrote: > > Date: Wed, 20 Jun 2018 15:17:27 +0200 > > From: Martin Pieuchot > > Joel, the diff below changes the semantics of the DIOCMAP ioctl a bit. > See the bit about DIOCMAP below. I think this approach is better. > But maybe I'm missing someting... >

Re: slaacd(8): stop unrolling loops

2018-06-21 Thread Janne Johansson
Den ons 20 juni 2018 kl 16:16 skrev Florian Obser : > This might have been a good idea 20 years ago but in this day and age > the compiler is probably better at unrolling loops. > Won't someone think of the vaxes??? -- May the most significant bit of your life be positive.

Re: slaacd(8): stop unrolling loops

2018-06-21 Thread Florian Obser
On Thu, Jun 21, 2018 at 10:02:41AM +0200, Janne Johansson wrote: > Den ons 20 juni 2018 kl 16:16 skrev Florian Obser : > > > This might have been a good idea 20 years ago but in this day and age > > the compiler is probably better at unrolling loops. > > > > Won't someone think of the vaxes???

Re: KERNEL_ASSERT_LOCKED with unlocked sendmsg and sendto + udp6

2018-06-21 Thread Martin Pieuchot
On 21/06/18(Thu) 00:17, Gregor Best wrote: > Hi, > > with the patch that unlocks sendmsg and sendto, I get the following > KERNEL_ASSERT_LOCKED (transcribed from a photo of the screen) when I > start avahi_daemon: Thanks for the report, the fix was already present in my next diff. It has been

Re: ypldap: sync aldap from ldap(1)

2018-06-21 Thread Claudio Jeker
On Thu, Jun 21, 2018 at 10:33:37AM +0200, Reyk Floeter wrote: > Hi, > > the _url code was broken and disabled in ypldap's aldap - I fixed it > for ldap(1). The other chunk is a DEBUG message fix, not compiled by > default. > > OK? Looks good to me. OK claudio@ > Index:

BGPD, remove unused fields in RDE

2018-06-21 Thread Claudio Jeker
Nothing is using the per aspath counts in the RDE. Remove them, makes the code simpler. OK? -- :wq Claudio Index: rde.h === RCS file: /cvs/src/usr.sbin/bgpd/rde.h,v retrieving revision 1.168 diff -u -p -r1.168 rde.h --- rde.h

Re: Add 6to4 anycast prefixes to examples/bgpd.conf

2018-06-21 Thread Tom Smyth
Hello Job, Im happy with that, (not that i have a say either way ;) ) I was wondering would it be worth while to add rule to limit on the aspath length that would be accepted in the examples/ bgpd.conf file also I typically reject prefixes on my ebgp routers if the prefix has an as path

Re: Unlock sendit-based syscalls

2018-06-21 Thread Visa Hankala
On Tue, Jun 19, 2018 at 03:36:57PM +, Visa Hankala wrote: > On Tue, Jun 19, 2018 at 03:58:51PM +0200, Mark Kettenis wrote: > > > Date: Tue, 19 Jun 2018 15:38:01 +0200 > > > From: Martin Pieuchot > > > > > > On 19/06/18(Tue) 14:55, Mark Kettenis wrote: > > > > > To avoid races with another

new usb id for urtwn

2018-06-21 Thread Mikhail
Taken from FreeBSD: diff --git a/sys/dev/usb/if_urtwn.c b/sys/dev/usb/if_urtwn.c index 0e204a196b1..d9aee16b05f 100644 --- a/sys/dev/usb/if_urtwn.c +++ b/sys/dev/usb/if_urtwn.c @@ -306,6 +306,7 @@ static const struct urtwn_type { URTWN_DEV_8192CU(TRENDNET, RTL8192CU),

Re: Unlock sendit-based syscalls

2018-06-21 Thread Visa Hankala
On Thu, Jun 21, 2018 at 04:49:48PM +, Visa Hankala wrote: > Here is an updated diff that has been adjusted for the current tree. Hmm, the diff is not right yet. Please ignore.

use-after-free in ieee80211_defrag() [from NetBSD]

2018-06-21 Thread Sebastien Marie
Hi, m...@netbsd.org has corrected an use-after-free on NetBSD on similar code we have. Fix use-after-free, m_cat can free m. http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/net80211/ieee80211_input.c.diff?r1=1.111=1.112 >From code reading on us side, I think the same problem is

Add 6to4 anycast prefixes to examples/bgpd.conf

2018-06-21 Thread Job Snijders
Hi, Globally anycasted 6to4 has outlived its usefulness. Operational discussion: http://seclists.org/nanog/2018/Jun/268 Kind regards, Job diff --git etc/examples/bgpd.conf etc/examples/bgpd.conf index a5fa7234a3c..77f610b9a06 100644 --- etc/examples/bgpd.conf +++ etc/examples/bgpd.conf @@

OpenBSD Errata: June 21st, 2018 (perl)

2018-06-21 Thread Andrew Hewus Fresh
Errata patches for perl have been released for OpenBSD 6.2 and 6.3. Perl's Archive::Tar module could be made to write files outside of its working directory. Binary updates for the amd64, i386, and arm64 platforms are available via the syspatch utility. Source code patches can be found on the

Re: Add 6to4 anycast prefixes to examples/bgpd.conf

2018-06-21 Thread Tom Smyth
Sorry... i meant to say I typically reject prefixes on my ebgp routers if the prefix has an as path length > 40 Thanks Tom Smyth On Thu 21 Jun 2018, 17:39 Tom Smyth, wrote: > Hello Job, > > Im happy with that, (not that i have a say either way ;) ) > > I was wondering would it be worth

[diff] httpd.conf.5 - consistent IPs, added examples

2018-06-21 Thread Mischa
Hi tech@, Changed httpd.conf.5 to be more consistent with IPs used, all documentation IPs now. And added a couple of examples. 2 for dyamic pages, cgi and php. One fairly common used rewrite rule for things like wordpress. Mischa Index: httpd.conf.5

BGPD - refactor nexthop handling

2018-06-21 Thread Claudio Jeker
This is the first step of some larger reshuffling of how the RDE is working. One of the things needed is proper reference counting for nexthops since I want to kill nexthop_link and nexthop_unlink in the long run. Even though an intermediat step the result is IMO a lot cleaner than before.

Re: DRI3/prime kernel implementation for OpenBSD

2018-06-21 Thread Matthieu Herrb
On Wed, Jun 20, 2018 at 08:55:39PM +0200, Mark Kettenis wrote: > This diff adds DRI3/prime support to the OpenBSD kernel. The whole > idea behind this is to allow graphics buffers to be exchanged between > processes (typically X client and X server) by passing file > descriptors. The curremt

Re: DRI3/prime kernel implementation for OpenBSD

2018-06-21 Thread Mark Kettenis
> Date: Thu, 21 Jun 2018 11:28:26 +1000 > From: Jonathan Gray > > On Wed, Jun 20, 2018 at 08:55:39PM +0200, Mark Kettenis wrote: > > This diff adds DRI3/prime support to the OpenBSD kernel. The whole > > idea behind this is to allow graphics buffers to be exchanged between > > processes

Re: ldap(1) -y secretfile

2018-06-21 Thread Gleydson Soares
On Wed, Jun 20, 2018 at 04:32:34PM +0200, Reyk Floeter wrote: > Hi, > > the following diff adds support for reading the bind secret from a > file; this allows to hide it from ps. The -y flag is once again > compatible with OpenLDAP's client. > > Pointed out by Tim Chase on Twitter. > > OK?

Re: ospfd: deal with /etc/netstart, changes of netmask and dest_addr

2018-06-21 Thread Jeremie Courreges-Anglas
On Tue, Jun 19 2018, Remi Locherer wrote: > On Tue, Jun 19, 2018 at 03:59:24PM +0100, Stuart Henderson wrote: >> On 2018/06/18 08:53, Remi Locherer wrote: >> > Index: ospfd.h >> > === >> > RCS file: /cvs/src/usr.sbin/ospfd/ospfd.h,v

Re: [patch] urtwn(4) hostap mode support for 8188eu

2018-06-21 Thread Artturi Alm
On Wed, Jul 01, 2015 at 09:47:15PM +0300, Mikhail wrote: > Hello, inlined patch adds support for hostap mode for 8188eu chip. > Hi, do you have newer version of this? I might have use for this..:) -Artturi > One known issue is documented in urtwn(4), I would like to know if > people with

Re: [PATCH] vmm.c: missing comma

2018-06-21 Thread Mike Larkin
On Thu, Jun 21, 2018 at 01:15:57PM +0800, Kevin Lo wrote: > Hi, > > The diff below adds missing comma. This fixes compilation if we enable > VMM_DEBUG macro. > > Index: sys/arch/amd64/amd64/vmm.c > === > RCS file: