svn commit: r313798 - head/bin/ls

2017-02-15 Thread Konstantin Belousov
Author: kib Date: Thu Feb 16 06:32:39 2017 New Revision: 313798 URL: https://svnweb.freebsd.org/changeset/base/313798 Log: Use uintmax_t to print st_nlink. Sponsored by: The FreeBSD Foundation MFC after:1 week Modified: head/bin/ls/print.c Modified: head/bin/ls/print.c

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

2017-02-15 Thread Konstantin Belousov
Author: kib Date: Thu Feb 16 06:31:36 2017 New Revision: 313797 URL: https://svnweb.freebsd.org/changeset/base/313797 Log: Minor style fixes. Sponsored by: The FreeBSD Foundation MFC after:3 days Modified: head/sys/fs/devfs/devfs_devs.c Modified: head/sys/fs/devfs/devfs_devs.c

Re: svn commit: r313798 - head/bin/ls

2017-02-15 Thread Konstantin Belousov
On Thu, Feb 16, 2017 at 06:32:39AM +, Konstantin Belousov wrote: > Author: kib > Date: Thu Feb 16 06:32:39 2017 > New Revision: 313798 > URL: https://svnweb.freebsd.org/changeset/base/313798 > > Log: > Use uintmax_t to print st_nlink. > > Sponsored by: The FreeBSD Foundation

svn commit: r313799 - head/sys/fs/nfsclient

2017-02-15 Thread Konstantin Belousov
Author: kib Date: Thu Feb 16 06:34:20 2017 New Revision: 313799 URL: https://svnweb.freebsd.org/changeset/base/313799 Log: Do not allocate char[MNAMELEN] on stack in nfsclient. Right now this is not critical, but will be after planned increase of MNAMELEN from 88 to 1k. Reported and

svn commit: r313800 - head/sys/fs/nfsclient

2017-02-15 Thread Konstantin Belousov
Author: kib Date: Thu Feb 16 06:36:16 2017 New Revision: 313800 URL: https://svnweb.freebsd.org/changeset/base/313800 Log: Do not access memory past the buffer end. Do not accept and silently truncate too long hostname. Reported and tested by: pho Sponsored by: The FreeBSD

svn commit: r313787 - head/usr.sbin/makefs

2017-02-15 Thread Ed Maste
Author: emaste Date: Thu Feb 16 03:12:47 2017 New Revision: 313787 URL: https://svnweb.freebsd.org/changeset/base/313787 Log: makefs: use a macro to simplify per-fs function declarations makefs.h 1.28 Obtained from:NetBSD Modified: head/usr.sbin/makefs/makefs.h Modified:

svn commit: r313801 - head/lib/libc/sys

2017-02-15 Thread Ed Schouten
Author: ed Date: Thu Feb 16 06:52:53 2017 New Revision: 313801 URL: https://svnweb.freebsd.org/changeset/base/313801 Log: Remove unnecessary #includes from the kqueue(2) man page. Now that can be included on its own, adjust the manual page accordingly. Remove both unnecessary #include

Re: svn commit: r313761 - in head/lib/msun: . src [breaks the build for armv6/v7]

2017-02-15 Thread Mark Millard
When I tried to cross-build -r313783 (via svnlite update) the following: __FBSDID("$FreeBSD: head/lib/msun/src/catrigl.c 313761 2017-02-15 07:59:54Z mmokhi $"); got: Building /usr/obj/bpim3_clang/arm.armv6/usr/src/lib/msun/catrigl.o --- catrigl.o --- /usr/src/lib/msun/src/catrigl.c:48:10:

Re: svn commit: r313761 - in head/lib/msun: . src [breaks the build for armv6/v7 and for powerpc64]

2017-02-15 Thread Mark Millard
On 2017-Feb-15, at 11:35 PM, Mark Millard wrote: > When I tried to cross-build -r313783 (via svnlite update) the following: > > __FBSDID("$FreeBSD: head/lib/msun/src/catrigl.c 313761 2017-02-15 07:59:54Z > mmokhi $"); > > got: > > Building

Re: svn commit: r311849 - in head: . sys/amd64/conf sys/arm64/conf sys/conf sys/dev/e1000 sys/i386/conf sys/mips/conf sys/modules sys/modules/em sys/modules/igb sys/powerpc/conf

2017-02-15 Thread Roger Pau Monné
On Tue, Jan 10, 2017 at 03:23:22AM +, Sean Bruno wrote: > Author: sbruno > Date: Tue Jan 10 03:23:22 2017 > New Revision: 311849 > URL: https://svnweb.freebsd.org/changeset/base/311849 > > Log: > Migrate e1000 to the IFLIB framework: > - em(4) igb(4) and lem(4) > - deprecate the igb

Re: svn commit: r312679 - head/sys/arm/freescale/imx

2017-02-15 Thread Yoshiro MIHIRA
Hi. Ian Thank you for your strong effort to support imx6 board. I have SolidRun HummingBoard-i2(imx6dl-hummingboard). I have reboot issue(never reset after reboot) and if I use Linux, I reproduce this issue So I reported this issue to SolidRun Forum.

svn commit: r313761 - in head/lib/msun: . src

2017-02-15 Thread Mahdi Mokhtari
Author: mmokhi (ports committer) Date: Wed Feb 15 07:59:54 2017 New Revision: 313761 URL: https://svnweb.freebsd.org/changeset/base/313761 Log: Add casinl() cacosl() catanl() casinhl() cacoshl() catanhl() APIs to msun to improve C11 conformance. PR: 216850 216851 216852 216856

svn commit: r313767 - head/sys/dev/axgbe

2017-02-15 Thread Andrew Turner
Author: andrew Date: Wed Feb 15 13:37:32 2017 New Revision: 313767 URL: https://svnweb.freebsd.org/changeset/base/313767 Log: Import the AMD 10G ethernet driver for the AMD Opteron A1100. This is from Linux git as of 5eb4dce3b3471ec9d1ea2945fa3d2bab4ac7e100 Obtained from:Linux

svn commit: r313768 - in head/sys: arm64/conf conf dev/axgbe

2017-02-15 Thread Andrew Turner
Author: andrew Date: Wed Feb 15 13:56:04 2017 New Revision: 313768 URL: https://svnweb.freebsd.org/changeset/base/313768 Log: Port the Linux AMX 10G network driver to FreeBSD as axgbe. It is unlikely we will import a newer version of the Linux code so the linuxkpi was not used. This is

svn commit: r313782 - in head/contrib/libarchive/libarchive: . test

2017-02-15 Thread Martin Matuska
Author: mm Date: Wed Feb 15 20:17:55 2017 New Revision: 313782 URL: https://svnweb.freebsd.org/changeset/base/313782 Log: MFV r313781: Sync libarchive with vendor Vendor changes: Make SCHILY.acl.ace header more compact (NFSv4 ACLs) Vendor bugfixes: zip reader integer parsing fix

svn commit: r313779 - head/sys/dev/iscsi

2017-02-15 Thread Alexander Motin
Author: mav Date: Wed Feb 15 19:46:00 2017 New Revision: 313779 URL: https://svnweb.freebsd.org/changeset/base/313779 Log: Fix handling of negative sbspace() return values. I found that at least with Chelsio NICs TOE sockets quite often report negative sbspace() values. Using unsigned

Re: svn commit: r313761 - in head/lib/msun: . src

2017-02-15 Thread Ed Maste
On 15 February 2017 at 02:59, Mahdi Mokhtari wrote: > Author: mmokhi (ports committer) > Date: Wed Feb 15 07:59:54 2017 > New Revision: 313761 > URL: https://svnweb.freebsd.org/changeset/base/313761 > > Log: > Add casinl() cacosl() catanl() casinhl() cacoshl() catanhl() APIs

svn commit: r313777 - head/sys/dev/vt

2017-02-15 Thread Ravi Pokala
Author: rpokala Date: Wed Feb 15 17:33:03 2017 New Revision: 313777 URL: https://svnweb.freebsd.org/changeset/base/313777 Log: Un-break vt(4) for {powerpc,powerpc64,sparc64} LINT kernel builds The {powerpc,powerpc64,sparc64} LINT kernel builds fail with this error:

svn commit: r313778 - head/sys/dev/mlx4/mlx4_ib

2017-02-15 Thread Hans Petter Selasky
Author: hselasky Date: Wed Feb 15 18:31:09 2017 New Revision: 313778 URL: https://svnweb.freebsd.org/changeset/base/313778 Log: Improve code readability and fix compilation error when using clang 4.x. Found by: emaste @ MFC after:1 week Sponsored by:

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

2017-02-15 Thread Edward Tomasz Napierala
Author: trasz Date: Wed Feb 15 16:52:21 2017 New Revision: 313775 URL: https://svnweb.freebsd.org/changeset/base/313775 Log: Change the "devfs_fsync: vop_stdfsync failed" from panic to a printf. It's not a proper fix, but should be better than what we have now. Since it got broken some six

Re: svn commit: r313771 - head/sys/dev/bxe

2017-02-15 Thread Roger Pau Monné
On Wed, Feb 15, 2017 at 02:34:40PM +, Roger Pau Monné wrote: > Author: royger > Date: Wed Feb 15 14:34:40 2017 > New Revision: 313771 > URL: https://svnweb.freebsd.org/changeset/base/313771 > > Log: > bxe: enable usage with NetXtreme II BCM57840 2x20GbE chip FWIW, I see the following

Re: svn commit: r313547 - head/sys/dev/vt

2017-02-15 Thread Ed Maste
On 10 February 2017 at 08:28, Aleksandr Rybalko wrote: > Author: ray > Date: Fri Feb 10 13:28:30 2017 > New Revision: 313547 > URL: https://svnweb.freebsd.org/changeset/base/313547 sparc64 LINT kernel build failed with: cc1: warnings being treated as errors

Re: svn commit: r311849 - in head: . sys/amd64/conf sys/arm64/conf sys/conf sys/dev/e1000 sys/i386/conf sys/mips/conf sys/modules sys/modules/em sys/modules/igb sys/powerpc/conf

2017-02-15 Thread Mark Millard
> Author: sbruno > Date: Tue Jan 10 03:23:22 2017 > New Revision: 311849 > URL: https://svnweb.freebsd.org/changeset/base/311849 > > Log: > Migrate e1000 to the IFLIB framework: > . . . > - create a symbolic link in /boot/kernel from if_em.ko to if_igb.ko If one used DESTDIR= pointing to a

Re: svn commit: r313772 - head/sys/arm64/arm64

2017-02-15 Thread Oliver Pinter
On 2/15/17, Mark Millard wrote: >> Author: andrew >> Date: Wed Feb 15 14:56:47 2017 >> New Revision: 313772 >> URL: >> https://svnweb.freebsd.org/changeset/base/313772 >> >> Log: >> Load the new sp_el0 with interrupts disabled in fork_trampoline. If an >> interrupt

Re: svn commit: r313772 - head/sys/arm64/arm64

2017-02-15 Thread Mark Millard
> Author: andrew > Date: Wed Feb 15 14:56:47 2017 > New Revision: 313772 > URL: > https://svnweb.freebsd.org/changeset/base/313772 > > Log: > Load the new sp_el0 with interrupts disabled in fork_trampoline. If an > interrupt arrives in fork_trampoline after sp_el0 was written we may then >

Re: svn commit: r313772 - head/sys/arm64/arm64

2017-02-15 Thread Mark Millard
On 2017-Feb-15, at 1:39 PM, Oliver Pinter wrote: > On 2/15/17, Mark Millard wrote: >>> Author: andrew >>> Date: Wed Feb 15 14:56:47 2017 >>> New Revision: 313772 >>> URL: >>> https://svnweb.freebsd.org/changeset/base/313772 >>> >>> Log: >>>

svn commit: r313783 - in head: share/man/man4 share/man/man4/man4.i386 sys/conf sys/dev/aha sys/dev/buslogic sys/dev/ep sys/dev/mca sys/i386/bios sys/i386/conf sys/x86/isa sys/x86/x86 tools/kerneld...

2017-02-15 Thread Warner Losh
Author: imp Date: Wed Feb 15 23:04:25 2017 New Revision: 313783 URL: https://svnweb.freebsd.org/changeset/base/313783 Log: Remove Micro Channel Architecture support. Of the commonly available machines, only a few 486 machines that used it, and those haven't had enough memory to run FreeBSD

svn commit: r313780 - in head: lib/libstand sbin/dump sbin/ffsinfo sbin/fsck_ffs sbin/fsdb sbin/fsirand sbin/growfs sbin/newfs sbin/newfs_nandfs sbin/quotacheck sbin/restore sbin/tunefs sys/boot/co...

2017-02-15 Thread Ed Maste
Author: emaste Date: Wed Feb 15 19:50:26 2017 New Revision: 313780 URL: https://svnweb.freebsd.org/changeset/base/313780 Log: prefix UFS symbols with UFS_ to reduce namespace pollution Specifically: ROOTINO -> UFS_ROOTINO WINO -> UFS_WINO NXADDR -> UFS_NXADDR NDADDR ->

Re: svn commit: r313330 - in head: contrib/netcat lib/libipsec sbin/ifconfig sbin/setkey share/man/man4 sys/conf sys/modules sys/modules/ipsec sys/modules/tcp/tcpmd5 sys/net sys/netinet sys/netinet/tc

2017-02-15 Thread Ed Maste
On 6 February 2017 at 03:49, Andrey V. Elsukov wrote: > Author: ae > Date: Mon Feb 6 08:49:57 2017 > New Revision: 313330 > URL: https://svnweb.freebsd.org/changeset/base/313330 > > Log: > Merge projects/ipsec into head/. In tinderbox powerpc LINT kernel build is failing

svn commit: r313774 - head/contrib/tzcode/stdtime

2017-02-15 Thread Ed Maste
Author: emaste Date: Wed Feb 15 15:32:29 2017 New Revision: 313774 URL: https://svnweb.freebsd.org/changeset/base/313774 Log: localtime: return NULL if time_t out of range of struct tm Previously we would truncate tm.tm_year for any time_t corresponding to a year that does not fit in

Re: svn commit: r312679 - head/sys/arm/freescale/imx

2017-02-15 Thread Ian Lepore
> > Author: ian > > Date: Tue Jan 24 02:09:30 2017 > > New Revision: 312679 > > URL: https://svnweb.freebsd.org/changeset/base/312679 [...] On Wed, 2017-02-15 at 10:31 +, Yoshiro MIHIRA wrote: > Hi. > Ian > > Thank you for your strong effort to support imx6 board. > > I have SolidRun

svn commit: r313784 - head/sys/sys

2017-02-15 Thread Mateusz Guzik
Author: mjg Date: Wed Feb 15 23:33:14 2017 New Revision: 313784 URL: https://svnweb.freebsd.org/changeset/base/313784 Log: rwlock: tidy up r313392 While a new bit was added and thread alignment got shifted to accomodate it, RW_READERS_SHIFT was not modified accordingly and clashed with

svn commit: r313785 - in head/sys/dev: acpica pci

2017-02-15 Thread Warner Losh
Author: imp Date: Wed Feb 15 23:49:28 2017 New Revision: 313785 URL: https://svnweb.freebsd.org/changeset/base/313785 Log: Use symbolic constants for OSC support / control negotiations. Differential Revision: https://reviews.freebsd.org/D9604 Modified:

svn commit: r313769 - head/sys/amd64/linux

2017-02-15 Thread Edward Tomasz Napierala
Author: trasz Date: Wed Feb 15 14:12:39 2017 New Revision: 313769 URL: https://svnweb.freebsd.org/changeset/base/313769 Log: Fix definition of linux64 ptrace syscall. MFC after:2 weeks Sponsored by: DARPA, AFRL Modified: head/sys/amd64/linux/syscalls.master Modified:

Re: svn commit: r313768 - in head/sys: arm64/conf conf dev/axgbe

2017-02-15 Thread Andrew Turner
On Wed, 15 Feb 2017 13:56:04 + (UTC) Andrew Turner wrote: > Author: andrew > Date: Wed Feb 15 13:56:04 2017 > New Revision: 313768 > URL: https://svnweb.freebsd.org/changeset/base/313768 > > Log: > Port the Linux AMX 10G network driver to FreeBSD as axgbe. It is >

svn commit: r313770 - head/sys/amd64/linux

2017-02-15 Thread Edward Tomasz Napierala
Author: trasz Date: Wed Feb 15 14:25:50 2017 New Revision: 313770 URL: https://svnweb.freebsd.org/changeset/base/313770 Log: Regen after r313769. MFC after:2 weeks Sponsored by: DARPA, AFRL Modified: head/sys/amd64/linux/linux_proto.h head/sys/amd64/linux/linux_systrace_args.c

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

2017-02-15 Thread Roger Pau Monné
Author: royger Date: Wed Feb 15 14:34:40 2017 New Revision: 313771 URL: https://svnweb.freebsd.org/changeset/base/313771 Log: bxe: enable usage with NetXtreme II BCM57840 2x20GbE chip Current bxe probe function won't attach to devices with the NetXtreme II BCM57840 2x20GbE chip, enable

svn commit: r313772 - head/sys/arm64/arm64

2017-02-15 Thread Andrew Turner
Author: andrew Date: Wed Feb 15 14:56:47 2017 New Revision: 313772 URL: https://svnweb.freebsd.org/changeset/base/313772 Log: Load the new sp_el0 with interrupts disabled in fork_trampoline. If an interrupt arrives in fork_trampoline after sp_el0 was written we may then switch to a new