svn commit: r324684 - head/lib/libstand

2017-10-16 Thread Ed Maste
Author: emaste Date: Tue Oct 17 02:53:42 2017 New Revision: 324684 URL: https://svnweb.freebsd.org/changeset/base/324684 Log: Remove lib/libstand again, accidentally readded in r324683 Deleted: head/lib/libstand/ ___ svn-src-all@freebsd.org mailing

svn commit: r324683 - in head/lib: libc/sys libstand

2017-10-16 Thread Ed Maste
Author: emaste Date: Tue Oct 17 02:51:45 2017 New Revision: 324683 URL: https://svnweb.freebsd.org/changeset/base/324683 Log: write.2: correct maximum nbytes size for EINVAL error In FreeBSD 11 and later debug.iosize_max_clamp defaults to 0, and the maximum nbytes count for write(2) is

svn commit: r324682 - head/etc/periodic/daily

2017-10-16 Thread Cy Schubert
Author: cy Date: Tue Oct 17 01:15:55 2017 New Revision: 324682 URL: https://svnweb.freebsd.org/changeset/base/324682 Log: Style. Replace 8 spaces with a tab. MFC after:2 weeks (with prior commit to this file) Modified: head/etc/periodic/daily/480.leapfile-ntpd Modified:

svn commit: r324681 - in head/etc: defaults periodic/daily

2017-10-16 Thread Cy Schubert
Author: cy Date: Tue Oct 17 01:15:13 2017 New Revision: 324681 URL: https://svnweb.freebsd.org/changeset/base/324681 Log: Provide an option to run the anticongestion ntpd leapfile fetch in the background. Original patch submitted by feld@. I added the "optional" bit. Submitted by:

svn commit: r324680 - head/sys/gdb

2017-10-16 Thread Ryan Libby
Author: rlibby Date: Tue Oct 17 01:12:17 2017 New Revision: 324680 URL: https://svnweb.freebsd.org/changeset/base/324680 Log: gdb kernel server: fixup Search:memory style This is a NFC patch to move around the Search:memory implementation so that it doesn't exceed the standard column

svn commit: r324679 - stable/11/share/man/man9

2017-10-16 Thread Ed Maste
Author: emaste Date: Tue Oct 17 00:25:44 2017 New Revision: 324679 URL: https://svnweb.freebsd.org/changeset/base/324679 Log: MFC r324509: sysctl.9: document CTLFLAG_CAPRD and CTLFLAG_CAPWR Reported by: Shawn Webb Sponsored by: The FreeBSD Foundation Modified:

svn commit: r324676 - in head/sys/fs: nfs nfsclient

2017-10-16 Thread Rick Macklem
Author: rmacklem Date: Mon Oct 16 23:28:12 2017 New Revision: 324676 URL: https://svnweb.freebsd.org/changeset/base/324676 Log: Use taskqueue(9) to do writes/commits to mirrored DSs concurrently. When the NFSv4.1 pNFS client is using a Flexible File Layout specifying mirrored Data

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

2017-10-16 Thread Andriy Voskoboinyk
Tue, 17 Oct 2017 00:53:28 +0300 було написано Bryan Drewery : On 10/16/2017 2:46 PM, Andriy Voskoboinyk wrote: Author: avos Date: Mon Oct 16 21:46:11 2017 New Revision: 324673 URL: https://svnweb.freebsd.org/changeset/base/324673 Log: mbuf(9): unbreak m_fragment()

Re: svn commit: r324656 - head/lib/libifconfig

2017-10-16 Thread Andriy Voskoboinyk
On Mon, Oct 16, 2017 at 06:54:26AM +, Andriy Voskoboinyk wrote: Author: avos Date: Mon Oct 16 06:54:26 2017 New Revision: 324656 URL: https://svnweb.freebsd.org/changeset/base/324656 Log: libifconfig: allow to get original interface name via ifconfig_get_orig_name() Uses the same

svn commit: r324675 - stable/10/sbin/fsck_ffs

2017-10-16 Thread Kirk McKusick
Author: mckusick Date: Mon Oct 16 21:55:31 2017 New Revision: 324675 URL: https://svnweb.freebsd.org/changeset/base/324675 Log: MFC of 324456. Do not report filesystem as modified if only timestamp updated in superblock. Modified: stable/10/sbin/fsck_ffs/main.c Directory Properties:

svn commit: r324674 - stable/11/sbin/fsck_ffs

2017-10-16 Thread Kirk McKusick
Author: mckusick Date: Mon Oct 16 21:53:29 2017 New Revision: 324674 URL: https://svnweb.freebsd.org/changeset/base/324674 Log: MFC of 324456. Do not report filesystem as modified if only timestamp updated in superblock. Modified: stable/11/sbin/fsck_ffs/main.c Directory Properties:

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

2017-10-16 Thread Bryan Drewery
On 10/16/2017 2:46 PM, Andriy Voskoboinyk wrote: > Author: avos > Date: Mon Oct 16 21:46:11 2017 > New Revision: 324673 > URL: https://svnweb.freebsd.org/changeset/base/324673 > > Log: > mbuf(9): unbreak m_fragment() How was it broken and since when? > > - Fix it by replacing m_cat()

svn commit: r324673 - head/sys/kern

2017-10-16 Thread Andriy Voskoboinyk
Author: avos Date: Mon Oct 16 21:46:11 2017 New Revision: 324673 URL: https://svnweb.freebsd.org/changeset/base/324673 Log: mbuf(9): unbreak m_fragment() - Fix it by replacing m_cat() with m_prev->m_next = m_new (m_cat() will try to append data - as a result, there will be no

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

2017-10-16 Thread Julien Charbon
Hi Jonathan, On 10/16/17 7:04 PM, Jonathan Looney wrote: > I apologize for just getting to this, but your code just made it into my > local tree. > > The non-INVARIANTS case looks incorrect. Because tw stays on the list, > it can end up stuck at the front of the queue and block everything >

svn commit: r324672 - head/sys/net

2017-10-16 Thread Andriy Voskoboinyk
Author: avos Date: Mon Oct 16 21:21:31 2017 New Revision: 324672 URL: https://svnweb.freebsd.org/changeset/base/324672 Log: ifnet(9): split ifc_alloc_unit() (should simplify code flow) Allocate smallest unit number from pool via ifc_alloc_unit_next() and exact unit number (if available)

Re: svn commit: r324656 - head/lib/libifconfig

2017-10-16 Thread Andriy Voskoboinyk
Mon, 16 Oct 2017 19:06:55 +0300 було написано Alan Somers : On Mon, Oct 16, 2017 at 12:54 AM, Andriy Voskoboinyk wrote: Author: avos Date: Mon Oct 16 06:54:26 2017 New Revision: 324656 URL: https://svnweb.freebsd.org/changeset/base/324656 Log:

svn commit: r324671 - head/sys/kern

2017-10-16 Thread Konstantin Belousov
Author: kib Date: Mon Oct 16 20:21:51 2017 New Revision: 324671 URL: https://svnweb.freebsd.org/changeset/base/324671 Log: Re-evaluate thread' signal mask after ptracestop(). The stop drops process lock, which allows the signal mask to be changed and our selected signal might become

svn commit: r324670 - head/sys/kern

2017-10-16 Thread Konstantin Belousov
Author: kib Date: Mon Oct 16 20:15:19 2017 New Revision: 324670 URL: https://svnweb.freebsd.org/changeset/base/324670 Log: Improve assertion that an ignored or blocked signal is not delivered. Split two conditions into separate asserts. Print additional details, like the signal number

svn commit: r324669 - head/sys/kern

2017-10-16 Thread Konstantin Belousov
Author: kib Date: Mon Oct 16 20:11:29 2017 New Revision: 324669 URL: https://svnweb.freebsd.org/changeset/base/324669 Log: Style. Sponsored by: The FreeBSD Foundation MFC after:1 week Modified: head/sys/kern/kern_sig.c Modified: head/sys/kern/kern_sig.c

svn commit: r324668 - head/tests/sys/kern

2017-10-16 Thread Bryan Drewery
Author: bdrewery Date: Mon Oct 16 20:06:24 2017 New Revision: 324668 URL: https://svnweb.freebsd.org/changeset/base/324668 Log: This child is expected to exit on SIGTRAP, don't leave a core behind. MFC after:1 week Sponsored by: Dell EMC Isilon Modified:

Re: svn commit: r324646 - in head/sys/boot/efi: boot1 libefi loader

2017-10-16 Thread Emmanuel Vadot
On Mon, 16 Oct 2017 20:08:19 +0300 Toomas Soome wrote: > > The arm (uboot) has a bit different approach on block device(s), see > efipart_hdinfo_add_filepath() in efipart.c; the code needs to check for > MEDIA_FILEPATH_DP, I think. > > rgds, > toomas I'm pretty sure that

Re: svn commit: r324646 - in head/sys/boot/efi: boot1 libefi loader

2017-10-16 Thread Toomas Soome
The arm (uboot) has a bit different approach on block device(s), see efipart_hdinfo_add_filepath() in efipart.c; the code needs to check for MEDIA_FILEPATH_DP, I think. rgds, toomas > On 16 Oct 2017, at 19:07, Andrew Turner wrote: > > Correct, it is aarch64. It runs a

svn commit: r324667 - head/lib/libgeom

2017-10-16 Thread Romain Tartière
Author: romain (ports committer) Date: Mon Oct 16 17:21:52 2017 New Revision: 324667 URL: https://svnweb.freebsd.org/changeset/base/324667 Log: Add a quick description of the geom_getxml(3), geom_xml2tree(3), geom_gettree(3) and geom_deletetree(3) functions provided by libgeom and are not

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

2017-10-16 Thread Jonathan Looney
Hi Julien, I apologize for just getting to this, but your code just made it into my local tree. The non-INVARIANTS case looks incorrect. Because tw stays on the list, it can end up stuck at the front of the queue and block everything behind it. Personally, I would be more comfortable just

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

2017-10-16 Thread Matt Joras
On 10/16/2017 09:14, Matt Joras wrote: > Author: mjoras > Date: Mon Oct 16 16:14:50 2017 > New Revision: 324666 > URL: https://svnweb.freebsd.org/changeset/base/324666 > > Log: > Properly reset the fields in clean_unrhdr. > > In r324542 I neglected to reset the first and last fields of

svn commit: r324666 - head/sys/kern

2017-10-16 Thread Matt Joras
Author: mjoras Date: Mon Oct 16 16:14:50 2017 New Revision: 324666 URL: https://svnweb.freebsd.org/changeset/base/324666 Log: Properly reset the fields in clean_unrhdr. In r324542 I neglected to reset the first and last fields of struct unrhdr. This causes a tmpfs to fail the unr(9)

Re: svn commit: r324646 - in head/sys/boot/efi: boot1 libefi loader

2017-10-16 Thread Andrew Turner
Correct, it is aarch64. It runs a similar qemu command, however I also see it under the ARM Foundation model so it seems to not be simulator specific. Andrew > On 16 Oct 2017, at 16:56, Warner Losh wrote: > > So this is on aarch64? Is this running a standardish qemu setup as

Re: svn commit: r324656 - head/lib/libifconfig

2017-10-16 Thread Alan Somers
On Mon, Oct 16, 2017 at 12:54 AM, Andriy Voskoboinyk wrote: > Author: avos > Date: Mon Oct 16 06:54:26 2017 > New Revision: 324656 > URL: https://svnweb.freebsd.org/changeset/base/324656 > > Log: > libifconfig: allow to get original interface name via >

Re: svn commit: r324646 - in head/sys/boot/efi: boot1 libefi loader

2017-10-16 Thread Warner Losh
So this is on aarch64? Is this running a standardish qemu setup as documented on https://wiki.freebsd.org/arm64/QEMU ? Or are there tricks that we need to cope with... If we can't get good resoltuion on this today, I plan on backing out the entire change. Warner On Mon, Oct 16, 2017 at 9:38 AM,

Re: svn commit: r324646 - in head/sys/boot/efi: boot1 libefi loader

2017-10-16 Thread Andrew Turner
I have a local Jenkins setup that builds images & tries to run under various simulators. The final image is built with mkimg. I’m running it under qemu. Andrew > On 16 Oct 2017, at 13:19, Warner Losh wrote: > > I'll take a look, but I've also ccd Eric so he can figure out

svn commit: r324665 - in head/sys/amd64: amd64 include

2017-10-16 Thread Konstantin Belousov
Author: kib Date: Mon Oct 16 15:16:24 2017 New Revision: 324665 URL: https://svnweb.freebsd.org/changeset/base/324665 Log: Fix the pv_chunks pc_lru tailq handling in reclaim_pv_chunk(). For processing, reclaim_pv_chunk() removes the pv_chunk from the lru list, which makes pc_lru linkage

svn commit: r324664 - head/tests/sys/netpfil/pf

2017-10-16 Thread Kristof Provost
Author: kp Date: Mon Oct 16 15:05:32 2017 New Revision: 324664 URL: https://svnweb.freebsd.org/changeset/base/324664 Log: pf tests: Use pft_set_rules everywhere We now have a utility function to set pf rules in the jail. Use it whenever we need to set the pf rules in the test jail.

svn commit: r324663 - head/tests/sys/netpfil/pf

2017-10-16 Thread Kristof Provost
Author: kp Date: Mon Oct 16 15:03:45 2017 New Revision: 324663 URL: https://svnweb.freebsd.org/changeset/base/324663 Log: pf tests: Basic IPv6 forwarding tests Pass/block packets in the forwarding path with pf. Introduce the pft_set_rules() helper function, because we need to

svn commit: r324662 - head/tests/sys/netpfil/pf

2017-10-16 Thread Kristof Provost
Author: kp Date: Mon Oct 16 15:01:49 2017 New Revision: 324662 URL: https://svnweb.freebsd.org/changeset/base/324662 Log: pf: test set-tos Introduce tests for the set-tos feature of pf. Teach pft_ping.py to send and verify ToS flags. Added: head/tests/sys/netpfil/pf/set_tos.sh

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

2017-10-16 Thread Alexander Motin
Author: mav Date: Mon Oct 16 12:54:53 2017 New Revision: 324661 URL: https://svnweb.freebsd.org/changeset/base/324661 Log: Add Creative vendor ID. MFC after:1 week Modified: head/sys/dev/sound/pci/hda/hdac.c head/sys/dev/sound/pci/hda/hdac.h Modified:

svn commit: r324660 - in head: lib/libc/arm/gen sys/arm/arm sys/arm/include

2017-10-16 Thread Michal Meloun
Author: mmel Date: Mon Oct 16 12:53:54 2017 New Revision: 324660 URL: https://svnweb.freebsd.org/changeset/base/324660 Log: Save VFP state in getcontext(3) on ARM. This is a last followup of r315974, which fixes userland part of VFP save/restore problems described in PR 217611. PR:

svn commit: r324659 - head/share/man/man4

2017-10-16 Thread Alexander Motin
Author: mav Date: Mon Oct 16 12:32:57 2017 New Revision: 324659 URL: https://svnweb.freebsd.org/changeset/base/324659 Log: Update details of interface capabilities changed by bridge(4). PR: 221122 MFC after:1 week Modified: head/share/man/man4/bridge.4 Modified:

Re: svn commit: r324646 - in head/sys/boot/efi: boot1 libefi loader

2017-10-16 Thread Warner Losh
I'll take a look, but I've also ccd Eric so he can figure out what went wrong with is code in your environment. What env is That? Warnee On Oct 16, 2017 3:26 AM, "Andrew Turner" wrote: > > > On 16 Oct 2017, at 04:59, Warner Losh wrote: > > > > Author:

Re: svn commit: r324646 - in head/sys/boot/efi: boot1 libefi loader

2017-10-16 Thread Andrew Turner
> On 16 Oct 2017, at 04:59, Warner Losh wrote: > > Author: imp > Date: Mon Oct 16 03:59:11 2017 > New Revision: 324646 > URL: https://svnweb.freebsd.org/changeset/base/324646 > > Log: > Unify boot1 with loader > > Refactor boot1 to use the same I/O code as /boot/loader

Re: svn commit: r324656 - head/lib/libifconfig

2017-10-16 Thread Baptiste Daroussin
On Mon, Oct 16, 2017 at 06:54:26AM +, Andriy Voskoboinyk wrote: > Author: avos > Date: Mon Oct 16 06:54:26 2017 > New Revision: 324656 > URL: https://svnweb.freebsd.org/changeset/base/324656 > > Log: > libifconfig: allow to get original interface name via > ifconfig_get_orig_name() > >

svn commit: r324658 - head/usr.sbin/wlandebug

2017-10-16 Thread Andriy Voskoboinyk
Author: avos Date: Mon Oct 16 07:15:50 2017 New Revision: 324658 URL: https://svnweb.freebsd.org/changeset/base/324658 Log: wlandebug(8): add a sanity check. Modified: head/usr.sbin/wlandebug/wlandebug.c Modified: head/usr.sbin/wlandebug/wlandebug.c

svn commit: r324657 - head/usr.sbin/wlandebug

2017-10-16 Thread Andriy Voskoboinyk
Author: avos Date: Mon Oct 16 07:01:27 2017 New Revision: 324657 URL: https://svnweb.freebsd.org/changeset/base/324657 Log: wlandebug(8): obtain original interface name via ifconfig_get_orig_name() Modified: head/usr.sbin/wlandebug/Makefile head/usr.sbin/wlandebug/wlandebug.c Modified:

svn commit: r324656 - head/lib/libifconfig

2017-10-16 Thread Andriy Voskoboinyk
Author: avos Date: Mon Oct 16 06:54:26 2017 New Revision: 324656 URL: https://svnweb.freebsd.org/changeset/base/324656 Log: libifconfig: allow to get original interface name via ifconfig_get_orig_name() Uses the same method as in tools/tools/ifinfo/ifinfo.c (via net.link.generic sysctl).