svn commit: r316600 - head/lib/libpmc

2017-04-06 Thread Ngie Cooper
Author: ngie Date: Fri Apr 7 05:46:45 2017 New Revision: 316600 URL: https://svnweb.freebsd.org/changeset/base/316600 Log: pmc(3): add additional references for libpmc functions in the SEE ALSO section These functions are already referenced throughout the manpage -- this makes their

svn commit: r316599 - head/sys/compat/linux

2017-04-06 Thread Dmitry Chagin
Author: dchagin Date: Fri Apr 7 05:37:08 2017 New Revision: 316599 URL: https://svnweb.freebsd.org/changeset/base/316599 Log: Prevent ushort values overflow when convert new Linux 64-bit ipc struct to the old Linux ipc struct. Reported by: PVS-Studio XMFC with:r314866 MFC

Re: svn commit: r316592 - head/usr.sbin/arp

2017-04-06 Thread Ngie Cooper (yaneurabeya)
> On Apr 6, 2017, at 15:50, Renato Botelho wrote: > > Author: garga (ports committer) > Date: Thu Apr 6 22:50:28 2017 > New Revision: 316592 > URL: https://svnweb.freebsd.org/changeset/base/316592 > > Log: > Introduce libxo support to arp(8) > > Reviewed by: wblock, gnn,

Re: svn commit: r316591 - head/sys/dev/tpm

2017-04-06 Thread Ngie Cooper (yaneurabeya)
> On Apr 6, 2017, at 15:21, David E. O'Brien wrote: > > Author: obrien > Date: Thu Apr 6 22:21:49 2017 > New Revision: 316591 > URL: https://svnweb.freebsd.org/changeset/base/316591 > > Log: > Remove dead code. > The #ifdef __FreeBSD__ section within the OpenBSD

svn commit: r316598 - head/sys/kern

2017-04-06 Thread Conrad Meyer
Author: cem Date: Fri Apr 7 05:00:09 2017 New Revision: 316598 URL: https://svnweb.freebsd.org/changeset/base/316598 Log: kern_descrip: Move kinfo_ofile size assert under COMPAT_FREEBSD7 The size and structure are not used outside of FreeBSD 7 compatibility ABIs. Sponsored by: Dell

svn commit: r316597 - in head/usr.sbin/makefs: . cd9660

2017-04-06 Thread Ed Maste
Author: emaste Date: Fri Apr 7 02:31:55 2017 New Revision: 316597 URL: https://svnweb.freebsd.org/changeset/base/316597 Log: makefs: Sync with NetBSD (fix unused variable warnings) NetBSD revs: cd9660.c 1.45 cd9660/cd9660_write.c 1.17 Obtained from:NetBSD

svn commit: r316596 - in head/sys: dev/e1000 net

2017-04-06 Thread Sean Bruno
Author: sbruno Date: Fri Apr 7 00:33:03 2017 New Revision: 316596 URL: https://svnweb.freebsd.org/changeset/base/316596 Log: Move pause frame counter out of struct if_ctx and into struct if_softc_ctx_t so that we can use it in iflib to detect pause frames. The igb(4) driver definitely

svn commit: r316595 - in head/sys: compat/freebsd32 kern sys

2017-04-06 Thread Brooks Davis
Author: brooks Date: Thu Apr 6 23:40:51 2017 New Revision: 316595 URL: https://svnweb.freebsd.org/changeset/base/316595 Log: Regen after r316594. Modified: head/sys/compat/freebsd32/freebsd32_systrace_args.c head/sys/kern/systrace_args.c head/sys/kern/vfs_cache.c

svn commit: r316594 - in head/sys: compat/freebsd32 kern

2017-04-06 Thread Brooks Davis
Author: brooks Date: Thu Apr 6 23:40:13 2017 New Revision: 316594 URL: https://svnweb.freebsd.org/changeset/base/316594 Log: Change the size argument of __getcwd() to size_t. This matches the getcwd() definition. This is technically an ABI change, but that would only effect 64-bit

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

2017-04-06 Thread Brooks Davis
Author: brooks Date: Thu Apr 6 23:35:10 2017 New Revision: 316593 URL: https://svnweb.freebsd.org/changeset/base/316593 Log: Point out that -F probably does not do what the user expects. Users attempting to create images from mtree METALOG files created by installworld often use -F when

Re: svn commit: r316585 - in head/sys/boot: efi/boot1 efi/loader i386/common i386/loader i386/zfsboot zfs

2017-04-06 Thread Toomas Soome
> On 6. apr 2017, at 22:48, Toomas Soome wrote: > > > Yes, sorry, I did miss the sparc version, looking on it…. I did quick and “dirty” first round, but really need some help there, please check and comment: https://reviews.freebsd.org/D10302

svn commit: r316592 - head/usr.sbin/arp

2017-04-06 Thread Renato Botelho
Author: garga (ports committer) Date: Thu Apr 6 22:50:28 2017 New Revision: 316592 URL: https://svnweb.freebsd.org/changeset/base/316592 Log: Introduce libxo support to arp(8) Reviewed by: wblock, gnn, allanjude, phil Approved by: allanjude MFC after:1 week Sponsored by:

svn commit: r316591 - head/sys/dev/tpm

2017-04-06 Thread David E. O'Brien
Author: obrien Date: Thu Apr 6 22:21:49 2017 New Revision: 316591 URL: https://svnweb.freebsd.org/changeset/base/316591 Log: Remove dead code. The #ifdef __FreeBSD__ section within the OpenBSD tpm_attach() implementation can never be active. Modified: head/sys/dev/tpm/tpm.c Modified:

Re: svn commit: r316582 - head/sys/dev/bwn

2017-04-06 Thread Ed Maste
On 6 April 2017 at 13:09, Conrad Meyer wrote: > Author: cem > Date: Thu Apr 6 17:08:59 2017 > New Revision: 316582 > URL: https://svnweb.freebsd.org/changeset/base/316582 > > Log: > bwn(4): Fix trivial null dereference This is also CID 1007386

svn commit: r316590 - head/lib/libstand

2017-04-06 Thread Toomas Soome
Author: tsoome Date: Thu Apr 6 20:12:39 2017 New Revision: 316590 URL: https://svnweb.freebsd.org/changeset/base/316590 Log: libstand/dosfs: cache FAT32 in 128 Kb blocks to save loader memory Current implementation of dosfs in libstand reads full File Allocation Table to the RAM in the

Re: svn commit: r316585 - in head/sys/boot: efi/boot1 efi/loader i386/common i386/loader i386/zfsboot zfs

2017-04-06 Thread Toomas Soome
Yes, sorry, I did miss the sparc version, looking on it…. rgds, toomas > On 6. apr 2017, at 22:41, Bryan Drewery wrote: > > On 4/6/2017 11:17 AM, Toomas Soome wrote: >> Author: tsoome >> Date: Thu Apr 6 18:17:29 2017 >> New Revision: 316585 >> URL:

Re: svn commit: r316585 - in head/sys/boot: efi/boot1 efi/loader i386/common i386/loader i386/zfsboot zfs

2017-04-06 Thread Bryan Drewery
On 4/6/2017 11:17 AM, Toomas Soome wrote: > Author: tsoome > Date: Thu Apr 6 18:17:29 2017 > New Revision: 316585 > URL: https://svnweb.freebsd.org/changeset/base/316585 > > Log: > loader: zfs reader should check all labels > > The current zfs reader is only checking first label from each

svn commit: r316589 - head/share/man/man7

2017-04-06 Thread Edward Tomasz Napierala
Author: trasz Date: Thu Apr 6 19:17:20 2017 New Revision: 316589 URL: https://svnweb.freebsd.org/changeset/base/316589 Log: Unify capitalization. MFC after:2 weeks Modified: head/share/man/man7/hier.7 Modified: head/share/man/man7/hier.7

svn commit: r316588 - stable/10/sys/dev/e1000

2017-04-06 Thread Sean Bruno
Author: sbruno Date: Thu Apr 6 19:13:40 2017 New Revision: 316588 URL: https://svnweb.freebsd.org/changeset/base/316588 Log: Direct commit of fixes to stable/10, resolving PCI passthrough and initialization issues when trying to passthrough a i340 (igb) to VMware. While here, cleanup

svn commit: r316587 - head/share/man/man7

2017-04-06 Thread Edward Tomasz Napierala
Author: trasz Date: Thu Apr 6 19:10:16 2017 New Revision: 316587 URL: https://svnweb.freebsd.org/changeset/base/316587 Log: Update hier(7) by removing files and directories that no longer exist and doing a few random tweaks. MFC after:2 weeks Modified: head/share/man/man7/hier.7

svn commit: r316586 - in head: . share/mk

2017-04-06 Thread Bryan Drewery
Author: bdrewery Date: Thu Apr 6 18:21:59 2017 New Revision: 316586 URL: https://svnweb.freebsd.org/changeset/base/316586 Log: META_MODE: Fix build-tools still sometimes rebuilding during target build. In a cross-build, the build-tools are native host binaries. We do not want to

svn commit: r316585 - in head/sys/boot: efi/boot1 efi/loader i386/common i386/loader i386/zfsboot zfs

2017-04-06 Thread Toomas Soome
Author: tsoome Date: Thu Apr 6 18:17:29 2017 New Revision: 316585 URL: https://svnweb.freebsd.org/changeset/base/316585 Log: loader: zfs reader should check all labels The current zfs reader is only checking first label from each device, however, we do have 4 labels on device and we

svn commit: r316584 - head/sys/fs/smbfs

2017-04-06 Thread Conrad Meyer
Author: cem Date: Thu Apr 6 17:31:58 2017 New Revision: 316584 URL: https://svnweb.freebsd.org/changeset/base/316584 Log: smbfs: Fix an indentation level Based on the change in r242386, it seems clear that scred was intended to be released in all paths at exit. No functional

svn commit: r316583 - in head/sys/dev: ex ixgb

2017-04-06 Thread Ed Maste
Author: emaste Date: Thu Apr 6 17:16:41 2017 New Revision: 316583 URL: https://svnweb.freebsd.org/changeset/base/316583 Log: remove archaic register keyword from ixgb and ex Reviewed by: sbruno Modified: head/sys/dev/ex/if_ex.c head/sys/dev/ixgb/if_ixgb.c Modified:

svn commit: r316582 - head/sys/dev/bwn

2017-04-06 Thread Conrad Meyer
Author: cem Date: Thu Apr 6 17:08:59 2017 New Revision: 316582 URL: https://svnweb.freebsd.org/changeset/base/316582 Log: bwn(4): Fix trivial null dereference Reported by: PVS-Studio Sponsored by: Dell EMC Isilon Modified: head/sys/dev/bwn/if_bwn.c Modified:

svn commit: r316581 - head/sys/dev/bnxt

2017-04-06 Thread Sean Bruno
Author: sbruno Date: Thu Apr 6 16:22:54 2017 New Revision: 316581 URL: https://svnweb.freebsd.org/changeset/base/316581 Log: tx and rx interrupts are not combined in bnxt(4) and should be handled independantly. Submitted by: venkatkumar.duvv...@broadcom.com> Differential Revision:

svn commit: r316580 - head/sys/dev/cxgbe/iw_cxgbe

2017-04-06 Thread Navdeep Parhar
Author: np Date: Thu Apr 6 16:19:19 2017 New Revision: 316580 URL: https://svnweb.freebsd.org/changeset/base/316580 Log: cxgbe/iw_cxgbe: Remove another bad cast. This should have been included in r316571. MFC after:3 days Sponsored by: Chelsio Communications Modified:

svn commit: r316579 - in head/usr.sbin/makefs: . cd9660 ffs

2017-04-06 Thread Ed Maste
Author: emaste Date: Thu Apr 6 16:18:42 2017 New Revision: 316579 URL: https://svnweb.freebsd.org/changeset/base/316579 Log: makefs: use emalloc and friends The emalloc set of error-checking memory allocation routines were added to libnetbsd in r316572. Use them in makefs to reduce

svn commit: r316578 - in head: lib/libstand sys/boot/common

2017-04-06 Thread Toomas Soome
Author: tsoome Date: Thu Apr 6 15:57:53 2017 New Revision: 316578 URL: https://svnweb.freebsd.org/changeset/base/316578 Log: loader: want mechanism to avoid RA with bcache While we have mechanisms in place to protect ourselves against the read behind the disk end, there is still one

svn commit: r316577 - head/sys/boot/common

2017-04-06 Thread Toomas Soome
Author: tsoome Date: Thu Apr 6 15:42:12 2017 New Revision: 316577 URL: https://svnweb.freebsd.org/changeset/base/316577 Log: loader: part.c cstyle cleanup The description tells it all, as an side note, I am using uint8_t instead of u_char as the partition table data really is handled as

svn commit: r316576 - in stable/11/sys: amd64/cloudabi32 amd64/cloudabi64 arm/cloudabi32 arm64/cloudabi64 i386/cloudabi32 kern sys

2017-04-06 Thread Konstantin Belousov
Author: kib Date: Thu Apr 6 15:19:18 2017 New Revision: 316576 URL: https://svnweb.freebsd.org/changeset/base/316576 Log: Improvements for the brand detection and prioritization. MFC r315701 (by ed): Set the interpreter path to /nonexistent. MFC r315749: Adjust r314851 to not

svn commit: r316575 - svnadmin/conf

2017-04-06 Thread Allan Jude
Author: allanjude Date: Thu Apr 6 15:15:01 2017 New Revision: 316575 URL: https://svnweb.freebsd.org/changeset/base/316575 Log: Release tsoome from mentorship Toomas is doing great work, so lets get out of his way and let him do it. Approved by: imp Modified:

svn commit: r316574 - in stable/11/sys: amd64/cloudabi32 amd64/cloudabi64 arm/cloudabi32 arm64/cloudabi64 compat/cloudabi compat/cloudabi32 compat/cloudabi64 contrib/cloudabi i386/cloudabi32

2017-04-06 Thread Ed Schouten
Author: ed Date: Thu Apr 6 15:10:36 2017 New Revision: 316574 URL: https://svnweb.freebsd.org/changeset/base/316574 Log: Bring kernel space CloudABI code in sync with HEAD. MFC r312353, r312354 and r312355: Sync in the latest CloudABI generated source files. Languages like

svn commit: r316573 - head/sys/dev/cxgbe/iw_cxgbe

2017-04-06 Thread Navdeep Parhar
Author: np Date: Thu Apr 6 14:50:15 2017 New Revision: 316573 URL: https://svnweb.freebsd.org/changeset/base/316573 Log: cxgbe/iw_cxgbe: Replace a magic constant with something more readable (and accurate). T4 and later have an extra bit for page shift so the maximum page size is 8TB

svn commit: r316572 - head/lib/libnetbsd

2017-04-06 Thread Ed Maste
Author: emaste Date: Thu Apr 6 14:36:08 2017 New Revision: 316572 URL: https://svnweb.freebsd.org/changeset/base/316572 Log: libnetbsd: add emalloc and friends These are error-checked versions of memory allocation routines used by NetBSD code, and are being added to facilitate updates

svn commit: r316571 - head/sys/dev/cxgbe/iw_cxgbe

2017-04-06 Thread Navdeep Parhar
Author: np Date: Thu Apr 6 13:58:59 2017 New Revision: 316571 URL: https://svnweb.freebsd.org/changeset/base/316571 Log: cxgbe/iw_cxgbe: Remove bad cast that resulted in incorrect length for memory regions larger than 4GB. MFC after:3 days Sponsored by: Chelsio Communications

svn commit: r316570 - in stable/11/sys: amd64/cloudabi32 amd64/cloudabi64 arm/cloudabi32 arm64/cloudabi64 i386/cloudabi32

2017-04-06 Thread Ed Schouten
Author: ed Date: Thu Apr 6 13:51:54 2017 New Revision: 316570 URL: https://svnweb.freebsd.org/changeset/base/316570 Log: MFC r315861: Stop providing the compat_3_brand. As of r315860, the ELF image activator works fine for CloudABI without it. Modified:

svn commit: r316569 - stable/11/sys/kern

2017-04-06 Thread Ed Schouten
Author: ed Date: Thu Apr 6 13:50:23 2017 New Revision: 316569 URL: https://svnweb.freebsd.org/changeset/base/316569 Log: MFC r315860: Don't require the presence of the compat_3_brand. The existing ELF image activator requires the brandinfo to provide such a string

Re: svn commit: r316491 - head/usr.bin/grep

2017-04-06 Thread Ed Maste
On 5 April 2017 at 23:38, Julian Elischer wrote: > > hard coded colours?? > in 2017? No, from the 2010 GSoC that brought in this version of BSD grep. ___ svn-src-all@freebsd.org mailing list

svn commit: r316568 - in head/sys: compat/linuxkpi/common/include/linux compat/linuxkpi/common/src conf dev/qlnx/qlnxe modules/qlnx/qlnxe

2017-04-06 Thread Hans Petter Selasky
Author: hselasky Date: Thu Apr 6 13:30:31 2017 New Revision: 316568 URL: https://svnweb.freebsd.org/changeset/base/316568 Log: Cleanup the bitmap_xxx() functions in the LinuxKPI: - Move all bitmap related functions from bitops.h to bitmap.h, similar to what Linux does. - Apply

Re: svn commit: r316487 - head/etc

2017-04-06 Thread Dag-Erling Smørgrav
Cy Schubert writes: > Dag-Erling Smørgrav writes: > > Note that none of these variables are documented, so using them > > outside of rc.subr itself is arguably a bug. > Agreed. Regardless, an UPDATING entry will still be needed because ports > and third

Re: svn commit: r316487 - head/etc

2017-04-06 Thread Cy Schubert
In message <868tne3rfh@desk.des.no>, =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav? = w rites: > Cy Schubert writes: > > Dag-Erling Smørgrav writes: > > > Could you please revert? > > Sure, it's been reverted. > > No, you misunderstood... I meant revert *my*

svn commit: r316567 - head/etc

2017-04-06 Thread Cy Schubert
Author: cy Date: Thu Apr 6 12:52:05 2017 New Revision: 316567 URL: https://svnweb.freebsd.org/changeset/base/316567 Log: Revert r316487. It is broken, causing boot to fail due to line 25 in etc/rc.d/dhclient unconditionally testing true when called by a devd rule during boot, ignoring

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

2017-04-06 Thread Konstantin Belousov
Author: kib Date: Thu Apr 6 12:44:34 2017 New Revision: 316566 URL: https://svnweb.freebsd.org/changeset/base/316566 Log: Remove spl*() calls from the nfsclient code. Style adjustments in the related lines in ncl_writebp(). Reviewed by: rmacklem Sponsored by: The FreeBSD Foundation

svn commit: r316565 - head/sys/compat/linuxkpi/common/include/linux

2017-04-06 Thread Hans Petter Selasky
Author: hselasky Date: Thu Apr 6 10:52:52 2017 New Revision: 316565 URL: https://svnweb.freebsd.org/changeset/base/316565 Log: Define VM_READ, VM_WRITE and VM_EXEC in the LinuxKPI. MFC after:1 week Sponsored by: Mellanox Technologies Modified:

svn commit: r316564 - head/sys/compat/linuxkpi/common/include/linux

2017-04-06 Thread Hans Petter Selasky
Author: hselasky Date: Thu Apr 6 10:29:54 2017 New Revision: 316564 URL: https://svnweb.freebsd.org/changeset/base/316564 Log: Implement need_resched() in the LinuxKPI. Obtained from:kmacy @ MFC after:1 week Sponsored by: Mellanox Technologies

svn commit: r316563 - in head/sys/compat/linuxkpi/common: include/linux src

2017-04-06 Thread Hans Petter Selasky
Author: hselasky Date: Thu Apr 6 10:26:03 2017 New Revision: 316563 URL: https://svnweb.freebsd.org/changeset/base/316563 Log: Fix implementation of task_pid_group_leader() in the LinuxKPI. In FreeBSD thread IDs and procedure IDs have distinct number spaces. When asking for the group

Re: svn commit: r316550 - head/share/man/man9

2017-04-06 Thread Bruce Evans
On Thu, 6 Apr 2017, Ngie Cooper wrote: Log: sbuf(9): convert SYNOPSIS section from .Fn entries to .Fo/.Fa/.Fc entries This shortens the column count on many lines considerably. This adds a lot of style bugs. It increases the macro count and the row count considerably. While here, add

svn commit: r316562 - in head/sys/compat/linuxkpi/common: include/linux src

2017-04-06 Thread Hans Petter Selasky
Author: hselasky Date: Thu Apr 6 09:34:54 2017 New Revision: 316562 URL: https://svnweb.freebsd.org/changeset/base/316562 Log: Implement proper support for memory map operations in the LinuxKPI, like open, close and fault using the character device pager. Some notes about the

svn commit: r316561 - head/sys/compat/linuxkpi/common/src

2017-04-06 Thread Hans Petter Selasky
Author: hselasky Date: Thu Apr 6 09:07:01 2017 New Revision: 316561 URL: https://svnweb.freebsd.org/changeset/base/316561 Log: Before registering a new mm_struct in the LinuxKPI check if other tasks in the belonging procedure already have a valid mm_struct and reference that instead.

Re: svn commit: r316487 - head/etc

2017-04-06 Thread Dag-Erling Smørgrav
Cy Schubert writes: > Dag-Erling Smørgrav writes: > > Could you please revert? > Sure, it's been reverted. No, you misunderstood... I meant revert *my* commit. I didn't know it had already been fixed (for some value of fixed) when I wrote this. > Are

svn commit: r316560 - stable/11/sys/cam/scsi

2017-04-06 Thread Alexander Motin
Author: mav Date: Thu Apr 6 06:31:48 2017 New Revision: 316560 URL: https://svnweb.freebsd.org/changeset/base/316560 Log: MFC r315857: Remove "UNMAPPED" messages printed on da periph attach. I think this message is not very useful for end user. Also its formatting does not match other

svn commit: r316559 - in stable: 10/usr.sbin/ntp 11/usr.sbin/ntp

2017-04-06 Thread Cy Schubert
Author: cy Date: Thu Apr 6 06:11:04 2017 New Revision: 316559 URL: https://svnweb.freebsd.org/changeset/base/316559 Log: MFC r314946: Configure leap-second smearing (always). Leap-second smearing is an experimental option that may be specified in ntp.conf(5) and the -x option on

svn commit: r316559 - in stable: 10/usr.sbin/ntp 11/usr.sbin/ntp

2017-04-06 Thread Cy Schubert
Author: cy Date: Thu Apr 6 06:11:04 2017 New Revision: 316559 URL: https://svnweb.freebsd.org/changeset/base/316559 Log: MFC r314946: Configure leap-second smearing (always). Leap-second smearing is an experimental option that may be specified in ntp.conf(5) and the -x option on