Re: Merge a stub file in ps(1)

2015-09-16 Thread Michael McConville
Michael McConville wrote: > fmt.c contains two functions that are only called by command() in > print.c. One of them is tiny, too. It seems simpler to have them in > print.c as statics. I forgot to mention that I also changed their argument leftp's type from int to size_t, because that's what it's

Re: panic with latest ugen.c and pcsc-lite

2015-09-16 Thread Grant Czajkowski
On Tue, Sep 15, 2015 at 12:04:35PM +0200, Martin Pieuchot wrote: > On 15/09/15(Tue) 04:50, Grant Czajkowski wrote: > > On Fri, Sep 11, 2015 at 02:41:04AM -0600, David Coppa wrote: > > > > > > Hi! > > > > > > Repeatedly hit the panic below with latest ugen.c code (v 1.88) and > > > pcsc-lite. > >

Merge a stub file in ps(1)

2015-09-16 Thread Michael McConville
fmt.c contains two functions that are only called by command() in print.c. One of them is tiny, too. It seems simpler to have them in print.c as statics. Index: Makefile === RCS file: /cvs/src/bin/ps/Makefile,v retrieving revision 1.

Re: Fix error reporting in ksh's csh-history

2015-09-16 Thread Michael McConville
Michael McConville wrote: > ksh offers csh-style history aliases when you set csh-history. This > feature currently works. However, when an alias doesn't exist ksh > reports only the last digit (thanks to Theo for tipping me off on this): > > > mike:/tmp/tech:1$ set -o csh-history > > mike:/tmp/te

Re: bsd.port.mk.5: Misc. tweaks

2015-09-16 Thread Ingo Schwarze
Hi Michael, Michael Reed wrote on Sat, Sep 12, 2015 at 06:02:36PM -0400: > This patch consists of three small changes and one large one. Hum, mixing small and large changes is not a very good idea. When proposing a large change, it is best to send one self-contained patch doing nothing but that

Re: Brainy: a few bugs

2015-09-16 Thread Vadim Zhukov
16 сент. 2015 г. 14:24 пользователь "Claudio Jeker" < cje...@diehard.n-r-g.com> написал: > > On Wed, Sep 16, 2015 at 11:03:23AM +0200, Stefan Sperling wrote: > > On Fri, Sep 11, 2015 at 09:18:18PM +0200, Maxime Villard wrote: > > > _18/ UNINITIALIZED VARIABLE: sys/net80211/ieee80211_pae_output.c re

Re: IPv6 - 6rd support

2015-09-16 Thread David Hill
On Wed, Sep 16, 2015 at 05:32:45PM +0200, Denis Fondras wrote: > On Wed, Sep 16, 2015 at 03:38:22PM +0100, Stuart Henderson wrote: > > On 2015/09/16 09:39, David Hill wrote: > > > So I need to attach an IP somewhere. Both the FreeBSD and NetBSD in the > > > u6rd manpage say I need an IPv6 address

Re: IPv6 - 6rd support

2015-09-16 Thread Denis Fondras
On Wed, Sep 16, 2015 at 03:38:22PM +0100, Stuart Henderson wrote: > On 2015/09/16 09:39, David Hill wrote: > > So I need to attach an IP somewhere. Both the FreeBSD and NetBSD in the > > u6rd manpage say I need an IPv6 address on tun0. > > > >NetBSD 5.1 > > # ifconfig tun0 create > >

Re: IPv6 - 6rd support

2015-09-16 Thread Stuart Henderson
On 2015/09/16 17:32, Denis Fondras wrote: > On Wed, Sep 16, 2015 at 03:38:22PM +0100, Stuart Henderson wrote: > > On 2015/09/16 09:39, David Hill wrote: > > > So I need to attach an IP somewhere. Both the FreeBSD and NetBSD in the > > > u6rd manpage say I need an IPv6 address on tun0. > > > > > >

Re: IPv6 - 6rd support

2015-09-16 Thread Stuart Henderson
On 2015/09/16 09:39, David Hill wrote: > So I need to attach an IP somewhere. Both the FreeBSD and NetBSD in the > u6rd manpage say I need an IPv6 address on tun0. > >NetBSD 5.1 > # ifconfig tun0 create > # ifconfig tun0 inet6 2001:db8:cb00:7101::1/32 This works if you put it into

IPv6 - 6rd support

2015-09-16 Thread David Hill
Hello - My ISP offers a 6rd border relay. A while ago, I wrote up a hackish way to use it with OpenBSD over at http://undeadly.org/cgi?action=article&sid=20130828151241 I wanted to get 6rd working properly though. I found a u6rd daemon at http://www.scythe.jp/lab/u6rd/. It has OpenBSD marked a

Re: Brainy: a few bugs

2015-09-16 Thread Claudio Jeker
On Wed, Sep 16, 2015 at 11:03:23AM +0200, Stefan Sperling wrote: > On Fri, Sep 11, 2015 at 09:18:18PM +0200, Maxime Villard wrote: > > _18/ UNINITIALIZED VARIABLE: sys/net80211/ieee80211_pae_output.c rev1.20 > > This code is correct but I can see how it's hard to tell for a code scanner. > The onl

OpenBSD/powerpc switched to use Secure-PLT ABI

2015-09-16 Thread Mark Kettenis
Hi All, I just switched the OpenBSD/powerpc ports (macppc and socppc) over to the "new" Secure-PLT. This improves the W^X support. If you're not following -current closely, you might want to avoid updating from source and install a snapshot instead. If you decide to update from source, make sur

Re: Brainy: a few bugs

2015-09-16 Thread Stefan Sperling
On Fri, Sep 11, 2015 at 09:18:18PM +0200, Maxime Villard wrote: > _18/ UNINITIALIZED VARIABLE: sys/net80211/ieee80211_pae_output.c rev1.20 This code is correct but I can see how it's hard to tell for a code scanner. The only cases are PROTO_RSN and PROTO_WPA but these are bit flags. This is an at