svn commit: r273372 - stable/10/share/man/man4

2014-10-21 Thread Alexander Motin
Author: mav Date: Tue Oct 21 06:23:14 2014 New Revision: 273372 URL: https://svnweb.freebsd.org/changeset/base/273372 Log: MFC r262294 (by ivoras): Explain how and where kern.cam.ada.write_cache can be set in practical situations. Modified: stable/10/share/man/man4/ada.4 Directory

svn commit: r273373 - stable/10/share/man/man4

2014-10-21 Thread Alexander Motin
Author: mav Date: Tue Oct 21 06:24:15 2014 New Revision: 273373 URL: https://svnweb.freebsd.org/changeset/base/273373 Log: MFC r262332 (by ivoras): Grammar fix Modified: stable/10/share/man/man4/ada.4 Directory Properties: stable/10/ (props changed) Modified:

svn commit: r273374 - stable/10/share/man/man4

2014-10-21 Thread Alexander Motin
Author: mav Date: Tue Oct 21 06:25:41 2014 New Revision: 273374 URL: https://svnweb.freebsd.org/changeset/base/273374 Log: MFC r271926: Mention read_ahead tunables/sysctls. Modified: stable/10/share/man/man4/ada.4 Directory Properties: stable/10/ (props changed) Modified:

svn commit: r273375 - in head: sys/amd64/include sys/amd64/vmm sys/amd64/vmm/amd sys/amd64/vmm/intel sys/amd64/vmm/io sys/modules/vmm usr.sbin/bhyve usr.sbin/bhyvectl

2014-10-21 Thread Neel Natu
Author: neel Date: Tue Oct 21 07:10:43 2014 New Revision: 273375 URL: https://svnweb.freebsd.org/changeset/base/273375 Log: Merge projects/bhyve_svm into HEAD. After this change bhyve supports AMD processors with the SVM/AMD-V hardware extensions. More details available here:

svn commit: r273376 - head/sys/dev/usb/controller

2014-10-21 Thread Kevin Lo
Author: kevlo Date: Tue Oct 21 07:24:58 2014 New Revision: 273376 URL: https://svnweb.freebsd.org/changeset/base/273376 Log: Add the Intel BayTrail USB device which needs port routing for USB 3.0. Tested on the BayTrail E3845 platform. Reviewed by: hselasky Modified:

svn commit: r273377 - in head: share/man/man9 sys/amd64/amd64 sys/arm/arm sys/cam/scsi sys/cddl/contrib/opensolaris/uts/common/fs/zfs sys/cddl/dev/dtrace sys/compat/ndis sys/dev/acpi_support sys/de...

2014-10-21 Thread Hans Petter Selasky
Author: hselasky Date: Tue Oct 21 07:31:21 2014 New Revision: 273377 URL: https://svnweb.freebsd.org/changeset/base/273377 Log: Fix multiple incorrect SYSCTL arguments in the kernel: - Wrong integer type was specified. - Wrong or missing access specifier. The access specifier

svn commit: r273378 - head/sys/sys

2014-10-21 Thread Hans Petter Selasky
Author: hselasky Date: Tue Oct 21 07:49:34 2014 New Revision: 273378 URL: https://svnweb.freebsd.org/changeset/base/273378 Log: Fix minor typo in currently unused macro. MFC after:3 days Modified: head/sys/sys/sysctl.h Modified: head/sys/sys/sysctl.h

Re: svn commit: r273274 - head/sys/netpfil/ipfw

2014-10-21 Thread David Chisnall
On 19 Oct 2014, at 13:02, Andriy Gapon a...@freebsd.org wrote: I think that on platforms where an optimized version of fls() is available that would work faster than this cool piece of bit magic. If you're lucky, the compiler's idiom recogniser will spot this. You're generally better off

svn commit: r273379 - in stable/10/sys/ofed: drivers/net/mlx4 include/linux/mlx4

2014-10-21 Thread Hans Petter Selasky
Author: hselasky Date: Tue Oct 21 08:24:12 2014 New Revision: 273379 URL: https://svnweb.freebsd.org/changeset/base/273379 Log: MFC r272683: - Fix compile warning when compiling with GCC. - Add missed chunk in previous driver code MFC. Sponsored by: Mellanox Technologies Modified:

svn commit: r273380 - in head/sys: arm/altera/socfpga arm/conf boot/fdt/dts/arm dev/mii

2014-10-21 Thread Ruslan Bukin
Author: br Date: Tue Oct 21 09:14:16 2014 New Revision: 273380 URL: https://svnweb.freebsd.org/changeset/base/273380 Log: Add driver for Micrel KSZ9021 Gigabit Ethernet Transceiver (PHY). Sponsored by: DARPA, AFRL Added: head/sys/dev/mii/micphy.c (contents, props changed) Modified:

svn commit: r273381 - in head: contrib/libcxxrt lib/libcxxrt

2014-10-21 Thread Baptiste Daroussin
Author: bapt Date: Tue Oct 21 10:19:45 2014 New Revision: 273381 URL: https://svnweb.freebsd.org/changeset/base/273381 Log: Add support for __cxa_throw_bad_array_new_length in libcxxrt It is required for use with newer g++49 Differential Revision:

Re: svn commit: r273274 - head/sys/netpfil/ipfw

2014-10-21 Thread Bruce Evans
On Tue, 21 Oct 2014, David Chisnall wrote: On 19 Oct 2014, at 13:02, Andriy Gapon a...@freebsd.org wrote: I think that on platforms where an optimized version of fls() is available that would work faster than this cool piece of bit magic. Even a lightly optimized naive linear search might

svn commit: r273382 - head/contrib/libcxxrt

2014-10-21 Thread Baptiste Daroussin
Author: bapt Date: Tue Oct 21 12:52:01 2014 New Revision: 273382 URL: https://svnweb.freebsd.org/changeset/base/273382 Log: Fix build by marking the new functions as weak This is a temporary fix Modified: head/contrib/libcxxrt/stdexcept.cc Modified: head/contrib/libcxxrt/stdexcept.cc

svn commit: r273383 - stable/10/sys/dev/amdtemp

2014-10-21 Thread Christian Brueffer
Author: brueffer Date: Tue Oct 21 13:07:36 2014 New Revision: 273383 URL: https://svnweb.freebsd.org/changeset/base/273383 Log: MFC: r273034 Add one more AMD Kaveri APU device ID. Submitted by: Remy Nonnenmacher remy.nonnenmac...@activnetworks.com Modified:

svn commit: r273384 - stable/9/sys/dev/amdtemp

2014-10-21 Thread Christian Brueffer
Author: brueffer Date: Tue Oct 21 13:09:52 2014 New Revision: 273384 URL: https://svnweb.freebsd.org/changeset/base/273384 Log: MFC: r273034 Add one more AMD Kaveri APU device ID. Submitted by: Remy Nonnenmacher remy.nonnenmac...@activnetworks.com Modified:

svn commit: r273385 - stable/10/share/man/man8

2014-10-21 Thread Ed Maste
Author: emaste Date: Tue Oct 21 14:47:26 2014 New Revision: 273385 URL: https://svnweb.freebsd.org/changeset/base/273385 Log: Add basic UEFI boot procedure manpage MFC of r273218 and r273235. Added: stable/10/share/man/man8/uefi.8 - copied, changed from r273218,

Re: svn commit: r273377 - in head: share/man/man9 sys/amd64/amd64 sys/arm/arm sys/cam/scsi sys/cddl/contrib/opensolaris/uts/common/fs/zfs sys/cddl/dev/dtrace sys/compat/ndis sys/dev/acpi_support sys/d

2014-10-21 Thread Konstantin Belousov
On Tue, Oct 21, 2014 at 07:31:22AM +, Hans Petter Selasky wrote: Author: hselasky Date: Tue Oct 21 07:31:21 2014 New Revision: 273377 URL: https://svnweb.freebsd.org/changeset/base/273377 Log: Fix multiple incorrect SYSCTL arguments in the kernel: - Wrong integer type was

svn commit: r273386 - releng/10.1/share/man/man8

2014-10-21 Thread Ed Maste
Author: emaste Date: Tue Oct 21 16:20:23 2014 New Revision: 273386 URL: https://svnweb.freebsd.org/changeset/base/273386 Log: Add basic UEFI boot procedure manpage MFS10 of r273385 (r273218,r273235 in HEAD) Approved by: re (gjb) Added: releng/10.1/share/man/man8/uefi.8 -

svn commit: r273387 - stable/9/contrib/libc-vis

2014-10-21 Thread Brooks Davis
Author: brooks Date: Tue Oct 21 16:44:03 2014 New Revision: 273387 URL: https://svnweb.freebsd.org/changeset/base/273387 Log: MFC r271287: Merge from NetBSD: PR/49185: Conrad Meyer: strvisx: Handle zero-length input strings gracefully. (don't abuse 0 to mean compute string length

Re: svn commit: r273017 - head/contrib/netbsd-tests/lib/libc/locale

2014-10-21 Thread Garrett Cooper
On Oct 21, 2014, at 8:22, Warner Losh i...@bsdimp.com wrote: Any reason you added #fidefs around this? It is needed on NetBSD too :) Agreed. NetBSD seems to work thanks to header pollution though. I opened several upstream PRs to fix #include issues. The #ifdefs make it clear how the tests

svn commit: r273388 - head/share/man/man9

2014-10-21 Thread John-Mark Gurney
Author: jmg Date: Tue Oct 21 17:17:40 2014 New Revision: 273388 URL: https://svnweb.freebsd.org/changeset/base/273388 Log: spell out the arguments.. the + *offsetp does not belong w/ the type, move it outside the .Fn macro... Modified: head/share/man/man9/mbuf.9 Modified:

svn commit: r273389 - head/contrib/netbsd-tests/lib/libc/gen

2014-10-21 Thread Garrett Cooper
Author: ngie Date: Tue Oct 21 17:56:06 2014 New Revision: 273389 URL: https://svnweb.freebsd.org/changeset/base/273389 Log: Port lib/libc/gen/t_siginfo to FreeBSD - mcontext_t on FreeBSD doesn't have a __gregs field (it's split out on FreeBSD into separate fields). In order to avoid

svn commit: r273390 - head/contrib/netbsd-tests/lib/libc/stdlib

2014-10-21 Thread Garrett Cooper
Author: ngie Date: Tue Oct 21 17:57:12 2014 New Revision: 273390 URL: https://svnweb.freebsd.org/changeset/base/273390 Log: libutil.h is required for fparseln on FreeBSD Sponsored by: EMC / Isilon Storage Division Modified: head/contrib/netbsd-tests/lib/libc/stdlib/h_getopt.c Modified:

svn commit: r273392 - head/share/man/man9

2014-10-21 Thread John-Mark Gurney
Author: jmg Date: Tue Oct 21 17:59:27 2014 New Revision: 273392 URL: https://svnweb.freebsd.org/changeset/base/273392 Log: it is not cast to a pointer of the specified type, it is cast to the specified type... mtod(m, uint8_t) does not work, mtod(m, uint8_t *) does work.. Modified:

svn commit: r273391 - head/contrib/netbsd-tests/lib/libc/sys

2014-10-21 Thread Garrett Cooper
Author: ngie Date: Tue Oct 21 17:58:53 2014 New Revision: 273391 URL: https://svnweb.freebsd.org/changeset/base/273391 Log: Add missing #include for sys/stat.h for fchmod Sponsored by: EMC / Isilon Storage Division Modified: head/contrib/netbsd-tests/lib/libc/sys/t_access.c Modified:

svn commit: r273394 - head/sys/dev/ixl

2014-10-21 Thread Jim Harris
Author: jimharris Date: Tue Oct 21 18:00:56 2014 New Revision: 273394 URL: https://svnweb.freebsd.org/changeset/base/273394 Log: ixl: remove i40e_register_x710_int.h This file is not used by the FreeBSD ixl driver. Submitted by: Eric Joyner eric.joy...@intel.com MFC after:3 days

svn commit: r273393 - head/contrib/netbsd-tests/lib/libc/sys

2014-10-21 Thread Garrett Cooper
Author: ngie Date: Tue Oct 21 18:00:55 2014 New Revision: 273393 URL: https://svnweb.freebsd.org/changeset/base/273393 Log: Port t_write to FreeBSD - Mark the signo variable for the signal handle __unused - Use limits.h instead of sys/syslimits.h (the latter does not exist on FreeBSD)

svn commit: r273395 - head/contrib/netbsd-tests/lib/libc/sys

2014-10-21 Thread Garrett Cooper
Author: ngie Date: Tue Oct 21 18:01:37 2014 New Revision: 273395 URL: https://svnweb.freebsd.org/changeset/base/273395 Log: Mark osi __unused so this compiles cleanly on FreeBSD Sponsored by: EMC / Isilon Storage Division Modified: head/contrib/netbsd-tests/lib/libc/sys/t_timer_create.c

svn commit: r273396 - head/contrib/netbsd-tests/lib/libc/sys

2014-10-21 Thread Garrett Cooper
Author: ngie Date: Tue Oct 21 18:06:04 2014 New Revision: 273396 URL: https://svnweb.freebsd.org/changeset/base/273396 Log: unlink(/) fails with EISDIR instead of EBUSY on FreeBSD; test for that instead Sponsored by: EMC / Isilon Storage Division Modified:

svn commit: r273397 - head/contrib/netbsd-tests/lib/libc/sys

2014-10-21 Thread Garrett Cooper
Author: ngie Date: Tue Oct 21 18:10:05 2014 New Revision: 273397 URL: https://svnweb.freebsd.org/changeset/base/273397 Log: Port t_chroot to FreeBSD - Add missing #include sys/stat.h for mkdir(2) - Omit the fchroot(2) tests because the support is not present on FreeBSD Sponsored by:

svn commit: r273398 - in stable/9/usr.sbin/bsdconfig: dot dot/include examples include includes share share/media share/packages

2014-10-21 Thread Devin Teske
Author: dteske Date: Tue Oct 21 18:31:08 2014 New Revision: 273398 URL: https://svnweb.freebsd.org/changeset/base/273398 Log: MFC revisions 253175, 268999, 269027, 269351-269352, 269354, 269460, 270283, 270505, 270954, 270989, 273067, and 273068: r253175: Introduce f_which() to common.subr

svn commit: r273399 - in releng/10.1: . crypto/openssl crypto/openssl/apps crypto/openssl/crypto crypto/openssl/crypto/aes/asm crypto/openssl/crypto/asn1 crypto/openssl/crypto/bn crypto/openssl/cry...

2014-10-21 Thread Xin LI
Author: delphij Date: Tue Oct 21 19:00:32 2014 New Revision: 273399 URL: https://svnweb.freebsd.org/changeset/base/273399 Log: MFS r273149 (jkim): MFC: r273144, r273146 Merge OpenSSL 1.0.1j. This is part of an upcoming FreeBSD security advisory. Approved by: re (so@ blanket)

svn commit: r273400 - in head/sys: kern sys

2014-10-21 Thread Mateusz Guzik
Author: mjg Date: Tue Oct 21 19:02:26 2014 New Revision: 273400 URL: https://svnweb.freebsd.org/changeset/base/273400 Log: Rename sysctl_lock and _unlock to sysctl_xlock and _xunlock. Modified: head/sys/kern/kern_linker.c head/sys/kern/kern_sysctl.c head/sys/kern/vfs_init.c

svn commit: r273401 - head/sys/kern

2014-10-21 Thread Mateusz Guzik
Author: mjg Date: Tue Oct 21 19:05:44 2014 New Revision: 273401 URL: https://svnweb.freebsd.org/changeset/base/273401 Log: Implement shared locking for sysctl. Modified: head/sys/kern/kern_sysctl.c Modified: head/sys/kern/kern_sysctl.c

svn commit: r273402 - head/sys/dev/hyperv/storvsc

2014-10-21 Thread Glen Barber
Author: gjb Date: Tue Oct 21 19:36:20 2014 New Revision: 273402 URL: https://svnweb.freebsd.org/changeset/base/273402 Log: Fix an issue where a FreeBSD virtual machine provisioned in the Microsoft Azure service does not recognize the second attached disk on the system. Submitted by:

Re: svn commit: r273372 - stable/10/share/man/man4

2014-10-21 Thread Ivan Klymenko
В Tue, 21 Oct 2014 06:23:15 + (UTC) Alexander Motin m...@freebsd.org пишет: Author: mav Date: Tue Oct 21 06:23:14 2014 New Revision: 273372 URL: https://svnweb.freebsd.org/changeset/base/273372 Log: MFC r262294 (by ivoras): Explain how and where kern.cam.ada.write_cache can be

svn commit: r273403 - head/sys/kern

2014-10-21 Thread Mateusz Guzik
Author: mjg Date: Tue Oct 21 19:45:08 2014 New Revision: 273403 URL: https://svnweb.freebsd.org/changeset/base/273403 Log: Make sysctl name2oid shared-locked as well. This is a follow-up to r273401. Modified: head/sys/kern/kern_sysctl.c Modified: head/sys/kern/kern_sysctl.c

svn commit: r273404 - head/share/mk

2014-10-21 Thread Baptiste Daroussin
Author: bapt Date: Tue Oct 21 19:56:45 2014 New Revision: 273404 URL: https://svnweb.freebsd.org/changeset/base/273404 Log: The dependencies are computed with CC even if sources are C++, when building when building with an external gcc, we want to be able to pass the path to the libc++

svn commit: r273405 - head/share/mk

2014-10-21 Thread Baptiste Daroussin
Author: bapt Date: Tue Oct 21 19:58:23 2014 New Revision: 273405 URL: https://svnweb.freebsd.org/changeset/base/273405 Log: When using an external toolchain note that gcc 4.8+ supports C++11 Submitted by: imp Modified: head/share/mk/bsd.compiler.mk Modified:

svn commit: r273406 - head/share/mk

2014-10-21 Thread Baptiste Daroussin
Author: bapt Date: Tue Oct 21 20:00:49 2014 New Revision: 273406 URL: https://svnweb.freebsd.org/changeset/base/273406 Log: Always use libc++ as the default c++ stack when building with an external gcc 4.8+ While here disable building gcc from base when using gcc 4.8+ Reviewed by: imp

svn commit: r273407 - head/lib/libc++

2014-10-21 Thread Baptiste Daroussin
Author: bapt Date: Tue Oct 21 20:04:05 2014 New Revision: 273407 URL: https://svnweb.freebsd.org/changeset/base/273407 Log: When using an external gcc 4.8+ and not building libstdc++ then create in the objectdir a fake libstdc++.so and libstdc++.a which is a symlink on libc++ that allow g++

svn commit: r273408 - head

2014-10-21 Thread Baptiste Daroussin
Author: bapt Date: Tue Oct 21 20:07:15 2014 New Revision: 273408 URL: https://svnweb.freebsd.org/changeset/base/273408 Log: Make the external toolchain support grows to the knowleged of XXFLAGS for C++ dedicated flags and DEPFLAGS for mkdep flags Pass the path to the libc++ headers in

svn commit: r273409 - head/share/mk

2014-10-21 Thread Baptiste Daroussin
Author: bapt Date: Tue Oct 21 20:11:05 2014 New Revision: 273409 URL: https://svnweb.freebsd.org/changeset/base/273409 Log: Do not make ld(1) warnings fatal anymore, binutils behaviour has changed over the time and gnu.warnings.symbol are now being fatal preventing building world. in

svn commit: r273410 - head/contrib/netbsd-tests/lib/libc/sys

2014-10-21 Thread Garrett Cooper
Author: ngie Date: Tue Oct 21 20:17:05 2014 New Revision: 273410 URL: https://svnweb.freebsd.org/changeset/base/273410 Log: Add sys/socket.h #include for bind(2), et al Sponsored by: EMC / Isilon Storage Division Modified: head/contrib/netbsd-tests/lib/libc/sys/t_connect.c Modified:

svn commit: r273412 - in stable/9: sbin/routed sys/kern usr.sbin/rtsold

2014-10-21 Thread Xin LI
Author: delphij Date: Tue Oct 21 20:20:17 2014 New Revision: 273412 URL: https://svnweb.freebsd.org/changeset/base/273412 Log: Fix rtsold(8) remote buffer overflow vulnerability. [SA-14:20] Fix routed(8) remote denial of service vulnerability. [SA-14:21] Fix memory leak in sandboxed

svn commit: r273411 - in stable/10: sys/kern usr.sbin/rtsold

2014-10-21 Thread Xin LI
Author: delphij Date: Tue Oct 21 20:20:07 2014 New Revision: 273411 URL: https://svnweb.freebsd.org/changeset/base/273411 Log: Fix rtsold(8) remote buffer overflow vulnerability. [SA-14:20] Fix memory leak in sandboxed namei lookup. [SA-14:22] Modified: stable/10/sys/kern/vfs_lookup.c

svn commit: r273413 - stable/8/sbin/routed

2014-10-21 Thread Xin LI
Author: delphij Date: Tue Oct 21 20:20:26 2014 New Revision: 273413 URL: https://svnweb.freebsd.org/changeset/base/273413 Log: Fix routed(8) remote denial of service vulnerability. [SA-14:21] Modified: stable/8/sbin/routed/input.c Modified: stable/8/sbin/routed/input.c

svn commit: r273414 - in releng/10.1: sbin/routed sys/kern usr.sbin/rtsold

2014-10-21 Thread Xin LI
Author: delphij Date: Tue Oct 21 20:20:36 2014 New Revision: 273414 URL: https://svnweb.freebsd.org/changeset/base/273414 Log: Fix rtsold(8) remote buffer overflow vulnerability. [SA-14:20] Fix routed(8) remote denial of service vulnerability. [SA-14:21] Fix memory leak in sandboxed

svn commit: r273415 - in releng: 10.0 10.0/crypto/openssl/apps 10.0/crypto/openssl/ssl 10.0/sbin/routed 10.0/sys/conf 10.0/sys/kern 10.0/usr.sbin/rtsold 9.1 9.1/crypto/openssl/apps 9.1/crypto/opens...

2014-10-21 Thread Xin LI
older versions of FreeBSD, try WITH stable/10, and then rebuild without this option. The bootstrap process from older version of current is a bit fragile. +20141021: p10 FreeBSD-SA-14:20.rtsold + FreeBSD-SA-14:21.routed + FreeBSD-SA-14:22.namei

svn commit: r273416 - in releng/8.4: . crypto/openssl/apps crypto/openssl/crypto/err crypto/openssl/doc/apps crypto/openssl/doc/ssl crypto/openssl/ssl sbin/routed sys/conf

2014-10-21 Thread Xin LI
TO PEOPLE WHO THINK THAT FreeBSD 8. debugging tools present in HEAD were left in place because sun4v support still needs work to become production ready. +20141021: p17 FreeBSD-SA-14:21.routed + FreeBSD-SA-14:23.openssl + + Fix routed(8) remote denial

svn commit: r273417 - head

2014-10-21 Thread Warner Losh
Author: imp Date: Tue Oct 21 20:29:42 2014 New Revision: 273417 URL: https://svnweb.freebsd.org/changeset/base/273417 Log: You aren't allowed to test WITH_xxx or WITHOUT_xxx here, so remove it. Even if you were allowed to test for it, the test makes no sense as it always results in adding

svn commit: r273418 - head

2014-10-21 Thread Warner Losh
Author: imp Date: Tue Oct 21 20:29:51 2014 New Revision: 273418 URL: https://svnweb.freebsd.org/changeset/base/273418 Log: Generate both userland and kernel option settings for showconfig. PR: 191920 Modified: head/Makefile.inc1 Modified: head/Makefile.inc1

svn commit: r273419 - head/share/mk

2014-10-21 Thread Warner Losh
Author: imp Date: Tue Oct 21 20:29:53 2014 New Revision: 273419 URL: https://svnweb.freebsd.org/changeset/base/273419 Log: For the kernel, we have USB_GADGET_EXAMPLES as defaults to yes. For userland defaults to no. This caused issues for the automated option documenation script. Turns out,

svn commit: r273420 - head/share/man/man5

2014-10-21 Thread Ed Maste
Author: emaste Date: Tue Oct 21 20:41:19 2014 New Revision: 273420 URL: https://svnweb.freebsd.org/changeset/base/273420 Log: Regenerate after r273418 Modified: head/share/man/man5/src.conf.5 Modified: head/share/man/man5/src.conf.5

svn commit: r273421 - head/tools/build/options

2014-10-21 Thread Ed Maste
Author: emaste Date: Tue Oct 21 20:44:33 2014 New Revision: 273421 URL: https://svnweb.freebsd.org/changeset/base/273421 Log: Fix typo in src option description Modified: head/tools/build/options/WITHOUT_GNU_GREP_COMPAT Modified: head/tools/build/options/WITHOUT_GNU_GREP_COMPAT

Re: svn commit: r273377 - in head: share/man/man9 sys/amd64/amd64 sys/arm/arm sys/cam/scsi sys/cddl/contrib/opensolaris/uts/common/fs/zfs sys/cddl/dev/dtrace sys/compat/ndis sys/dev/acpi_support sys/d

2014-10-21 Thread Hans Petter Selasky
On 10/21/14 18:16, Konstantin Belousov wrote: On Tue, Oct 21, 2014 at 07:31:22AM +, Hans Petter Selasky wrote: Author: hselasky Date: Tue Oct 21 07:31:21 2014 New Revision: 273377 URL: https://svnweb.freebsd.org/changeset/base/273377 Log: Fix multiple incorrect SYSCTL arguments in the

Re: svn commit: r273335 - head/sys/fs/unionfs

2014-10-21 Thread Slawa Olhovchenkov
On Mon, Oct 20, 2014 at 05:53:49PM +, Mateusz Guzik wrote: Author: mjg Date: Mon Oct 20 17:53:49 2014 New Revision: 273335 URL: https://svnweb.freebsd.org/changeset/base/273335 Log: unionfs: hold mount interlock while manipulating mnt_flag This is for consistency with other

svn commit: r273423 - head/sys/powerpc/powerpc

2014-10-21 Thread Hans Petter Selasky
Author: hselasky Date: Tue Oct 21 21:04:44 2014 New Revision: 273423 URL: https://svnweb.freebsd.org/changeset/base/273423 Log: Use the UAUTO SYSCTL type for exporting the bounce zone alignment, because the variable size depends on the build type. Reported by: kib @ MFC after:3

svn commit: r273424 - head/sys/kern

2014-10-21 Thread Mateusz Guzik
Author: mjg Date: Tue Oct 21 21:08:45 2014 New Revision: 273424 URL: https://svnweb.freebsd.org/changeset/base/273424 Log: Mark some more sysctl stuff shared-locked and MPSAFE. Modified: head/sys/kern/kern_sysctl.c Modified: head/sys/kern/kern_sysctl.c

svn commit: r273426 - head/share/mk

2014-10-21 Thread Baptiste Daroussin
Author: bapt Date: Tue Oct 21 21:09:54 2014 New Revision: 273426 URL: https://svnweb.freebsd.org/changeset/base/273426 Log: older binutils does not know about --no-fatal-warnings Modified: head/share/mk/bsd.lib.mk Modified: head/share/mk/bsd.lib.mk

svn commit: r273425 - stable/9/lib/libcrypt

2014-10-21 Thread Xin LI
Author: delphij Date: Tue Oct 21 21:09:54 2014 New Revision: 273425 URL: https://svnweb.freebsd.org/changeset/base/273425 Log: MFC r272830 (des): Change the hardcoded default back from SHA512 to DES. This will become EN-14:11.crypt. PR: 192277 Modified:

svn commit: r273427 - stable/9/usr.sbin/pw

2014-10-21 Thread Xin LI
Author: delphij Date: Tue Oct 21 21:11:25 2014 New Revision: 273427 URL: https://svnweb.freebsd.org/changeset/base/273427 Log: MFC r272833 (des): Two more places where login_setcryptfmt() defaults to MD5 were missed in r252688. Modified: stable/9/usr.sbin/pw/pw_user.c Directory

svn commit: r273428 - head/share/mk

2014-10-21 Thread Baptiste Daroussin
Author: bapt Date: Tue Oct 21 21:17:44 2014 New Revision: 273428 URL: https://svnweb.freebsd.org/changeset/base/273428 Log: Revert r273426 r273409 A solution that work with both new and old binutils should be investigated Modified: head/share/mk/bsd.lib.mk Modified:

svn commit: r273429 - stable/10/sys/dev/hyperv/storvsc

2014-10-21 Thread Glen Barber
Author: gjb Date: Tue Oct 21 21:27:13 2014 New Revision: 273429 URL: https://svnweb.freebsd.org/changeset/base/273429 Log: MFC r273402: Fix an issue where a FreeBSD virtual machine provisioned in the Microsoft Azure service does not recognize the second attached disk on the system.

svn commit: r273430 - head/sys/fs/tmpfs

2014-10-21 Thread Mateusz Guzik
Author: mjg Date: Tue Oct 21 21:27:13 2014 New Revision: 273430 URL: https://svnweb.freebsd.org/changeset/base/273430 Log: tmpfs: allow shared file lookups Tested by: pho Modified: head/sys/fs/tmpfs/tmpfs_vfsops.c Modified: head/sys/fs/tmpfs/tmpfs_vfsops.c

svn commit: r273431 - head/sys/kern

2014-10-21 Thread Mateusz Guzik
Author: mjg Date: Tue Oct 21 21:29:20 2014 New Revision: 273431 URL: https://svnweb.freebsd.org/changeset/base/273431 Log: Take the lock shared in linker_search_symbol_name. This helps sysctl kern.proc.stack. Modified: head/sys/kern/kern_linker.c Modified: head/sys/kern/kern_linker.c

Re: svn commit: r273274 - head/sys/netpfil/ipfw

2014-10-21 Thread Luigi Rizzo
On Sun, Oct 19, 2014 at 03:02:07PM +0300, Andriy Gapon wrote: On 19/10/2014 14:15, Alexander V. Chernikov wrote: +static uint32_t +roundup2p(uint32_t v) +{ + + v--; + v |= v 1; + v |= v 2; + v |= v 4; + v |= v 8; + v |= v 16; + v++; + + return (v);

svn commit: r273432 - head/sys/sys stable/10/sys/sys stable/8/sys/sys stable/9/sys/sys

2014-10-21 Thread Glen Barber
Author: gjb Date: Tue Oct 21 21:37:53 2014 New Revision: 273432 URL: https://svnweb.freebsd.org/changeset/base/273432 Log: Bump __FreeBSD_version to track SA-14:20, SA-14:21, SA-14:22, SA-14:23 Approved by: re (implicit) Sponsored by: The FreeBSD Foundation Modified:

svn commit: r273432 - head/sys/sys stable/10/sys/sys stable/8/sys/sys stable/9/sys/sys

2014-10-21 Thread Glen Barber
Author: gjb Date: Tue Oct 21 21:37:53 2014 New Revision: 273432 URL: https://svnweb.freebsd.org/changeset/base/273432 Log: Bump __FreeBSD_version to track SA-14:20, SA-14:21, SA-14:22, SA-14:23 Approved by: re (implicit) Sponsored by: The FreeBSD Foundation Modified:

svn commit: r273432 - head/sys/sys stable/10/sys/sys stable/8/sys/sys stable/9/sys/sys

2014-10-21 Thread Glen Barber
Author: gjb Date: Tue Oct 21 21:37:53 2014 New Revision: 273432 URL: https://svnweb.freebsd.org/changeset/base/273432 Log: Bump __FreeBSD_version to track SA-14:20, SA-14:21, SA-14:22, SA-14:23 Approved by: re (implicit) Sponsored by: The FreeBSD Foundation Modified:

svn commit: r273432 - head/sys/sys stable/10/sys/sys stable/8/sys/sys stable/9/sys/sys

2014-10-21 Thread Glen Barber
Author: gjb Date: Tue Oct 21 21:37:53 2014 New Revision: 273432 URL: https://svnweb.freebsd.org/changeset/base/273432 Log: Bump __FreeBSD_version to track SA-14:20, SA-14:21, SA-14:22, SA-14:23 Approved by: re (implicit) Sponsored by: The FreeBSD Foundation Modified:

Re: svn commit: r273400 - in head/sys: kern sys

2014-10-21 Thread Bjoern A. Zeeb
On 21 Oct 2014, at 19:02 , Mateusz Guzik m...@freebsd.org wrote: Author: mjg Date: Tue Oct 21 19:02:26 2014 New Revision: 273400 URL: https://svnweb.freebsd.org/changeset/base/273400 Log: Rename sysctl_lock and _unlock to sysctl_xlock and _xunlock. You are perfectly describing what you

svn commit: r273433 - releng/10.1/release/doc/en_US.ISO8859-1/relnotes stable/9/release/doc/en_US.ISO8859-1/errata

2014-10-21 Thread Glen Barber
Author: gjb Date: Tue Oct 21 21:44:24 2014 New Revision: 273433 URL: https://svnweb.freebsd.org/changeset/base/273433 Log: Document the following security advisories: FreeBSD-SA-14:20.rtsold FreeBSD-SA-14:21.routed FreeBSD-SA-14:22.namei FreeBSD-SA-14:23.openssl Approved by:

svn commit: r273433 - releng/10.1/release/doc/en_US.ISO8859-1/relnotes stable/9/release/doc/en_US.ISO8859-1/errata

2014-10-21 Thread Glen Barber
Author: gjb Date: Tue Oct 21 21:44:24 2014 New Revision: 273433 URL: https://svnweb.freebsd.org/changeset/base/273433 Log: Document the following security advisories: FreeBSD-SA-14:20.rtsold FreeBSD-SA-14:21.routed FreeBSD-SA-14:22.namei FreeBSD-SA-14:23.openssl Approved by:

Re: svn commit: r273400 - in head/sys: kern sys

2014-10-21 Thread Mateusz Guzik
On Tue, Oct 21, 2014 at 09:40:38PM +, Bjoern A. Zeeb wrote: On 21 Oct 2014, at 19:02 , Mateusz Guzik m...@freebsd.org wrote: Author: mjg Date: Tue Oct 21 19:02:26 2014 New Revision: 273400 URL: https://svnweb.freebsd.org/changeset/base/273400 Log: Rename sysctl_lock and

Re: svn commit: r273274 - head/sys/netpfil/ipfw

2014-10-21 Thread Dag-Erling Smørgrav
Luigi Rizzo ri...@iet.unipi.it writes: This code is not performance critical. I wouldn't bother optimizing it. So just use fls() or flsl(). DES -- Dag-Erling Smørgrav - d...@des.no ___ svn-src-all@freebsd.org mailing list

svn commit: r273434 - head/contrib/libc++/src

2014-10-21 Thread Baptiste Daroussin
Author: bapt Date: Tue Oct 21 21:49:06 2014 New Revision: 273434 URL: https://svnweb.freebsd.org/changeset/base/273434 Log: Do not define bad_array_new_length::bad_array_new_length in libc++ anymore when used in combinaison with libcxxrt since it is now defined there already. This fixes

svn commit: r273435 - releng/10.1/sys/dev/hyperv/storvsc

2014-10-21 Thread Glen Barber
Author: gjb Date: Tue Oct 21 23:07:30 2014 New Revision: 273435 URL: https://svnweb.freebsd.org/changeset/base/273435 Log: MFstable10 r273429: MFC r273402: Fix an issue where a FreeBSD virtual machine provisioned in the Microsoft Azure service does not recognize the second

svn commit: r273436 - in head/sys: i386/ibcs2 kern sys

2014-10-21 Thread Mateusz Guzik
Author: mjg Date: Tue Oct 21 23:08:46 2014 New Revision: 273436 URL: https://svnweb.freebsd.org/changeset/base/273436 Log: Eliminate unnecessary memory allocation in sys_getgroups and its ibcs2 counterpart. Modified: head/sys/i386/ibcs2/ibcs2_misc.c head/sys/kern/kern_prot.c

svn commit: r273437 - releng/10.1/sys/conf

2014-10-21 Thread Glen Barber
Author: gjb Date: Tue Oct 21 23:09:09 2014 New Revision: 273437 URL: https://svnweb.freebsd.org/changeset/base/273437 Log: Update releng/10.1 to -RC3 as part of the 10.1-RELEASE cycle. Approved by: re (implicit) Sponsored by: The FreeBSD Foundation Modified:

svn commit: r273438 - in releng/9.3: . contrib/tzdata lib/libcrypt sys/conf

2014-10-21 Thread Xin LI
+ + Time zone data file update. [EN-14:10] + + Change crypt(3) default hashing algorithm back to DES. [EN-14:11] + 20141021: p3 FreeBSD-SA-14:20.rtsold FreeBSD-SA-14:21.routed FreeBSD-SA-14:22.namei Modified: releng/9.3/contrib/tzdata

svn commit: r273439 - in releng: 10.0 10.0/contrib/tzdata 10.0/sys/conf 8.4 8.4/share/zoneinfo 8.4/sys/conf 9.1 9.1/contrib/tzdata 9.1/sys/conf 9.2 9.2/contrib/tzdata 9.2/sys/conf

2014-10-21 Thread Xin LI
versions of FreeBSD, try WITH stable/10, and then rebuild without this option. The bootstrap process from older version of current is a bit fragile. +20141022: p11 FreeBSD-EN-14:10.tzdata + + Time zone data file update. [EN-14:10] + 20141021: p10 FreeBSD-SA-14:20.rtsold

Re: svn commit: r273406 - head/share/mk

2014-10-21 Thread Steve Kargl
On Tue, Oct 21, 2014 at 08:00:50PM +, Baptiste Daroussin wrote: Author: bapt Date: Tue Oct 21 20:00:49 2014 New Revision: 273406 URL: https://svnweb.freebsd.org/changeset/base/273406 Log: Always use libc++ as the default c++ stack when building with an external gcc 4.8+ While

svn commit: r273441 - in head/sys: kern sys

2014-10-21 Thread Mateusz Guzik
Author: mjg Date: Wed Oct 22 00:23:43 2014 New Revision: 273441 URL: https://svnweb.freebsd.org/changeset/base/273441 Log: filedesc: cleanup setugidsafety a little Rename it to fdsetugidsafety for consistency with other functions. There is no need to take filedesc lock if not closing

svn commit: r273442 - head/contrib/elftoolchain/libelf

2014-10-21 Thread Marcel Moolenaar
Author: marcel Date: Wed Oct 22 00:58:50 2014 New Revision: 273442 URL: https://svnweb.freebsd.org/changeset/base/273442 Log: GCC for PowerPC does not align .note sections to 4 bytes. When running ctfmerge on its objects, libelf asserts as it expects .note sections to be 4-byte aligned.

svn commit: r273443 - head/contrib/elftoolchain/libelf

2014-10-21 Thread Marcel Moolenaar
Author: marcel Date: Wed Oct 22 01:04:16 2014 New Revision: 273443 URL: https://svnweb.freebsd.org/changeset/base/273443 Log: Fix the conversion macro for .note sections, broken in the case the ELF file's byte order is not the native byte order. The bug is that the variables holding the

svn commit: r273444 - head/sys/kern

2014-10-21 Thread Mateusz Guzik
Author: mjg Date: Wed Oct 22 01:09:07 2014 New Revision: 273444 URL: https://svnweb.freebsd.org/changeset/base/273444 Log: Avoid crdup when possible in kern_accessat. While here tidy up a little. Modified: head/sys/kern/vfs_syscalls.c Modified: head/sys/kern/vfs_syscalls.c

Re: svn commit: r273417 - head

2014-10-21 Thread Dag-Erling Smørgrav
Warner Losh i...@freebsd.org writes: Author: imp Date: Tue Oct 21 20:29:42 2014 New Revision: 273417 URL: https://svnweb.freebsd.org/changeset/base/273417 Log: You aren't allowed to test WITH_xxx or WITHOUT_xxx here, so remove it. Even if you were allowed to test for it, the test makes

svn commit: r273445 - head/sys/sys

2014-10-21 Thread Warner Losh
Author: imp Date: Wed Oct 22 01:35:30 2014 New Revision: 273445 URL: https://svnweb.freebsd.org/changeset/base/273445 Log: Add defines for various FIRST PARTY DMA SEND subcommands. Modified: head/sys/sys/ata.h Modified: head/sys/sys/ata.h

svn commit: r273446 - head/sys/x86/isa

2014-10-21 Thread Marcel Moolenaar
Author: marcel Date: Wed Oct 22 01:37:32 2014 New Revision: 273446 URL: https://svnweb.freebsd.org/changeset/base/273446 Log: Virtual machines can easily have more than 16 option ROMs and when that happens, we happily access our resource array out of bounds. Make sure we stay within the

svn commit: r273447 - head/sys/kern

2014-10-21 Thread Mateusz Guzik
Author: mjg Date: Wed Oct 22 01:53:00 2014 New Revision: 273447 URL: https://svnweb.freebsd.org/changeset/base/273447 Log: Reduce nesting in vn_access. No functional changes. Modified: head/sys/kern/vfs_syscalls.c Modified: head/sys/kern/vfs_syscalls.c

Re: svn commit: r273417 - head

2014-10-21 Thread Warner Losh
On Oct 21, 2014, at 7:25 PM, Dag-Erling Smørgrav d...@des.no wrote: Warner Losh i...@freebsd.org writes: Author: imp Date: Tue Oct 21 20:29:42 2014 New Revision: 273417 URL: https://svnweb.freebsd.org/changeset/base/273417 Log: You aren't allowed to test WITH_xxx or WITHOUT_xxx here,

svn commit: r273449 - in head: . lib share/mk

2014-10-21 Thread Warner Losh
Author: imp Date: Wed Oct 22 03:39:11 2014 New Revision: 273449 URL: https://svnweb.freebsd.org/changeset/base/273449 Log: My previous commit exposed an issue as it fixed a different issue. lib/atf isn't a prereq_lib, since it isn't required for other libraries to build. Remove it. The old

svn commit: r273450 - stable/10/sys/sys

2014-10-21 Thread Bryan Venteicher
Author: bryanv Date: Wed Oct 22 04:01:27 2014 New Revision: 273450 URL: https://svnweb.freebsd.org/changeset/base/273450 Log: MFC r272796: Add M_FLOWID to M_COPYFLAGS The M_FLOWID flag should be propagated to the new mbuf pkthdr in m_move_pkthdr() and m_dup_pkthdr(). The new mbuf

Re: svn commit: r273406 - head/share/mk

2014-10-21 Thread Warner Losh
On Oct 21, 2014, at 6:07 PM, Steve Kargl s...@troutmask.apl.washington.edu wrote: On Tue, Oct 21, 2014 at 08:00:50PM +, Baptiste Daroussin wrote: Author: bapt Date: Tue Oct 21 20:00:49 2014 New Revision: 273406 URL: https://svnweb.freebsd.org/changeset/base/273406 Log: Always use

svn commit: r273451 - stable/10/sys/vm

2014-10-21 Thread Bryan Venteicher
Author: bryanv Date: Wed Oct 22 04:09:47 2014 New Revision: 273451 URL: https://svnweb.freebsd.org/changeset/base/273451 Log: MFC r272573: Change the UMA mutex into a rwlock Acquire the lock in read mode when just needed to ensure the stability of the keg list. The UMA lock

svn commit: r273452 - head/sys/kern

2014-10-21 Thread Mateusz Guzik
Author: mjg Date: Wed Oct 22 04:16:09 2014 New Revision: 273452 URL: https://svnweb.freebsd.org/changeset/base/273452 Log: Plug unnecessary PRS_NEW check in kern_procctl. pfind does not return processes in such state. Modified: head/sys/kern/sys_process.c Modified:

svn commit: r273453 - head/sys/netpfil/ipfw

2014-10-21 Thread Luigi Rizzo
Author: luigi Date: Wed Oct 22 05:21:36 2014 New Revision: 273453 URL: https://svnweb.freebsd.org/changeset/base/273453 Log: remove/fix old code for building ipfw and dummynet in userspace Modified: head/sys/netpfil/ipfw/ip_dn_io.c head/sys/netpfil/ipfw/ip_fw_private.h