svn commit: r292603 - in head/sys: net netinet

2015-12-22 Thread Bjoern A. Zeeb
Author: bz Date: Tue Dec 22 15:00:04 2015 New Revision: 292603 URL: https://svnweb.freebsd.org/changeset/base/292603 Log: If bootverbose is enabled every vnet startup and virtual interface creation will print extra lines on the console. We are generally not interested in this (repeated)

svn commit: r292604 - head/sys/net

2015-12-22 Thread Bjoern A. Zeeb
Author: bz Date: Tue Dec 22 15:03:45 2015 New Revision: 292604 URL: https://svnweb.freebsd.org/changeset/base/292604 Log: If vnets are torn down while ifconfig runs an ioctl to say, destroy an epair(4), we may hit if_detach_internal() without holding a lock and by the time we aquire it the

svn commit: r292605 - head/usr.sbin/cron/cron

2015-12-22 Thread Pedro F. Giffuni
Author: pfg Date: Tue Dec 22 15:20:08 2015 New Revision: 292605 URL: https://svnweb.freebsd.org/changeset/base/292605 Log: crontab: replace malloc + bzero with calloc Obtained from:OpenBSD (Rev 1.20) Modified: head/usr.sbin/cron/cron/popen.c Modified:

svn commit: r292606 - head/usr.sbin/cron/crontab

2015-12-22 Thread Pedro F. Giffuni
Author: pfg Date: Tue Dec 22 15:30:26 2015 New Revision: 292606 URL: https://svnweb.freebsd.org/changeset/base/292606 Log: crontab: properly free an entry This should close memory leak. Obtained from:OpenBSD (rev. 1.62) CID: 271773 Modified:

svn commit: r292607 - head/usr.sbin/cron/cron

2015-12-22 Thread Pedro F. Giffuni
Author: pfg Date: Tue Dec 22 15:32:45 2015 New Revision: 292607 URL: https://svnweb.freebsd.org/changeset/base/292607 Log: cron: Check the return value of pipe(2) Fix inspired by: OpenBSD (rev 1.56) CID: 1009830 Modified: head/usr.sbin/cron/cron/do_command.c Modified:

svn commit: r292608 - head/usr.sbin/cron/cron

2015-12-22 Thread Pedro F. Giffuni
Author: pfg Date: Tue Dec 22 15:42:53 2015 New Revision: 292608 URL: https://svnweb.freebsd.org/changeset/base/292608 Log: Undo change from r292607 that was not meant to be there Pointyhat: me Modified: head/usr.sbin/cron/cron/do_command.c Modified: head/usr.sbin/cron/cron/do_command.c

svn commit: r292625 - in head/sys/boot/efi: include include/amd64 include/arm64 include/i386 libefi

2015-12-22 Thread Ed Maste
Author: emaste Date: Tue Dec 22 20:40:34 2015 New Revision: 292625 URL: https://svnweb.freebsd.org/changeset/base/292625 Log: Revert accidental whitespace changes included with r292623 Modified: head/sys/boot/efi/include/amd64/efibind.h head/sys/boot/efi/include/amd64/pe.h

svn commit: r292627 - head/contrib/gcc/config/rs6000

2015-12-22 Thread Andreas Tobler
Author: andreast Date: Tue Dec 22 21:26:50 2015 New Revision: 292627 URL: https://svnweb.freebsd.org/changeset/base/292627 Log: Silence a boring warning. Modified: head/contrib/gcc/config/rs6000/sysv4.h Modified: head/contrib/gcc/config/rs6000/sysv4.h

svn commit: r292614 - stable/10/sys/dev/if_ndis

2015-12-22 Thread Gleb Smirnoff
Author: glebius Date: Tue Dec 22 18:39:07 2015 New Revision: 292614 URL: https://svnweb.freebsd.org/changeset/base/292614 Log: Merge r292411: Fix regression in if_ndis in r280347. Modified: stable/10/sys/dev/if_ndis/if_ndis_pci.c Directory Properties: stable/10/ (props changed)

svn commit: r292617 - stable/9/sys/dev/qlxgbe

2015-12-22 Thread David C Somayajulu
Author: davidcs Date: Tue Dec 22 19:41:40 2015 New Revision: 292617 URL: https://svnweb.freebsd.org/changeset/base/292617 Log: MFC r289635 ql_hw.c: fixed error code INJCT_HEARTBEAT_FAILURE ql_os.c: removed unnecessary debug printf ql_ver.h: updated version number Modified:

svn commit: r292616 - head/tools/tools/nanobsd/embedded

2015-12-22 Thread Warner Losh
Author: imp Date: Tue Dec 22 19:40:34 2015 New Revision: 292616 URL: https://svnweb.freebsd.org/changeset/base/292616 Log: Delete the DOS dir to mirror what we do with NANO_WORLDDIR. Copy ubldr and ubldr.bin to the dos partition when we're making it. Minor style fixes. Modified:

svn commit: r292619 - head/sys/amd64/include

2015-12-22 Thread Garrett Cooper
Author: ngie Date: Tue Dec 22 20:08:32 2015 New Revision: 292619 URL: https://svnweb.freebsd.org/changeset/base/292619 Log: Remove redundant ctx_switch_xsave declaration in sys/amd64/include/md_var.h This variable was added to sys/x86/include/x86_var.h recently. This unbreaks building

svn commit: r292621 - head/sys/fs/devfs

2015-12-22 Thread Konstantin Belousov
Author: kib Date: Tue Dec 22 20:22:17 2015 New Revision: 292621 URL: https://svnweb.freebsd.org/changeset/base/292621 Log: Keep devfs mount locked for the whole duration of the devfs_setattr(), and ensure that our dirent is instantiated. Reported and tested by: bde Sponsored by:

svn commit: r292624 - in head/sys: fs/devfs sys

2015-12-22 Thread Konstantin Belousov
Author: kib Date: Tue Dec 22 20:37:34 2015 New Revision: 292624 URL: https://svnweb.freebsd.org/changeset/base/292624 Log: Make it possible for the cdevsw d_close() driver method to detect last close and close due to revoke(2)-like operation. A new FLASTCLOSE flag indicates that this is

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

2015-12-22 Thread John Baldwin
On Tuesday, December 22, 2015 09:07:33 PM Garrett Cooper wrote: > Author: ngie > Date: Tue Dec 22 21:07:33 2015 > New Revision: 292626 > URL: https://svnweb.freebsd.org/changeset/base/292626 > > Log: > Fold lim_shared into lim_copy to mute a -Wunused compiler warning from > clang when the

svn commit: r292639 - head/sys/dev/bxe

2015-12-22 Thread David C Somayajulu
Author: davidcs Date: Wed Dec 23 03:19:12 2015 New Revision: 292639 URL: https://svnweb.freebsd.org/changeset/base/292639 Log: Add support for firmware dump (a.k.a grcdump) MFC after:5 days Added: head/sys/dev/bxe/bxe_dump.h (contents, props changed) head/sys/dev/bxe/bxe_ioctl.h

svn commit: r292638 - head/sys/dev/bxe

2015-12-22 Thread David C Somayajulu
Author: davidcs Date: Wed Dec 23 01:31:32 2015 New Revision: 292638 URL: https://svnweb.freebsd.org/changeset/base/292638 Log: Check for packet_length is greater than 60 bytes as well as packet_length is greater than len_on_bd, before invoking the routine to handle jumbo over SGL

svn commit: r292622 - in head: lib/libsysdecode usr.bin/kdump usr.bin/truss

2015-12-22 Thread John Baldwin
Author: jhb Date: Tue Dec 22 20:33:49 2015 New Revision: 292622 URL: https://svnweb.freebsd.org/changeset/base/292622 Log: Move the mkioctls script to libsysdecode and use it to generate a sysdecode_ioctlname() function. This function matches the behavior of the truss variant in that it

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

2015-12-22 Thread Bruce Evans
On Tue, 22 Dec 2015, Konstantin Belousov wrote: Log: If we annoy user with the terminal output due to failed load of interpreter, also show the actual error code instead of some interpretation. This and nearby messages are of annoyingly low quality. They don't even print the program

Re: svn commit: r292621 - head/sys/fs/devfs

2015-12-22 Thread Bruce Evans
On Tue, 22 Dec 2015, Konstantin Belousov wrote: Log: Keep devfs mount locked for the whole duration of the devfs_setattr(), and ensure that our dirent is instantiated. Reported and tested by:bde Sponsored by: The FreeBSD Foundation MFC after: 1 week Thanks. This is part of

Re: svn commit: r292469 - in head/sys: dev/drm2/ttm mips/include mips/mips vm

2015-12-22 Thread Justin Hibbits
On Dec 22, 2015 18:48, "NGie Cooper" wrote: > > > > On Dec 22, 2015, at 13:51, Ed Maste wrote: > > > > On 19 December 2015 at 13:42, Alan Cox wrote: > >> Author: alc > >> Date: Sat Dec 19 18:42:50 2015 > >> New Revision: 292469 > >>

Re: svn commit: r292469 - in head/sys: dev/drm2/ttm mips/include mips/mips vm

2015-12-22 Thread Ed Maste
On 19 December 2015 at 13:42, Alan Cox wrote: > Author: alc > Date: Sat Dec 19 18:42:50 2015 > New Revision: 292469 > URL: https://svnweb.freebsd.org/changeset/base/292469 > > Log: > Introduce a new mechanism for relocating virtual pages to a new physical > address and use

Re: svn commit: r292469 - in head/sys: dev/drm2/ttm mips/include mips/mips vm

2015-12-22 Thread NGie Cooper
> On Dec 22, 2015, at 13:51, Ed Maste wrote: > > On 19 December 2015 at 13:42, Alan Cox wrote: >> Author: alc >> Date: Sat Dec 19 18:42:50 2015 >> New Revision: 292469 >> URL: https://svnweb.freebsd.org/changeset/base/292469 >> >> Log: >> Introduce a new

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

2015-12-22 Thread NGie Cooper
> On Dec 22, 2015, at 13:17, John Baldwin wrote: > > On Tuesday, December 22, 2015 09:07:33 PM Garrett Cooper wrote: … > It shouldn't be zero, I think == 1 would be best actually. I’ll boot up GENERIC and see whether or not it works with == 1. Thanks :)! -NGie

svn commit: r292629 - head/contrib/libexecinfo

2015-12-22 Thread Baptiste Daroussin
Author: bapt Date: Tue Dec 22 22:40:42 2015 New Revision: 292629 URL: https://svnweb.freebsd.org/changeset/base/292629 Log: backtrace.3: Fix prototype of backtrace_symbols_fd_fmt(). While here, fix a typo Submitted by: Sascha Wildner Obtained from:DragonflyBSD

svn commit: r292623 - in head: lib/libc/gen sys/boot/efi/include sys/boot/efi/include/amd64 sys/boot/efi/include/arm64 sys/boot/efi/include/i386 sys/boot/efi/libefi

2015-12-22 Thread Ed Maste
Author: emaste Date: Tue Dec 22 20:36:14 2015 New Revision: 292623 URL: https://svnweb.freebsd.org/changeset/base/292623 Log: Support a.out format in nlist only on i386 i386 is the only current FreeBSD architecture that ever used a.out format. Reviewed by: kib Sponsored by: The

svn commit: r292613 - in head: include lib/libc/stdlib lib/libc/tests/stdlib

2015-12-22 Thread Ed Schouten
Author: ed Date: Tue Dec 22 18:12:11 2015 New Revision: 292613 URL: https://svnweb.freebsd.org/changeset/base/292613 Log: Let tsearch()/tdelete() use an AVL tree. The existing implementations of POSIX tsearch() and tdelete() don't attempt to perform any balancing at all. Testing reveals

svn commit: r292641 - head/sys/kern

2015-12-22 Thread Garrett Cooper
Author: ngie Date: Wed Dec 23 03:34:43 2015 New Revision: 292641 URL: https://svnweb.freebsd.org/changeset/base/292641 Log: Fix r292640 vim overzealously removed some trailing `+' and I didn't check the diff MFC after: 1 week X-MFC with: r292640 Pointyhat to: ngie Sponsored

Re: svn commit: r292533 - head/tools/regression/mac/mac_bsdextended

2015-12-22 Thread Craig Rodrigues
On Mon, Dec 21, 2015 at 12:58 AM, Garrett Cooper wrote: > Author: ngie > Date: Mon Dec 21 08:58:14 2015 > New Revision: 292533 > URL: https://svnweb.freebsd.org/changeset/base/292533 > > Log: > Skip the testcases if mac_bsdextended(4) isn't detected on the > system > >

svn commit: r292645 - head/tools/tools/nanobsd/embedded

2015-12-22 Thread Warner Losh
Author: imp Date: Wed Dec 23 06:49:28 2015 New Revision: 292645 URL: https://svnweb.freebsd.org/changeset/base/292645 Log: Touch /firstboot in the WORLDDIR. Modified: head/tools/tools/nanobsd/embedded/common Modified: head/tools/tools/nanobsd/embedded/common

svn commit: r292644 - head/tools/tools/nanobsd/embedded

2015-12-22 Thread Warner Losh
Author: imp Date: Wed Dec 23 06:49:18 2015 New Revision: 292644 URL: https://svnweb.freebsd.org/changeset/base/292644 Log: Copy all the dtb files that we build as part of the kernel build from boot/dtb to the fat partition. They seem to be needed. Create an empty uEnv.txt file Modified:

svn commit: r292640 - head/sys/kern

2015-12-22 Thread Garrett Cooper
Author: ngie Date: Wed Dec 23 03:29:37 2015 New Revision: 292640 URL: https://svnweb.freebsd.org/changeset/base/292640 Log: Clean up trailing whitespace; no functional change MFC after: 1 week Sponsored by: EMC / Isilon Storage Division Modified: head/sys/kern/link_elf.c Modified:

svn commit: r292593 - head/sys/fs/cuse

2015-12-22 Thread Hans Petter Selasky
Author: hselasky Date: Tue Dec 22 09:41:33 2015 New Revision: 292593 URL: https://svnweb.freebsd.org/changeset/base/292593 Log: Make CUSE usable with platforms where the size of "unsigned long" is different from the size of a pointer. Modified: head/sys/fs/cuse/cuse.c

svn commit: r292588 - in stable/10: . contrib/xz contrib/xz/src/common contrib/xz/src/liblzma contrib/xz/src/liblzma/api contrib/xz/src/liblzma/api/lzma contrib/xz/src/liblzma/check contrib/xz/src/...

2015-12-22 Thread Xin LI
== --- stable/10/ObsoleteFiles.inc Tue Dec 22 07:59:41 2015(r292587) +++ stable/10/ObsoleteFiles.inc Tue Dec 22 08:03:23 2015(r292588) @@ -38,6 +38,8 @@ # xargs -n1 | sort | uniq -d; # done +# 20151222: liblzma header +OLD_FILES+=usr/include/lzma/lzma.h # 20151115: added missing

svn commit: r292594 - in head: lib/libcuse sys/fs/cuse

2015-12-22 Thread Hans Petter Selasky
Author: hselasky Date: Tue Dec 22 09:55:44 2015 New Revision: 292594 URL: https://svnweb.freebsd.org/changeset/base/292594 Log: Make CUSE usable with platforms where the size of "unsigned long" is different from the size of a pointer. Modified: head/lib/libcuse/cuse_lib.c

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

2015-12-22 Thread Xin LI
Author: delphij Date: Tue Dec 22 08:08:41 2015 New Revision: 292589 URL: https://svnweb.freebsd.org/changeset/base/292589 Log: Bump __FreeBSD_version after xz 5.2.2 merge (multithread support). Modified: stable/10/sys/sys/param.h Modified: stable/10/sys/sys/param.h

svn commit: r292590 - stable/10/sys/cam/ctl

2015-12-22 Thread Alexander Motin
Author: mav Date: Tue Dec 22 09:02:51 2015 New Revision: 292590 URL: https://svnweb.freebsd.org/changeset/base/292590 Log: MFC r292290: Set DS flag, required for LPB log page by spec. Modified: stable/10/sys/cam/ctl/ctl.c Directory Properties: stable/10/ (props changed) Modified:

svn commit: r292591 - in head/sys: arm/at91 arm/cavium/cns11xx arm/conf arm/lpc arm/mv/discovery arm/mv/orion arm/xscale/ixp425 conf

2015-12-22 Thread Andrew Turner
Author: andrew Date: Tue Dec 22 09:08:21 2015 New Revision: 292591 URL: https://svnweb.freebsd.org/changeset/base/292591 Log: Remove the arm KERNPHYSADDR option as it is no longer used. The make option is still in existance as it is used to build the trampoline code. Modified:

svn commit: r292592 - head/sys/fs/cuse

2015-12-22 Thread Hans Petter Selasky
Author: hselasky Date: Tue Dec 22 09:26:24 2015 New Revision: 292592 URL: https://svnweb.freebsd.org/changeset/base/292592 Log: Guard against the same process being both CUSE server and client at the same time. This can easily lead to a deadlock when destroying the character devices nodes.

svn commit: r292595 - head/lib/libc/net

2015-12-22 Thread Hajimu UMEMOTO
Author: ume Date: Tue Dec 22 12:01:06 2015 New Revision: 292595 URL: https://svnweb.freebsd.org/changeset/base/292595 Log: We don't need to use a temporary buffer, here. MFC after:1 week Modified: head/lib/libc/net/map_v4v6.c Modified: head/lib/libc/net/map_v4v6.c

svn commit: r292597 - stable/10/sys/dev/isp

2015-12-22 Thread Alexander Motin
Author: mav Date: Tue Dec 22 12:54:13 2015 New Revision: 292597 URL: https://svnweb.freebsd.org/changeset/base/292597 Log: MFC r291868: Rework WWNs generation to make cards without NVRAM more useful. Modified: stable/10/sys/dev/isp/isp_freebsd.c Directory Properties: stable/10/ (props

svn commit: r292598 - in stable/10: share/man/man4 sys/dev/isp

2015-12-22 Thread Alexander Motin
Author: mav Date: Tue Dec 22 13:19:29 2015 New Revision: 292598 URL: https://svnweb.freebsd.org/changeset/base/292598 Log: MFC r291654, r291727, r291821, r291872, r292034, r292041, r292249, r292042: Add initial support for 16Gbps FC QLogic chips. Modified: stable/10/share/man/man4/isp.4

svn commit: r292596 - stable/10/sys/dev/isp

2015-12-22 Thread Alexander Motin
Author: mav Date: Tue Dec 22 12:53:01 2015 New Revision: 292596 URL: https://svnweb.freebsd.org/changeset/base/292596 Log: MFC r291730: Update isp_put_icb_2400() for new structure fields. Modified: stable/10/sys/dev/isp/isp_library.c Directory Properties: stable/10/ (props changed)

svn commit: r292609 - in head/sys/mips: include mips

2015-12-22 Thread Adrian Chadd
Author: adrian Date: Tue Dec 22 15:59:41 2015 New Revision: 292609 URL: https://svnweb.freebsd.org/changeset/base/292609 Log: [mips] Add TLB pagemask probing code, and print out the allowable page sizes. This is from Stacey's work on larger kernel stack sizes for MIPS. Thanks!

svn commit: r292610 - head/sys/dev/isp

2015-12-22 Thread Alexander Motin
Author: mav Date: Tue Dec 22 17:01:30 2015 New Revision: 292610 URL: https://svnweb.freebsd.org/changeset/base/292610 Log: Fix speed setting by NVRAM for 24xx and above chips. Modified: head/sys/dev/isp/isp.c Modified: head/sys/dev/isp/isp.c

svn commit: r292599 - head/sys/netinet

2015-12-22 Thread Jonathan T. Looney
Author: jtl Date: Tue Dec 22 13:41:50 2015 New Revision: 292599 URL: https://svnweb.freebsd.org/changeset/base/292599 Log: Fix a panic when launching VNETs after the commit of r292309. Differential Revision:https://reviews.freebsd.org/D4645 Reviewed by: rrs Reported by: kp

Re: svn commit: r292599 - head/sys/netinet

2015-12-22 Thread Kristof Provost
Thanks! Kristof > On 22 Dec 2015, at 14:41, Jonathan T. Looney wrote: > > Author: jtl > Date: Tue Dec 22 13:41:50 2015 > New Revision: 292599 > URL: https://svnweb.freebsd.org/changeset/base/292599 > > Log: > Fix a panic when launching VNETs after the commit of r292309. >

svn commit: r292601 - in head/sys: netinet netinet6

2015-12-22 Thread Bjoern A. Zeeb
Author: bz Date: Tue Dec 22 14:53:19 2015 New Revision: 292601 URL: https://svnweb.freebsd.org/changeset/base/292601 Log: Since r256624 we've been leaking routing table allocations on vnet enabled jail shutdown. Call the provided cleanup routines for IP versions 4 and 6 to plug these leaks.

svn commit: r292602 - head/sys/net

2015-12-22 Thread Bjoern A. Zeeb
Author: bz Date: Tue Dec 22 14:57:04 2015 New Revision: 292602 URL: https://svnweb.freebsd.org/changeset/base/292602 Log: Simplify bringup order by removing a SYSINIT making it a static list initialization. Mfp4 @180384,180385: There is no need for a dedicated SYSINIT here. The

svn commit: r292611 - head/contrib/llvm/tools/lldb/source/Plugins/Process/FreeBSD

2015-12-22 Thread Andrew Turner
Author: andrew Date: Tue Dec 22 17:18:40 2015 New Revision: 292611 URL: https://svnweb.freebsd.org/changeset/base/292611 Log: Don't adjust the program counter to an invalid address after reaching a breakpoint. The value doesn't need to be adjusted as it is already correctly returned from

svn commit: r292612 - head

2015-12-22 Thread Craig Rodrigues
Author: rodrigc Date: Tue Dec 22 17:46:14 2015 New Revision: 292612 URL: https://svnweb.freebsd.org/changeset/base/292612 Log: Refer to creating Phabricator Herald notifications This will allow maintainers to be notified of any reviews or commits affecting parts of the tree which they

svn commit: r292615 - stable/10/sys/dev/qlxgbe

2015-12-22 Thread David C Somayajulu
Author: davidcs Date: Tue Dec 22 19:34:21 2015 New Revision: 292615 URL: https://svnweb.freebsd.org/changeset/base/292615 Log: MFC r289635 ql_hw.c: fixed error code INJCT_HEARTBEAT_FAILURE ql_os.c: removed unnecessary debug printf ql_ver.h: updated version number Modified:

svn commit: r292620 - head/sys/kern

2015-12-22 Thread Konstantin Belousov
Author: kib Date: Tue Dec 22 20:12:52 2015 New Revision: 292620 URL: https://svnweb.freebsd.org/changeset/base/292620 Log: If we annoy user with the terminal output due to failed load of interpreter, also show the actual error code instead of some interpretation. Sponsored by: The

svn commit: r292626 - head/sys/kern

2015-12-22 Thread Garrett Cooper
Author: ngie Date: Tue Dec 22 21:07:33 2015 New Revision: 292626 URL: https://svnweb.freebsd.org/changeset/base/292626 Log: Fold lim_shared into lim_copy to mute a -Wunused compiler warning from clang when the kernel is compiled without INVARIANTS Differential Revision:

Re: svn commit: r292533 - head/tools/regression/mac/mac_bsdextended

2015-12-22 Thread Garrett Cooper
> On Dec 22, 2015, at 22:42, Craig Rodrigues wrote: > >> On Mon, Dec 21, 2015 at 12:58 AM, Garrett Cooper wrote: >> Author: ngie >> Date: Mon Dec 21 08:58:14 2015 >> New Revision: 292533 >> URL: https://svnweb.freebsd.org/changeset/base/292533 >> >>

svn commit: r292646 - head/usr.bin/vmstat

2015-12-22 Thread Craig Rodrigues
Author: rodrigc Date: Wed Dec 23 07:28:48 2015 New Revision: 292646 URL: https://svnweb.freebsd.org/changeset/base/292646 Log: Remove extraneous characters Noticed by: markj Reviewed by:allanjude Modified: head/usr.bin/vmstat/vmstat.c Modified: head/usr.bin/vmstat/vmstat.c