more windows versions for acpi _OSI checks

2016-02-27 Thread Jonathan Gray
Claim to be more versions of windows for _OSI. Mostly based on the table in 'How to Identify the Windows Version in ACPI by Using _OSI'. 2001.1 SP1 Windows Server 2003 SP1 2006.1 Windows Server 2008 2006 SP1Windows Vista SP1 2006 SP2Windows Vista SP2 2015

Re: ckqueue functions in lpq and lpd

2016-02-27 Thread Jeremie Courreges-Anglas
Chris Bennett writes: > I am having trouble seeing how these two functions are accomplshinig the > same thing, checking for control files in the spool. > These files always start with cf. > > in lpd.c > makes sense to me. > > /* > * Make sure there's some

Re: rtadvd: remove more dead code

2016-02-27 Thread Jeremie Courreges-Anglas
Alexander Bluhm writes: > On Tue, Feb 09, 2016 at 02:17:18AM +0100, J??r??mie Courr??ges-Anglas wrote: >> >> - a few *cnt members of struct rainfo aren't used for anything >> - the SIOCGIFPREFIX_IN6 ioctl has been deprecated since June 2002 >> - prefix_match() and

Re: Remove option COMPAT_LINUX

2016-02-27 Thread Philip Guenther
On Sat, Feb 27, 2016 at 7:59 AM, Christian Weisgerber wrote: > Support for running Linux binaries under emulation is going away. > > The patch below removes "option COMPAT_LINUX" and everything directly > tied to it (kernel configuration, #ifdef sections, etc.) from the >

Re: kdump: drop Linux emulation

2016-02-27 Thread Philip Guenther
On Sat, Feb 27, 2016 at 2:20 PM, Christian Weisgerber wrote: > This drops the support for Linux emulation from kdump(1). It is > functionally independent from the COMPAT_LINUX diff. > > I've left the -e switch in place, although there are now no other > emulations available.

tmpfs improvements

2016-02-27 Thread Michael McConville
* EINVAL is returned in a case where there is insufficient memory. ENOMEM makes more sense. This one is ok natano@. * There wasn't yet a list of possible errors for tmpfs in mount(2). That said, I question the value of maintaining these lists. It's almost impossible for them to be

ckqueue functions in lpq and lpd

2016-02-27 Thread Chris Bennett
I am having trouble seeing how these two functions are accomplshinig the same thing, checking for control files in the spool. These files always start with cf. in lpd.c makes sense to me. /* * Make sure there's some work to do before forking off a child * XXX - could be common w/ lpq */

kdump: drop Linux emulation

2016-02-27 Thread Christian Weisgerber
This drops the support for Linux emulation from kdump(1). It is functionally independent from the COMPAT_LINUX diff. I've left the -e switch in place, although there are now no other emulations available. Index: kdump.1 === RCS

arm: support Allwinner A20 Ethernet

2016-02-27 Thread Patrick Wildt
Hi, the Allwinner A10 and A20 SoC include an EMAC, but it's only used in few devices like the Cubieboard. The A20, like the A31 and A80, contain a GMAC, which is a Synopsys Designware controller. This is commonly used on the Banana Pi, Lamobo R1, Cubieboard 2 and more. This diff is the

Re: diff -e: mishandling of bare dots

2016-02-27 Thread Martin Natano
Last chance to voice objections. I plan to commit this in the next days. natano > Index: diffreg.c > === > RCS file: /cvs/src/usr.bin/diff/diffreg.c,v > retrieving revision 1.90 > diff -u -p -r1.90 diffreg.c > --- diffreg.c 26 Oct

Re: Correct error number in crypto(9)

2016-02-27 Thread Michael McConville
Mike Belopuhov wrote: > On 27 February 2016 at 08:21, Michael McConville wrote: > > Michael McConville wrote: > >> Michael McConville wrote: > >> > Does this make sense? > >> > >> I just realized that the allocation failure checks earlier in the > >> function return ENOBUFS.

Re: Fix overflow check in sys/netinet6/in6.c

2016-02-27 Thread Stefan Kempf
Martin Pieuchot wrote: > On 17/02/16(Wed) 20:38, Stefan Kempf wrote: > > Martin Pieuchot wrote: > > It looks like NetBSD removed the SIOCSIFALIFETIME_IN6 ioctl a long time > > ago, along with the overflow checks, saying that this ioctl could never > > have worked: > >

pkg_info(1): fix return value description for -e

2016-02-27 Thread Patrik Lundin
Hello, The '-e' option to pkg_info is currently described in the following way: === If the package identified by pkg-name is not currently installed, return 0, otherwise return 1. === However, it behaves the other way around: === $ pkg_info -e 'vim-*-no_x11' inst:vim-7.4.900-no_x11 $ echo $? 0

zaurus: mistyped constant in zboot code

2016-02-27 Thread Christian Weisgerber
This very much looks like a typo in the zboot code. Anybody with a Zaurus want to test? Index: compat_linux.h === RCS file: /cvs/src/sys/arch/zaurus/stand/zboot/compat_linux.h,v retrieving revision 1.8 diff -u -p -r1.8 compat_linux.h

Re: arm: store curcpu pointer in thread id register

2016-02-27 Thread Patrick Wildt
On Fri, Feb 26, 2016 at 08:59:41PM -0800, Philip Guenther wrote: > On Sat, Feb 20, 2016 at 1:49 PM, Patrick Wildt wrote: > > since ARMv6 the coprocessor provides special registers to store software > > defined values. Those registers are: > > > > * TPIDRURW -> kernel RW,

Remove option COMPAT_LINUX

2016-02-27 Thread Christian Weisgerber
Support for running Linux binaries under emulation is going away. The patch below removes "option COMPAT_LINUX" and everything directly tied to it (kernel configuration, #ifdef sections, etc.) from the kernel tree and the corresponding man page documentation. Further, these files

Re: /32 routes don't stick

2016-02-27 Thread Matthieu Herrb
On Sat, Feb 27, 2016 at 03:20:49PM +0100, Martin Pieuchot wrote: > On 26/02/16(Fri) 17:38, Matthieu Herrb wrote: > > My hosting ISP is using a routing model where every machine has > > a IP address with a /32 mask and uses a default route specificed at > > the link level. > [...] > > For OpenBSD

Re: /32 routes don't stick

2016-02-27 Thread Martin Pieuchot
On 26/02/16(Fri) 17:38, Matthieu Herrb wrote: > My hosting ISP is using a routing model where every machine has > a IP address with a /32 mask and uses a default route specificed at > the link level. [...] > For OpenBSD this setup maps to > > hostname.em0: > > inet 92.224.149.DDD/32 > !

Re: Correct error number in crypto(9)

2016-02-27 Thread Mike Belopuhov
On 27 February 2016 at 08:21, Michael McConville wrote: > Michael McConville wrote: >> Michael McConville wrote: >> > Does this make sense? >> >> I just realized that the allocation failure checks earlier in the >> function return ENOBUFS. This probably makes more sense for the

[patch] add UTF-8 support to column(1)

2016-02-27 Thread Martijn van Duren
Hello tech@, Here's my attempt to implement UTF-8 support in column(1). Besides the general UTF-8 conversions it does several other things to make it behave properly. Full changelist is as follow: - Make separator and input full UTF-8 aware. - Do proper character width count. This also fixes

TSIG authentication in libasr

2016-02-27 Thread Peter J. Philipp
Hi, I have a patch for TSIG authentication in libasr. It is enabled by the "tsig" keyword in /etc/resolv.conf. My /etc/resolv.conf looks like this: search centroid.eu #nameserver 192.168.34.1 nameserver 200.46.208.61 tsig secret-key.:DONTTRY lookup file bind The HMAC over the TSIG is

Grammar fix in www/faq/pf/carp.html

2016-02-27 Thread Victor SLiNv
This fix a small fragment sentence in carp.html Index: carp.html === RCS file: /cvs/www/faq/pf/carp.html,v retrieving revision 1.46 diff -u -p -r1.46 carp.html --- carp.html 24 Jan 2016 21:40:35 - 1.46 +++ carp.html 26 Feb