Re: Fix begin of word bug in ed

2016-07-18 Thread Theo de Raadt
> If you feel bold, you can still put it in for 6.0, it's a bugfix > after all, and i don't consider it very dangerous. Then again, > if you want to be extra cautious, nothing would be wrong with > waiting until after unlock, either. that's the right attitude. Around at least every 4-5 hours for

clarity recommendation for faq15.html

2016-07-18 Thread Josh Grosse
I had a conversation with a new OpenBSD user who thought that he may have either misunderstood or been misled by the guidance to unpack the ports tree tarball in /usr. He quickly discovered his 2G /usr default allocation was too small when he began to build ports. FAQ 15 doesn't warn users who se

cwm: Two tiny bugfixes

2016-07-18 Thread Vadim Vygonets
Here's something I made earlier. cwm-resize-new.patch: Resize new clients. This is needed if client_placecalc() decides to change size of the new window. cwm-ptrwarp-inbound.patch: Ensure pointer is within warped-to window. This is relevant after a window shrinks (e.g., is unmaximized)

[patch] cwm: Always keep client visible

2016-07-18 Thread Vadim Vygonets
Hi, I received no comments to my previous e-mail on the subject from 13 Dec, so now that I have a machine with two monitors I just implemented it. Now, excuse me for ranting: I understand that the people responsible for cwm are busy, but I'd like some feedback on the patches I've sent to the list

pf ouraddr in ip6_input

2016-07-18 Thread Alexander Bluhm
Hi, The IPv4 ip_input() uses a shortcut if the pf state key is linked to a socket inp. Let's do the same thing for IPv6. ok? bluhm Index: netinet6/ip6_input.c === RCS file: /cvs/src/sys/netinet6/ip6_input.c,v retrieving revision 1

daily dose of arm/pmap7 wtf

2016-07-18 Thread Artturi Alm
Hi -Artturi diff --git a/sys/arch/arm/arm/pmap7.c b/sys/arch/arm/arm/pmap7.c index eea49fe..c208924 100644 --- a/sys/arch/arm/arm/pmap7.c +++ b/sys/arch/arm/arm/pmap7.c @@ -710,13 +710,6 @@ pmap_free_l1(pmap_t pm) vaddr_t va; uint npg; -{ - u_int cur_ttb; - - __asm

libc: #ifdef __weak_aliases

2016-07-18 Thread Philip Guenther
We have __weak_aliases on all archs (it's used by namespace.h); delete the conditionals. ok? Philip Guenther Index: fpgetmask.c === RCS file: /data/src/openbsd/src/lib/libc/softfloat/fpgetmask.c,v retrieving revision 1.5 diff -u -

Re: Fix begin of word bug in ed

2016-07-18 Thread Ingo Schwarze
Hi Martijn, Martijn van Duren wrote on Sun, Jul 10, 2016 at 05:36:22PM +0200: > Here's a second jab at implementing REG_STARTEND in ed. > This patch just focusses on getting REG_STARTEND in there > and the general restructuring that comes with it. Sorry for taking so long, but i finally got roun

libc/arm: PLT cleanup

2016-07-18 Thread Philip Guenther
References to hidden symbols don't need to use the PLT. It looks like ld is smart enough to optimize them out, but it's clearer to not generate the PLT reference: replace "PIC_SYM(_libc_foo, PLT)" with "_libc_foo" in longjmp, __modsi3, setjmp, and longjmp. More usefully, by referencing the in

Re: sxitimer(4) fixes

2016-07-18 Thread Artturi Alm
On Mon, Jul 18, 2016 at 02:41:10PM +0200, Mark Kettenis wrote: > Currently on my Olimex A10s-Olinuxino Micro, the kernel hangs after > printing: > > simplebus0 at mainbus0: "soc" > sxiuart0 at simplebus0 > sxie0 at simplebus0, address 02:d3:08:c1:74:6f > sxiuart1 at simplebus0: console > sxiuart2

Re: vlan(4), tap(4) and netstart(8)

2016-07-18 Thread Claudio Jeker
On Mon, Jul 18, 2016 at 03:01:48PM +0200, Martin Pieuchot wrote: > I use a vlan(4) on top of a tap(4). Since the rewrite that made vlan(4) > MP-safe I got errors during boot because my tap0 is not UP when I try > to bring my vlan up. > > Now that tap(4) has been separated from tun(4) is there any

Re: sxitimer(4) fixes

2016-07-18 Thread Jonathan Gray
On Mon, Jul 18, 2016 at 02:41:10PM +0200, Mark Kettenis wrote: > Currently on my Olimex A10s-Olinuxino Micro, the kernel hangs after > printing: > > simplebus0 at mainbus0: "soc" > sxiuart0 at simplebus0 > sxie0 at simplebus0, address 02:d3:08:c1:74:6f > sxiuart1 at simplebus0: console > sxiuart2

vlan(4), tap(4) and netstart(8)

2016-07-18 Thread Martin Pieuchot
I use a vlan(4) on top of a tap(4). Since the rewrite that made vlan(4) MP-safe I got errors during boot because my tap0 is not UP when I try to bring my vlan up. Now that tap(4) has been separated from tun(4) is there any reason to still treat it as a special interface? Does it need to be start

Re: pf ouraddr

2016-07-18 Thread Alexandr Nedvedicky
Hello, it looks good to me. OK sasha On Mon, Jul 18, 2016 at 10:51:44AM +0200, Alexander Bluhm wrote: > Hi, > > To hide pf internals move code from in_ouraddr() to pf_ouraddr(). > This will also make it possible to implement the same shortcut for > IPv6. > > ok? > > bluhm >

sxitimer(4) fixes

2016-07-18 Thread Mark Kettenis
Currently on my Olimex A10s-Olinuxino Micro, the kernel hangs after printing: simplebus0 at mainbus0: "soc" sxiuart0 at simplebus0 sxie0 at simplebus0, address 02:d3:08:c1:74:6f sxiuart1 at simplebus0: console sxiuart2 at simplebus0 It seems I get only two clock interrupts before it hangs. Looki

Re: u-boot ffs supp.

2016-07-18 Thread Mark Kettenis
> Authentication-Results: xs4all.nl; spf=pass smtp.mailfrom=gmail.com; > dkim=pass header.d=gmail.com; dmarc=pass header.from=gmail.com > DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; > d=gmail.com; s=20120113; > h=date:from:to:cc:subject:message-id:references:mime-ver

Re: u-boot ffs supp.

2016-07-18 Thread Artturi Alm
On Mon, Jul 18, 2016 at 12:25:27PM +0200, Mark Kettenis wrote: > > Date: Mon, 18 Jul 2016 11:52:15 +0300 > > From: Artturi Alm > > > > iHi, > > > > optimistic as always, this would be one item off the list making me own > > this shit.:) octeon might benefit also, but haven't tested on one. > > d

Re: A patch for allowing IPv6-only or IPv4-only bridges

2016-07-18 Thread Jeremie Courreges-Anglas
Landry Breuil writes: > On Mon, Jul 18, 2016 at 11:27:56AM +0200, Quentin Rameau wrote: >> Hi Martin, >> >> > As discussed with landry@ and sthen@ this won't be merged. Your problem >> > could also be solved by using a NDP proxy, that's a solution we would >> > recommend if your ISP cannot fix

Re: u-boot ffs supp.

2016-07-18 Thread Jonathan Gray
On Mon, Jul 18, 2016 at 12:25:27PM +0200, Mark Kettenis wrote: > > Date: Mon, 18 Jul 2016 11:52:15 +0300 > > From: Artturi Alm > > > > iHi, > > > > optimistic as always, this would be one item off the list making me own > > this shit.:) octeon might benefit also, but haven't tested on one. > > d

Re: fix pstat -v VFLAG column

2016-07-18 Thread Alexander Bluhm
OK bluhm@ On Mon, Jul 18, 2016 at 12:27:50PM +0200, Philip Guenther wrote: > > The VFLAG column of pstat -v is a bit wonky: > > ADDR TYP VFLAG USE HOLD FILEID IFLAG RDEV|SZ > cc2ece20 chr -10 4244Amkmem > cc2ecdac chr -10 4243 mem > cc30f920 chr

Re: A patch for allowing IPv6-only or IPv4-only bridges

2016-07-18 Thread Landry Breuil
On Mon, Jul 18, 2016 at 11:27:56AM +0200, Quentin Rameau wrote: > Hi Martin, > > > As discussed with landry@ and sthen@ this won't be merged. Your problem > > could also be solved by using a NDP proxy, that's a solution we would > > recommend if your ISP cannot fix his setup. > > Thanks for the

fix pstat -v VFLAG column

2016-07-18 Thread Philip Guenther
The VFLAG column of pstat -v is a bit wonky: ADDR TYP VFLAG USE HOLD FILEID IFLAG RDEV|SZ cc2ece20 chr -10 4244Amkmem cc2ecdac chr -10 4243 mem cc30f920 chr I20 3763 ACUm ttyp2 cc30f8ac chr I10 3764 ACUm ptyp2 cc

Re: u-boot ffs supp.

2016-07-18 Thread Mark Kettenis
> Date: Mon, 18 Jul 2016 11:52:15 +0300 > From: Artturi Alm > > iHi, > > optimistic as always, this would be one item off the list making me own > this shit.:) octeon might benefit also, but haven't tested on one. > didn't figure out how to make a proper diff for ports/sysutils/u-boot/ > against

mopd: don't need libkvm

2016-07-18 Thread Philip Guenther
mopd and related link against libkvm...but don't use anything in it, or even the header. ok? Philip Index: mopchk/Makefile === RCS file: /cvs/src/usr.sbin/mopd/mopchk/Makefile,v retrieving revision 1.4 diff -u -p -r1.4 Makefile --

u-boot ffs supp.

2016-07-18 Thread Artturi Alm
iHi, optimistic as always, this would be one item off the list making me own this shit.:) octeon might benefit also, but haven't tested on one. didn't figure out how to make a proper diff for ports/sysutils/u-boot/ against cvs, so here is diff to be applied directly on top of recent u-boot master.

pf ouraddr

2016-07-18 Thread Alexander Bluhm
Hi, To hide pf internals move code from in_ouraddr() to pf_ouraddr(). This will also make it possible to implement the same shortcut for IPv6. ok? bluhm Index: net/pf.c === RCS file: /data/mirror/openbsd/cvs/src/sys/net/pf.c,v retr