svn commit: r268601 - head/sys/kern

2014-07-13 Thread Kevin Lo
Author: kevlo Date: Mon Jul 14 06:00:01 2014 New Revision: 268601 URL: http://svnweb.freebsd.org/changeset/base/268601 Log: Make bind(2) and connect(2) return EAFNOSUPPORT for AF_UNIX on wrong address family. See https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191586 for the original

Re: svn commit: r268585 - head/contrib/ipfilter/lib

2014-07-13 Thread Cy Schubert
In message <201407131038.s6dac1g5095...@svn.freebsd.org>, Sergey Kandaurov writ es: > Author: pluknet > Date: Sun Jul 13 10:38:01 2014 > New Revision: 268585 > URL: http://svnweb.freebsd.org/changeset/base/268585 > > Log: > Unbreak with gcc. > > I'm tired to see tinderbox spamming. Feel f

svn commit: r268600 - in head/sys: amd64/amd64 cddl/dev/dtrace/amd64 cddl/dev/dtrace/i386 cddl/dev/dtrace/mips cddl/dev/dtrace/powerpc i386/i386 mips/mips powerpc/aim sys

2014-07-13 Thread Mark Johnston
Author: markj Date: Mon Jul 14 04:38:17 2014 New Revision: 268600 URL: http://svnweb.freebsd.org/changeset/base/268600 Log: Invoke the DTrace trap handler before calling trap() on amd64. This matches the upstream implementation and helps ensure that a trap induced by tracing fbt::trap:entry

Re: svn commit: r268584 - head/sys/dev/sound/pci/hda

2014-07-13 Thread Alexander Motin
On 13.07.2014 21:50, Adrian Chadd wrote: > So I have an X230 and a T400 - both require fiddling of the default > sound unit sysctl when I want to use headphones. > > Does this above patch outline what I need to do to get it working dynamically? As a quick and easy solution -- quite likely yes. P

Re: svn commit: r267424 - in head: share/mk tools/build/options

2014-07-13 Thread Julio Merino
On Fri, Jul 11, 2014 at 8:17 PM, Julio Merino wrote: > On Tue, Jul 8, 2014 at 10:34 PM, Julio Merino wrote: >> >> OK. Regardless, I suppose that being able to build HEAD from the >> supported releases is supposed to work? Even from 8.4? Will >> investigate for 9.x. > > Alright. I could reprodu

svn commit: r268598 - head

2014-07-13 Thread Julio Merino
Author: jmmv Date: Sun Jul 13 23:53:41 2014 New Revision: 268598 URL: http://svnweb.freebsd.org/changeset/base/268598 Log: Explicitly disable the build of tests when building bmake. During "make buildworld", building bmake is (one of) the very first steps and we should not be building any

svn commit: r268597 - head/lib/msun/src

2014-07-13 Thread Steve Kargl
Author: kargl Date: Sun Jul 13 23:10:39 2014 New Revision: 268597 URL: http://svnweb.freebsd.org/changeset/base/268597 Log: * Update the comments to agree with commit r226595. * While here, fix a nearby typo in a comment. Modified: head/lib/msun/src/e_pow.c Modified: head/lib/msun/src/e

Re: svn commit: r267760 - head/sys/kern

2014-07-13 Thread Mateusz Guzik
On Sun, Jul 13, 2014 at 04:26:52PM +0300, Konstantin Belousov wrote: > On Fri, Jul 11, 2014 at 01:19:25PM +0200, Mateusz Guzik wrote: > > On Fri, Jul 11, 2014 at 12:55:51PM +0300, Konstantin Belousov wrote: > > > The nolock version requires two atomics on both entry and leave from the > > > protect

Re: svn commit: r268584 - head/sys/dev/sound/pci/hda

2014-07-13 Thread Adrian Chadd
Hi! So I have an X230 and a T400 - both require fiddling of the default sound unit sysctl when I want to use headphones. Does this above patch outline what I need to do to get it working dynamically? -a On 13 July 2014 03:31, Mark Johnston wrote: > Author: markj > Date: Sun Jul 13 10:31:29 2

svn commit: r268596 - head/sys/powerpc/aim

2014-07-13 Thread Alan Cox
Author: alc Date: Sun Jul 13 17:52:07 2014 New Revision: 268596 URL: http://svnweb.freebsd.org/changeset/base/268596 Log: Eliminate an unused variable. Refresh two comments. Modified: head/sys/powerpc/aim/mmu_oea.c Modified: head/sys/powerpc/aim/mmu_oea.c ===

svn commit: r268595 - stable/10/sys/cddl/contrib/opensolaris/uts/common/dtrace

2014-07-13 Thread Pedro F. Giffuni
Author: pfg Date: Sun Jul 13 17:50:50 2014 New Revision: 268595 URL: http://svnweb.freebsd.org/changeset/base/268595 Log: MFC r268290: Merge from OpenSolaris (24-Jul-2010): 6679140 asymmetric alloc/dealloc activity can induce dynamic variable drops 6679193 dtrace_dynvar walker produce

svn commit: r268594 - stable/10/share/examples/bhyve

2014-07-13 Thread John Baldwin
Author: jhb Date: Sun Jul 13 17:49:27 2014 New Revision: 268594 URL: http://svnweb.freebsd.org/changeset/base/268594 Log: MFC 267963: The latest versoin of file/libmagic identifes a filesystem image is identified as "DOS/MBR boot sector" as opposed to "x86 boot sector". This trips up vm

svn commit: r268593 - in head/lib/msun: . ld128 ld80 man src

2014-07-13 Thread Steve Kargl
Author: kargl Date: Sun Jul 13 17:05:03 2014 New Revision: 268593 URL: http://svnweb.freebsd.org/changeset/base/268593 Log: * Makefile: . Add s_erfl.c to building libm. . Add MLINKS for erfl.3 and erfcl.3. * Symbol.map: . Move erfl and erfcl to their proper location. * ld12

svn commit: r268592 - stable/9/sys/conf

2014-07-13 Thread Glen Barber
Author: gjb Date: Sun Jul 13 17:04:22 2014 New Revision: 268592 URL: http://svnweb.freebsd.org/changeset/base/268592 Log: Switch stable/9 back to STABLE now that release/9.3.0 is tagged. Approved by: re (implicit) Sponsored by: The FreeBSD Foundation Modified: stable/9/sys/conf/newv

svn commit: r268591 - in head/sys/powerpc: aim booke powerpc

2014-07-13 Thread Alan Cox
Author: alc Date: Sun Jul 13 16:27:57 2014 New Revision: 268591 URL: http://svnweb.freebsd.org/changeset/base/268591 Log: Implement pmap_unwire(). See r268327 for the motivation behind this change. Modified: head/sys/powerpc/aim/mmu_oea.c head/sys/powerpc/aim/mmu_oea64.c head/sys/powerpc

svn commit: r268590 - head/lib/msun/src

2014-07-13 Thread Steve Kargl
Author: kargl Date: Sun Jul 13 16:24:16 2014 New Revision: 268590 URL: http://svnweb.freebsd.org/changeset/base/268590 Log: * Use 9 digits instead of 11 digits in efx and efx8. * Update the domain and range of comments for the polynomial approximations, including using the the correct v

svn commit: r268589 - head/lib/msun/src

2014-07-13 Thread Steve Kargl
Author: kargl Date: Sun Jul 13 16:05:33 2014 New Revision: 268589 URL: http://svnweb.freebsd.org/changeset/base/268589 Log: * Update the comments that refer to erf[c](nan) and erf[c](+-inf) to use erf[c]f. Modified: head/lib/msun/src/s_erff.c Modified: head/lib/msun/src/s_erff.c

svn commit: r268588 - head/lib/msun/src

2014-07-13 Thread Steve Kargl
Author: kargl Date: Sun Jul 13 15:45:45 2014 New Revision: 268588 URL: http://svnweb.freebsd.org/changeset/base/268588 Log: * Use the volatile qualifier for 'tiny' to prevent compilers from erronously constant folding expressions of the form '1 - tiny'. This allows erf[f](x) to raise IN

svn commit: r268587 - head/lib/msun/src

2014-07-13 Thread Steve Kargl
Author: kargl Date: Sun Jul 13 15:15:51 2014 New Revision: 268587 URL: http://svnweb.freebsd.org/changeset/base/268587 Log: Whitespace. Modified: head/lib/msun/src/s_erf.c Modified: head/lib/msun/src/s_erf.c == --- h

svn commit: r268586 - stable/10/sys/dev/usb/wlan

2014-07-13 Thread Kevin Lo
Author: kevlo Date: Sun Jul 13 15:13:25 2014 New Revision: 268586 URL: http://svnweb.freebsd.org/changeset/base/268586 Log: MFC r268487: Enable 8051 before downloading firmware. Tested by:Carlos Jacobo Puga Medina chip & URTWN_CHIP_88E)) { + urtwn_write_2(sc, R92C_SYS

Re: svn commit: r268566 - head/usr.bin/users

2014-07-13 Thread Alexey Dokuchaev
On Sun, Jul 13, 2014 at 03:59:26PM +0200, Hans Ottevanger wrote: > On 07/12/14 15:27, Alexey Dokuchaev wrote: > > Now the question is, how do we come out of this mess? Shall we redo > > it in C again? Polish C++ version? Merge it with w(1) as suggested? > > More in general, in my experience C++

Re: svn commit: r268566 - head/usr.bin/users

2014-07-13 Thread Hans Ottevanger
On 07/12/14 15:27, Alexey Dokuchaev wrote: > On Sat, Jul 12, 2014 at 01:37:49PM +0100, Bruce Simpson wrote: >> On 12/07/2014 12:34, Bruce Evans wrote: >>> This joke is bad. The C++ version is worse in every way. >> >> I concur with everything you have said in your message. Moral of story: it >> is

Re: svn commit: r267760 - head/sys/kern

2014-07-13 Thread Konstantin Belousov
On Fri, Jul 11, 2014 at 01:19:25PM +0200, Mateusz Guzik wrote: > On Fri, Jul 11, 2014 at 12:55:51PM +0300, Konstantin Belousov wrote: > > On Fri, Jul 11, 2014 at 04:43:51AM +0200, Mateusz Guzik wrote: > > > In both cases the same mechanism blocks both exec and exit, this can be > > > split if neede

svn commit: r268585 - head/contrib/ipfilter/lib

2014-07-13 Thread Sergey Kandaurov
Author: pluknet Date: Sun Jul 13 10:38:01 2014 New Revision: 268585 URL: http://svnweb.freebsd.org/changeset/base/268585 Log: Unbreak with gcc. I'm tired to see tinderbox spamming. Feel free to fix it your way. Modified: head/contrib/ipfilter/lib/printipfexpr.c Modified: head/contrib/i

svn commit: r268584 - head/sys/dev/sound/pci/hda

2014-07-13 Thread Mark Johnston
Author: markj Date: Sun Jul 13 10:31:29 2014 New Revision: 268584 URL: http://svnweb.freebsd.org/changeset/base/268584 Log: Add a headphone redirection quirk for the Lenovo G580. MFC after:1 week Modified: head/sys/dev/sound/pci/hda/hdaa_patches.c head/sys/dev/sound/pci/hda/hdac.h

svn commit: r268583 - head/sys/dev/usb/input

2014-07-13 Thread Hans Petter Selasky
Author: hselasky Date: Sun Jul 13 09:34:59 2014 New Revision: 268583 URL: http://svnweb.freebsd.org/changeset/base/268583 Log: Turn off blinking device leds at attach. MFC after:3 days PR: 183735 Modified: head/sys/dev/usb/input/uhid.c Modified: head/sys/dev/usb/input/uh

Re: svn commit: r268570 - head/sys/kern

2014-07-13 Thread Konstantin Belousov
On Sun, Jul 13, 2014 at 10:01:16AM +0200, Mateusz Guzik wrote: > On Sat, Jul 12, 2014 at 08:10:15PM +0300, Konstantin Belousov wrote: > > On Sat, Jul 12, 2014 at 06:53:47PM +0200, Mateusz Guzik wrote: > > > There can be only one 'struct file' for devctl and devclose is only > > > called when it is

Re: svn commit: r268570 - head/sys/kern

2014-07-13 Thread Mateusz Guzik
On Sat, Jul 12, 2014 at 08:10:15PM +0300, Konstantin Belousov wrote: > On Sat, Jul 12, 2014 at 06:53:47PM +0200, Mateusz Guzik wrote: > > There can be only one 'struct file' for devctl and devclose is only > > called when it is about to be destroyed. > > > > fd = open("/dev/devctl"); > > close(dup

svn commit: r268582 - head/sys/dev/usb/net

2014-07-13 Thread Hans Petter Selasky
Author: hselasky Date: Sun Jul 13 07:39:28 2014 New Revision: 268582 URL: http://svnweb.freebsd.org/changeset/base/268582 Log: Fix performance problems with AXGE network adapter in RX direction: - Remove 4 extra bytes from the ethernet payload. - The maximum RX buffer was incorrectly set. In