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

2015-10-17 Thread Alexander Motin
Author: mav Date: Sun Oct 18 06:53:31 2015 New Revision: 289489 URL: https://svnweb.freebsd.org/changeset/base/289489 Log: MFC r289136: Remove lock upgrade attempt from ctl_be_block_open_file(). I am not sure what for it was done. Now open routine should automatically fall back to read-o

svn commit: r289488 - head/bin/test/tests

2015-10-17 Thread Garrett Cooper
Author: ngie Date: Sun Oct 18 05:51:44 2015 New Revision: 289488 URL: https://svnweb.freebsd.org/changeset/base/289488 Log: Clean up trailing whitespace MFC after: 3 days Modified: head/bin/test/tests/legacy_test.sh Modified: head/bin/test/tests/legacy_test.sh ==

svn commit: r289487 - in head: bin/dd bin/dd/tests contrib/netbsd-tests/bin/dd etc/mtree

2015-10-17 Thread Garrett Cooper
Author: ngie Date: Sun Oct 18 05:49:58 2015 New Revision: 289487 URL: https://svnweb.freebsd.org/changeset/base/289487 Log: Integrate contrib/netbsd-tests/bin/dd into the FreeBSD test suite as bin/dd/tests Ensure fdescfs is mounted on /dev/fd/ for the length testcase as it's used in val

svn commit: r289482 - head/sys/mips/conf

2015-10-17 Thread Sean Bruno
Author: sbruno Date: Sun Oct 18 04:50:51 2015 New Revision: 289482 URL: https://svnweb.freebsd.org/changeset/base/289482 Log: Correctly use the default values for location of MAC addrs of arge0, arge1, ath0. woo! Reviewed by: adrian Modified: head/sys/mips/conf/TP-MR3020.hints Modif

svn commit: r289481 - head/share/mk

2015-10-17 Thread Garrett Cooper
Author: ngie Date: Sun Oct 18 04:07:40 2015 New Revision: 289481 URL: https://svnweb.freebsd.org/changeset/base/289481 Log: Only enable -fstack-protector-strong on gcc 4.9+ and default to -fstack-protector when -fstack-protector-strong is not available, like it was implicitly before r288669

svn commit: r289480 - head/sys/contrib/ipfilter/netinet

2015-10-17 Thread Cy Schubert
Author: cy Date: Sun Oct 18 03:09:03 2015 New Revision: 289480 URL: https://svnweb.freebsd.org/changeset/base/289480 Log: Really fix ipfilter bug 3600459. Obtained from:ipfilter cvs repo r1.48.2.25, r1.72 and NetBSD repo r1.4 MFC after:3 days Modified: head/sys/contrib/ipfi

Re: svn commit: r289421 - in head/etc: . mtree ntp

2015-10-17 Thread Cy Schubert
In message <1445109956.71631.44.ca...@freebsd.org>, Ian Lepore writes: > On Sat, 2015-10-17 at 13:19 -0600, Warner Losh wrote: > > Until the next leap second…. It would be better to just > > always try to grab the latest one… Can we put something > > in periodic to do that so users that have rele

Re: svn commit: r289421 - in head/etc: . mtree ntp

2015-10-17 Thread Cy Schubert
In message <00150ef2-0020-42e5-a1e5-324a23975...@bsdimp.com>, Warner Losh writes: > > On Oct 17, 2015, at 3:20 PM, David Malone = > wrote: > >=20 > > On Sat, Oct 17, 2015 at 12:25:50PM -0600, Ian Lepore wrote: > >>If the leapseconds file is present, the leap bits for reference > >>clocks

Re: svn commit: r289421 - in head/etc: . mtree ntp

2015-10-17 Thread Cy Schubert
Agreed, this would be best. There was a suggestion a GSoC person could do it (though I'm willing to roll up my sleeves if necessary). -- Cheers, Cy Schubert or FreeBSD UNIX: Web: http://www.FreeBSD.org The need of the many outweighs the greed of the few. In message <8154492e-

svn commit: r289477 - head/sys/arm/mv

2015-10-17 Thread Ian Lepore
Author: ian Date: Sun Oct 18 01:03:43 2015 New Revision: 289477 URL: https://svnweb.freebsd.org/changeset/base/289477 Log: Fix a strange macro re-definition compile error. If the VM_MAXUSER_ADDRESS value is defined as a config option the definition is emitted into opt_global.h which is forc

svn commit: r289476 - head/sys/mips/atheros

2015-10-17 Thread Adrian Chadd
Author: adrian Date: Sun Oct 18 00:59:28 2015 New Revision: 289476 URL: https://svnweb.freebsd.org/changeset/base/289476 Log: if_arge: fix up TX workaround; add TX/RX requirements for busdma; add stats The early ethernet MACs (I think AR71xx and AR913x) require that both TX and RX require

Re: svn commit: r289421 - in head/etc: . mtree ntp

2015-10-17 Thread Warner Losh
> On Oct 17, 2015, at 1:25 PM, Ian Lepore wrote: > > On Sat, 2015-10-17 at 13:19 -0600, Warner Losh wrote: >> Until the next leap second…. It would be better to just >> always try to grab the latest one… Can we put something >> in periodic to do that so users that have releases >> that are older

Re: svn commit: r289421 - in head/etc: . mtree ntp

2015-10-17 Thread Warner Losh
> On Oct 17, 2015, at 3:20 PM, David Malone wrote: > > On Sat, Oct 17, 2015 at 12:25:50PM -0600, Ian Lepore wrote: >>If the leapseconds file is present, the leap bits for reference >>clocks and downstratum servers are ignored. >> >> I can't determine from casual code examination (and I

Re: svn commit: r289421 - in head/etc: . mtree ntp

2015-10-17 Thread David Malone
On Sat, Oct 17, 2015 at 12:25:50PM -0600, Ian Lepore wrote: > If the leapseconds file is present, the leap bits for reference > clocks and downstratum servers are ignored. > > I can't determine from casual code examination (and I don't have time > to experiment now) whether that is true ev

svn commit: r289469 - head/rescue/rescue

2015-10-17 Thread Garrett Cooper
Author: ngie Date: Sat Oct 17 21:11:42 2015 New Revision: 289469 URL: https://svnweb.freebsd.org/changeset/base/289469 Log: Make iscsictl and iscsid build if MK_ISCSI == yes MFC after: 1 month X-MFC with: r289452 Modified: head/rescue/rescue/Makefile Modified: head/rescue/rescue/Makef

svn commit: r289468 - stable/10/cddl/contrib/opensolaris/cmd/dtrace

2015-10-17 Thread Mark Johnston
Author: markj Date: Sat Oct 17 20:38:40 2015 New Revision: 289468 URL: https://svnweb.freebsd.org/changeset/base/289468 Log: MFC r272455: Have dtrace(1) handle SIGPIPE, and handle signals when in list mode (-l). In particular, make sure to detach from child processes before exiting. Modifie

svn commit: r289467 - in head: lib/libc/string share/man/man3 share/man/man9

2015-10-17 Thread Conrad E. Meyer
Author: cem Date: Sat Oct 17 19:55:58 2015 New Revision: 289467 URL: https://svnweb.freebsd.org/changeset/base/289467 Log: Document bitset(9) Added: head/share/man/man9/bitset.9 (contents, props changed) Modified: head/lib/libc/string/ffs.3 head/share/man/man3/bitstring.3 head/share/m

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

2015-10-17 Thread Andrew Turner
Author: andrew Date: Sat Oct 17 19:52:17 2015 New Revision: 289466 URL: https://svnweb.freebsd.org/changeset/base/289466 Log: Replace build_section_pagetable with build_l1_block_pagetable as it takes an extra argument to specify the number of 1GiB pages to map. This should be a nop as we are

svn commit: r289465 - head/share/mk

2015-10-17 Thread Garrett Cooper
Author: ngie Date: Sat Oct 17 19:48:17 2015 New Revision: 289465 URL: https://svnweb.freebsd.org/changeset/base/289465 Log: Only use -fstack-protector-strong with supported compilers This includes clang 3.5.0+, gcc 4.2.1, gcc 4.8.4+ This allows me to do subdirectory makes again after s

Re: svn commit: r289421 - in head/etc: . mtree ntp

2015-10-17 Thread Ian Lepore
On Sat, 2015-10-17 at 13:19 -0600, Warner Losh wrote: > Until the next leap second…. It would be better to just > always try to grab the latest one… Can we put something > in periodic to do that so users that have releases > that are older than 6 months aren’t screwed? > > Warner > I think writi

Re: svn commit: r289421 - in head/etc: . mtree ntp

2015-10-17 Thread Warner Losh
> On Oct 17, 2015, at 12:34 PM, Bryan Drewery wrote: > > On 10/17/15 11:25 AM, Ian Lepore wrote: >> On Fri, 2015-10-16 at 14:04 +, Cy Schubert wrote: >>> Author: cy >>> Date: Fri Oct 16 14:04:16 2015 >>> New Revision: 289421 >>> URL: https://svnweb.freebsd.org/changeset/base/289421 >>> >>>

Re: svn commit: r289421 - in head/etc: . mtree ntp

2015-10-17 Thread Warner Losh
Until the next leap second…. It would be better to just always try to grab the latest one… Can we put something in periodic to do that so users that have releases that are older than 6 months aren’t screwed? Warner > On Oct 16, 2015, at 8:04 AM, Cy Schubert wrote: > > Author: cy > Date: Fri Oct

Re: svn commit: r289451 - head/share/zoneinfo

2015-10-17 Thread John-Mark Gurney
Bryan Drewery wrote this message on Sat, Oct 17, 2015 at 12:01 -0700: > On 10/17/15 11:53 AM, John-Mark Gurney wrote: > > Garrett Cooper wrote this message on Sat, Oct 17, 2015 at 09:26 +: > >> Author: ngie > >> Date: Sat Oct 17 09:26:16 2015 > >> New Revision: 289451 > >> URL: https://svnweb.f

Re: svn commit: r289451 - head/share/zoneinfo

2015-10-17 Thread Bryan Drewery
On 10/17/15 11:53 AM, John-Mark Gurney wrote: > Garrett Cooper wrote this message on Sat, Oct 17, 2015 at 09:26 +: >> Author: ngie >> Date: Sat Oct 17 09:26:16 2015 >> New Revision: 289451 >> URL: https://svnweb.freebsd.org/changeset/base/289451 >> >> Log: >> Install share/zoneinfo in a deter

svn commit: r289464 - head

2015-10-17 Thread Bryan Drewery
Author: bdrewery Date: Sat Oct 17 18:59:14 2015 New Revision: 289464 URL: https://svnweb.freebsd.org/changeset/base/289464 Log: Remove unneeded MK_CTF=no when MK_CDDL=no. This has been handled since r228158 made MK_CTF dependent on MK_CDDL in share/mk/bsd.opts.mk. MFC after:2 wee

Re: svn commit: r289451 - head/share/zoneinfo

2015-10-17 Thread John-Mark Gurney
Garrett Cooper wrote this message on Sat, Oct 17, 2015 at 09:26 +: > Author: ngie > Date: Sat Oct 17 09:26:16 2015 > New Revision: 289451 > URL: https://svnweb.freebsd.org/changeset/base/289451 > > Log: > Install share/zoneinfo in a deterministic way by sorting the results from > find >

Re: svn commit: r289421 - in head/etc: . mtree ntp

2015-10-17 Thread Bryan Drewery
On 10/17/15 11:25 AM, Ian Lepore wrote: > On Fri, 2015-10-16 at 14:04 +, Cy Schubert wrote: >> Author: cy >> Date: Fri Oct 16 14:04:16 2015 >> New Revision: 289421 >> URL: https://svnweb.freebsd.org/changeset/base/289421 >> >> Log: >> Add default leap-seconds file. This should help ntp networ

Re: svn commit: r289421 - in head/etc: . mtree ntp

2015-10-17 Thread Ian Lepore
On Fri, 2015-10-16 at 14:04 +, Cy Schubert wrote: > Author: cy > Date: Fri Oct 16 14:04:16 2015 > New Revision: 289421 > URL: https://svnweb.freebsd.org/changeset/base/289421 > > Log: > Add default leap-seconds file. This should help ntp networks get > the > leap second date correct > >

svn commit: r289462 - head

2015-10-17 Thread Bryan Drewery
Author: bdrewery Date: Sat Oct 17 18:22:18 2015 New Revision: 289462 URL: https://svnweb.freebsd.org/changeset/base/289462 Log: Fix wrong PATH being set for world 'includes' stage after r289438. The 'includes' target is currently a pseudo target in bsd.subdir.mk that does 'cd ${.CURDIR} &

Re: svn commit: r289332 - head/tools/regression/lib/msun

2015-10-17 Thread Bruce Evans
On Sat, 17 Oct 2015, Konstantin Belousov wrote: On Thu, Oct 15, 2015 at 10:12:03PM +1100, Bruce Evans wrote: On Thu, 15 Oct 2015, Konstantin Belousov wrote: On Wed, Oct 14, 2015 at 08:22:12PM +, Garrett Cooper wrote: Author: ngie Date: Wed Oct 14 20:22:12 2015 New Revision: 289332 URL: h

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

2015-10-17 Thread Alexander V. Chernikov
Author: melifaro Date: Sat Oct 17 17:26:44 2015 New Revision: 289461 URL: https://svnweb.freebsd.org/changeset/base/289461 Log: Remove several compat functions from pre-fib era. Modified: head/sys/net/route.c head/sys/net/route.h head/sys/netinet/in_rmx.c head/sys/netinet/in_var.h Modi

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

2015-10-17 Thread Bryan Drewery
storic default "all" target creates files which may cause stale Modified: head/UPDATING == --- head/UPDATING Sat Oct 17 16:05:42 2015(r289459) +++ head/UPDATING Sat Oct 17 16:42:54 2015

svn commit: r289459 - head/usr.bin/iscsictl

2015-10-17 Thread Edward Tomasz Napierala
Author: trasz Date: Sat Oct 17 16:05:42 2015 New Revision: 289459 URL: https://svnweb.freebsd.org/changeset/base/289459 Log: Remove write-only variable. Submitted by: Dominic Marks MFC after:1 month Sponsored by: The FreeBSD Foundation Modified: head/usr.bin/iscsictl/iscsictl.c

svn commit: r289458 - head/lib/clang

2015-10-17 Thread Bryan Drewery
Author: bdrewery Date: Sat Oct 17 15:50:52 2015 New Revision: 289458 URL: https://svnweb.freebsd.org/changeset/base/289458 Log: Conditionalize the META_MODE tool handling on MK_META_MODE. It was not being used outside of META_MODE but this should make it more clear that it is only for MET

Re: svn commit: r289415 - in head: . sys/sys

2015-10-17 Thread Bryan Drewery
On 10/17/2015 12:34 AM, Alexander Motin wrote: > On 16.10.2015 21:26, Alexander Motin wrote: >> On 16.10.2015 21:17, Bryan Drewery wrote: >>> On 10/16/2015 1:57 AM, Alexander Motin wrote: Author: mav Date: Fri Oct 16 08:57:11 2015 New Revision: 289415 URL: https://svnweb.freebsd

svn commit: r289457 - head/sys/x86/x86

2015-10-17 Thread Jason A. Harmening
Author: jah Date: Sat Oct 17 14:58:55 2015 New Revision: 289457 URL: https://svnweb.freebsd.org/changeset/base/289457 Log: Don't page-align the physical address when calling PHYS_TO_VM_PAGE(). Mbusdma_bounce.c Modified: head/sys/x86/x86/busdma_bounce.c Modified: head/sys/x86/x86/bus

svn commit: r289456 - head/sys/dev/drm2/i915

2015-10-17 Thread Jean-Sébastien Pédron
Author: dumbbell Date: Sat Oct 17 14:48:39 2015 New Revision: 289456 URL: https://svnweb.freebsd.org/changeset/base/289456 Log: drm/i915: Reduce diff with Linux 3.8 There is no functional change. The goal is to ease the future update to Linux 3.8's i915 driver. MFC after:2 months

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

2015-10-17 Thread Andrew Turner
Author: andrew Date: Sat Oct 17 14:07:47 2015 New Revision: 289455 URL: https://svnweb.freebsd.org/changeset/base/289455 Log: Rename build_block_pagetable to build_l2_block_pagetable in preperation for adding support for 4 levels of page tables. Obtained from:Patrick Wildt Modif

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

2015-10-17 Thread Konstantin Belousov
Author: kib Date: Sat Oct 17 13:20:42 2015 New Revision: 289454 URL: https://svnweb.freebsd.org/changeset/base/289454 Log: Add checks for kernel VA accesses to the copyin(9) and related functions on arm64. Reviewed by: andrew Sponsored by: The FreeBSD Foundation Differential revision

Re: svn commit: r289332 - head/tools/regression/lib/msun

2015-10-17 Thread Konstantin Belousov
On Thu, Oct 15, 2015 at 10:12:03PM +1100, Bruce Evans wrote: > On Thu, 15 Oct 2015, Konstantin Belousov wrote: > > > On Wed, Oct 14, 2015 at 08:22:12PM +, Garrett Cooper wrote: > >> Author: ngie > >> Date: Wed Oct 14 20:22:12 2015 > >> New Revision: 289332 > >> URL: https://svnweb.freebsd.org/

svn commit: r289453 - head/usr.bin/iscsictl

2015-10-17 Thread Edward Tomasz Napierala
Author: trasz Date: Sat Oct 17 13:06:52 2015 New Revision: 289453 URL: https://svnweb.freebsd.org/changeset/base/289453 Log: Add -w flag to iscsictl(8) utility, to make it wait for successfull session establishment. Scripting is kind of hard without it. Reviewed by: mav@ MFC after:

svn commit: r289452 - head/rescue/rescue

2015-10-17 Thread Edward Tomasz Napierala
Author: trasz Date: Sat Oct 17 13:00:34 2015 New Revision: 289452 URL: https://svnweb.freebsd.org/changeset/base/289452 Log: Add iscsictl(8) and iscsid(8) to rescue(8). The point is to make it easier to build md_root images from rescue(8), to use with iSCSI boot. The change increases the

svn commit: r289451 - head/share/zoneinfo

2015-10-17 Thread Garrett Cooper
Author: ngie Date: Sat Oct 17 09:26:16 2015 New Revision: 289451 URL: https://svnweb.freebsd.org/changeset/base/289451 Log: Install share/zoneinfo in a deterministic way by sorting the results from find This helps produce deterministic METALOG output PR: 200674 Submitted by: Fabian K

Re: svn commit: r289450 - head/lib/libcam

2015-10-17 Thread NGie Cooper
> On Oct 17, 2015, at 02:07, Garrett Cooper wrote: > > Author: ngie > Date: Sat Oct 17 09:07:53 2015 > New Revision: 289450 > URL: https://svnweb.freebsd.org/changeset/base/289450 > > Log: > Set dev->fd to -1 when calling cam_close_spec_device with a valid dev->fd > descriptor to avoid trashi

svn commit: r289450 - head/lib/libcam

2015-10-17 Thread Garrett Cooper
Author: ngie Date: Sat Oct 17 09:07:53 2015 New Revision: 289450 URL: https://svnweb.freebsd.org/changeset/base/289450 Log: Set dev->fd to -1 when calling cam_close_spec_device with a valid dev->fd descriptor to avoid trashing valid file descriptors that access dev->fd at a later point in ti

svn commit: r289449 - in head: sbin/mount sys/kern

2015-10-17 Thread Garrett Cooper
Author: ngie Date: Sat Oct 17 08:51:10 2015 New Revision: 289449 URL: https://svnweb.freebsd.org/changeset/base/289449 Log: Replace /dev/acd0 with /dev/cd1 atapicd(4) has been removed since r249083, and if a system has more than one optical drive, it will likely be /dev/cd1 Update mo

svn commit: r289446 - in head: etc/mtree tests/sys tests/sys/acl tools/regression/acltools

2015-10-17 Thread Garrett Cooper
Author: ngie Date: Sat Oct 17 08:39:37 2015 New Revision: 289446 URL: https://svnweb.freebsd.org/changeset/base/289446 Log: Integrate tools/regression/acltools into the FreeBSD test suite as tests/sys/acl - Make the requirements more complete for the testcases - Detect prerequisites so t

Re: svn commit: r289445 - in head: . sys/cddl/contrib/opensolaris/common/zfs

2015-10-17 Thread Xin Li
On 10/17/15 00:32, Alexander Motin wrote: > Author: mav > Date: Sat Oct 17 07:32:46 2015 > New Revision: 289445 > URL: https://svnweb.freebsd.org/changeset/base/289445 > > Log: > Fix ZFS ABI compat shims for `zfs receive` after r289362. > > Difference appeared much less drammatic then see

Re: svn commit: r289415 - in head: . sys/sys

2015-10-17 Thread Alexander Motin
On 16.10.2015 21:26, Alexander Motin wrote: > On 16.10.2015 21:17, Bryan Drewery wrote: >> On 10/16/2015 1:57 AM, Alexander Motin wrote: >>> Author: mav >>> Date: Fri Oct 16 08:57:11 2015 >>> New Revision: 289415 >>> URL: https://svnweb.freebsd.org/changeset/base/289415 >>> >>> Log: >>> Bump vers

svn commit: r289445 - in head: . sys/cddl/contrib/opensolaris/common/zfs

2015-10-17 Thread Alexander Motin
Author: mav Date: Sat Oct 17 07:32:46 2015 New Revision: 289445 URL: https://svnweb.freebsd.org/changeset/base/289445 Log: Fix ZFS ABI compat shims for `zfs receive` after r289362. Difference appeared much less drammatic then seemed originally. Modified: head/UPDATING head/sys/cddl/con