svn commit: r325093 - in head/sys/boot: . efi/boot1 efi/fdt efi/libefi efi/loader efi/loader/arch/amd64 efi/loader/arch/arm64 efi/loader/arch/i386

2017-10-28 Thread Warner Losh
Author: imp Date: Sun Oct 29 05:26:59 2017 New Revision: 325093 URL: https://svnweb.freebsd.org/changeset/base/325093 Log: Define new EFI variables Define EFISRC, EFIINC and EFIINCMD. Use them, as well as using other symbols defined in defs.mk. Prefer to ../../Makefile.inc or .

svn commit: r325094 - in head/sys/boot: . fdt ficl geli ofw/libofw uboot/fdt uboot/lib zfs

2017-10-28 Thread Warner Losh
Author: imp Date: Sun Oct 29 05:27:22 2017 New Revision: 325094 URL: https://svnweb.freebsd.org/changeset/base/325094 Log: Cleanup non-arch Makefiles Use SYSDIR, BOOTSRC, LDRSRC and FDTSRC in preference to relative paths. Also, use bsd.init.mk where needed. Sponsored by: Netflix

Re: svn commit: r325062 - in head/lib: . libcasper libcasper/libcasper libcasper/services libcasper/services/cap_dns libcasper/services/cap_dns/tests libcasper/services/cap_grp libcasper/services/cap_

2017-10-28 Thread Mariusz Zaborski
On 29 October 2017 at 01:49, Conrad Meyer wrote: > Hi, > > On Sat, Oct 28, 2017 at 12:23 PM, Mariusz Zaborski > wrote: >> Author: oshogbo >> Date: Sat Oct 28 19:23:57 2017 >> New Revision: 325062 >> URL: https://svnweb.freebsd.org/changeset/base/325062 >>

svn commit: r325092 - head/usr.bin/fortune/datfiles

2017-10-28 Thread Eitan Adler
Author: eadler Date: Sun Oct 29 04:53:33 2017 New Revision: 325092 URL: https://svnweb.freebsd.org/changeset/base/325092 Log: Modernize freebsd-tips a bit - Prefer UTF-8 over ISO-8859-1 - Remove some references to printing man pages - Combine duplicate '!!' tips - 'rehash' is no

svn commit: r325091 - head/usr.bin/fortune/datfiles

2017-10-28 Thread Eitan Adler
Author: eadler Date: Sun Oct 29 04:41:01 2017 New Revision: 325091 URL: https://svnweb.freebsd.org/changeset/base/325091 Log: Prefer using https over http Modified: head/usr.bin/fortune/datfiles/freebsd-tips Modified: head/usr.bin/fortune/datfiles/freebsd-tips

svn commit: r325090 - in stable: 10/include 11/include

2017-10-28 Thread Cy Schubert
Author: cy Date: Sun Oct 29 04:33:50 2017 New Revision: 325090 URL: https://svnweb.freebsd.org/changeset/base/325090 Log: Sync (make same) the offsetof macro definition in include/ with the definition of the same in sys/sys/. The problem was discovered while working on implementing a new

svn commit: r325090 - in stable: 10/include 11/include

2017-10-28 Thread Cy Schubert
Author: cy Date: Sun Oct 29 04:33:50 2017 New Revision: 325090 URL: https://svnweb.freebsd.org/changeset/base/325090 Log: Sync (make same) the offsetof macro definition in include/ with the definition of the same in sys/sys/. The problem was discovered while working on implementing a new

svn commit: r325080 - in head: . share/man/man7

2017-10-28 Thread Bryan Drewery
Author: bdrewery Date: Sun Oct 29 01:21:22 2017 New Revision: 325080 URL: https://svnweb.freebsd.org/changeset/base/325080 Log: build(7): Document native-xtools. MFC after:2 weeks Sponsored by: Dell EMC Isilon Modified: head/Makefile head/share/man/man7/build.7 Modified:

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

2017-10-28 Thread Bryan Drewery
Author: bdrewery Date: Sun Oct 29 01:21:26 2017 New Revision: 325081 URL: https://svnweb.freebsd.org/changeset/base/325081 Log: build(7): Document xdev targets. MFC after:2 weeks Sponsored by: Dell EMC Isilon Modified: head/share/man/man7/build.7 Modified:

svn commit: r325085 - head

2017-10-28 Thread Bryan Drewery
Author: bdrewery Date: Sun Oct 29 01:21:39 2017 New Revision: 325085 URL: https://svnweb.freebsd.org/changeset/base/325085 Log: lib32/libsoft: Store object files in a more consistent structure. Having objects in world32 and a sysroot in lib32 was confusing and inconsistent with the

svn commit: r325089 - head

2017-10-28 Thread Bryan Drewery
Author: bdrewery Date: Sun Oct 29 01:21:52 2017 New Revision: 325089 URL: https://svnweb.freebsd.org/changeset/base/325089 Log: xdev: Consolidate duplicate cross-tools build/install list into XDEVDIRS. MFC after:2 weeks Sponsored by: Dell EMC Isilon Modified: head/Makefile.inc1

svn commit: r325084 - head/share/mk

2017-10-28 Thread Bryan Drewery
Author: bdrewery Date: Sun Oct 29 01:21:36 2017 New Revision: 325084 URL: https://svnweb.freebsd.org/changeset/base/325084 Log: AUTO_OBJ: auto.obj.mk mkdir -p simplification Sponsored by: Dell EMC Isilon Modified: head/share/mk/local.sys.env.mk Modified: head/share/mk/local.sys.env.mk

svn commit: r325086 - head

2017-10-28 Thread Bryan Drewery
Author: bdrewery Date: Sun Oct 29 01:21:42 2017 New Revision: 325086 URL: https://svnweb.freebsd.org/changeset/base/325086 Log: xdev: Add missing 'make obj' treewalk for 'make includes'. It is possible that building headers requires an OBJDIR. The other phases of xdev have their own

svn commit: r325088 - head

2017-10-28 Thread Bryan Drewery
Author: bdrewery Date: Sun Oct 29 01:21:49 2017 New Revision: 325088 URL: https://svnweb.freebsd.org/changeset/base/325088 Log: xdev: Remove excess '/' since XDTP is asserted to be an absolute path. MFC after:2 weeks Sponsored by: Dell EMC Isilon Modified: head/Makefile.inc1

svn commit: r325087 - head

2017-10-28 Thread Bryan Drewery
Author: bdrewery Date: Sun Oct 29 01:21:46 2017 New Revision: 325087 URL: https://svnweb.freebsd.org/changeset/base/325087 Log: xdev: Fix build for platforms needing LLD. MFC after:2 weeks Sponsored by: Dell EMC Isilon Modified: head/Makefile.inc1 Modified: head/Makefile.inc1

svn commit: r325072 - head

2017-10-28 Thread Bryan Drewery
Author: bdrewery Date: Sun Oct 29 01:20:56 2017 New Revision: 325072 URL: https://svnweb.freebsd.org/changeset/base/325072 Log: FAST_DEPEND clean hack: Remove lib32/soft files properly. Only remove them if the option is enabled and also handle libsoft by using the proper

svn commit: r325071 - head

2017-10-28 Thread Bryan Drewery
Author: bdrewery Date: Sun Oct 29 01:20:53 2017 New Revision: 325071 URL: https://svnweb.freebsd.org/changeset/base/325071 Log: Move FAST_DEPEND cleanup hack into its own target and call from _cleanobj. The _worldtmp target is for setting up WORLDTMP. Nothing between _worldtmp and

svn commit: r325075 - head

2017-10-28 Thread Bryan Drewery
Author: bdrewery Date: Sun Oct 29 01:21:06 2017 New Revision: 325075 URL: https://svnweb.freebsd.org/changeset/base/325075 Log: Remove comment: debug files can be useful for build tools. Sponsored by: Dell EMC Isilon Modified: head/Makefile.inc1 Modified: head/Makefile.inc1

svn commit: r325083 - head

2017-10-28 Thread Bryan Drewery
Author: bdrewery Date: Sun Oct 29 01:21:33 2017 New Revision: 325083 URL: https://svnweb.freebsd.org/changeset/base/325083 Log: Suggest TARGET/TARGET_ARCH, XDEV/XDEV_ARCH are depcrecated in r269031. MFC after:2 weeks Sponsored by: Dell EMC Isilon Modified: head/Makefile Modified:

svn commit: r325076 - head/release/scripts

2017-10-28 Thread Bryan Drewery
Author: bdrewery Date: Sun Oct 29 01:21:09 2017 New Revision: 325076 URL: https://svnweb.freebsd.org/changeset/base/325076 Log: Rework r254951 to not reach into private OBJDIR areas. The original change was dealing with the build wanting to run a newer install(1) that was not yet

svn commit: r325073 - head

2017-10-28 Thread Bryan Drewery
Author: bdrewery Date: Sun Oct 29 01:20:59 2017 New Revision: 325073 URL: https://svnweb.freebsd.org/changeset/base/325073 Log: MK_TESTS is disabled in early phases, no need for TESTBASE extraction here. Sponsored by: Dell EMC Isilon Modified: head/Makefile.inc1 Modified:

svn commit: r325082 - in head: . share/man/man7

2017-10-28 Thread Bryan Drewery
>/dev/null Modified: head/UPDATING == --- head/UPDATING Sun Oct 29 01:21:26 2017(r325081) +++ head/UPDATING Sun Oct 29 01:21:29 2017(r325082) @@ -51,6 +51,11 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 12.x IS SLOW: ** SPECIAL WARNING: ***

svn commit: r325078 - head

2017-10-28 Thread Bryan Drewery
Author: bdrewery Date: Sun Oct 29 01:21:15 2017 New Revision: 325078 URL: https://svnweb.freebsd.org/changeset/base/325078 Log: Disable AUTO_OBJ as a make argument to ensure it really is disabled. If the user sets this to yes as a make argument too we still want to ensure these do not

svn commit: r325077 - head/share/mk

2017-10-28 Thread Bryan Drewery
Author: bdrewery Date: Sun Oct 29 01:21:12 2017 New Revision: 325077 URL: https://svnweb.freebsd.org/changeset/base/325077 Log: MAKEOBJDIR should be an absolute path, not any path with a slash. Using MAKEOBJDIR=foo did not work but MAKEOBJDIR=foo/ did, but really it needs to be absolute.

svn commit: r325079 - head

2017-10-28 Thread Bryan Drewery
Author: bdrewery Date: Sun Oct 29 01:21:19 2017 New Revision: 325079 URL: https://svnweb.freebsd.org/changeset/base/325079 Log: Fix xdev TARGET/TARGET_ARCH assertion and expand to native-xtools. The top of Makefile.inc1 requires TARGET/TARGET_ARCH be defined. Just building 'make xdev'

svn commit: r325074 - head

2017-10-28 Thread Bryan Drewery
Author: bdrewery Date: Sun Oct 29 01:21:02 2017 New Revision: 325074 URL: https://svnweb.freebsd.org/changeset/base/325074 Log: Move some LIBCOMPAT tmpdir logic setup to its own build target. Its own build target was already handling mtree extractions just as _worldtmp did, so the other

svn commit: r325068 - head

2017-10-28 Thread Bryan Drewery
Author: bdrewery Date: Sun Oct 29 01:20:43 2017 New Revision: 325068 URL: https://svnweb.freebsd.org/changeset/base/325068 Log: Move sendmail special check into a _sanity_check target. MFC after:2 weeks Sponsored by: Dell EMC Isilon Modified: head/Makefile.inc1 Modified:

svn commit: r325070 - head

2017-10-28 Thread Bryan Drewery
Author: bdrewery Date: Sun Oct 29 01:20:50 2017 New Revision: 325070 URL: https://svnweb.freebsd.org/changeset/base/325070 Log: We don't need LIB32 directories extracted in early phase legacy/WORLDTMP dirs. This reverts some changes from r289662 Sponsored by: Dell EMC Isilon

svn commit: r325069 - head

2017-10-28 Thread Bryan Drewery
Author: bdrewery Date: Sun Oct 29 01:20:47 2017 New Revision: 325069 URL: https://svnweb.freebsd.org/changeset/base/325069 Log: Disallow using a colon ':' in source checkout paths. This leaks into the PATH handling for WORLDTMP and breaks finding cross-tools. The PATH handling could be

Re: svn commit: r325062 - in head/lib: . libcasper libcasper/libcasper libcasper/services libcasper/services/cap_dns libcasper/services/cap_dns/tests libcasper/services/cap_grp libcasper/services/cap_

2017-10-28 Thread Conrad Meyer
Hi, On Sat, Oct 28, 2017 at 12:23 PM, Mariusz Zaborski wrote: > Author: oshogbo > Date: Sat Oct 28 19:23:57 2017 > New Revision: 325062 > URL: https://svnweb.freebsd.org/changeset/base/325062 > > Log: > Introduce caspermocks. > > The idea behinds mocks is that we don't

svn commit: r325067 - head/usr.sbin/bsnmpd/modules/snmp_hostres

2017-10-28 Thread Pedro F. Giffuni
Author: pfg Date: Sat Oct 28 21:26:49 2017 New Revision: 325067 URL: https://svnweb.freebsd.org/changeset/base/325067 Log: bsnmpd: Only refresh devtree if devd event is a new or removed device. It makes sense to refresh the tree only when a device is inserted or removed, otherwise bsnmpd

svn commit: r325066 - head/lib/libc/regex

2017-10-28 Thread Pedro F. Giffuni
Author: pfg Date: Sat Oct 28 20:09:34 2017 New Revision: 325066 URL: https://svnweb.freebsd.org/changeset/base/325066 Log: Fix out-of-bounds read in libc/regex. The bug is an out-of-bounds read detected with address sanitizer that happens when 'sp' in p_b_coll_elems() includes NUL

svn commit: r325065 - head/sys/dev/ffec

2017-10-28 Thread Ian Lepore
Author: ian Date: Sat Oct 28 20:03:29 2017 New Revision: 325065 URL: https://svnweb.freebsd.org/changeset/base/325065 Log: Split the hardware type enum and the hw feature flags bits into separate fields in the softc; they're ORed together in the ofw_compat_data. I already caught myself

svn commit: r325064 - head/sbin/ping

2017-10-28 Thread Mariusz Zaborski
Author: oshogbo Date: Sat Oct 28 19:39:22 2017 New Revision: 325064 URL: https://svnweb.freebsd.org/changeset/base/325064 Log: Simplify ping sandbox. We don't need to check if casper is present, this is done in the library itself. Reviewed by: emaste, cem, ed Differential

svn commit: r325063 - head/sys/dev/ffec

2017-10-28 Thread Ian Lepore
Author: ian Date: Sat Oct 28 19:34:08 2017 New Revision: 325063 URL: https://svnweb.freebsd.org/changeset/base/325063 Log: Use the 16-bit receive shift feature in ffec hardware that supports it. When available, enabling this feature causes the hardware to write data to the receive buffer

svn commit: r325062 - in head/lib: . libcasper libcasper/libcasper libcasper/services libcasper/services/cap_dns libcasper/services/cap_dns/tests libcasper/services/cap_grp libcasper/services/cap_g...

2017-10-28 Thread Mariusz Zaborski
Author: oshogbo Date: Sat Oct 28 19:23:57 2017 New Revision: 325062 URL: https://svnweb.freebsd.org/changeset/base/325062 Log: Introduce caspermocks. The idea behinds mocks is that we don't need to ifdef a lot of code in tools itself but those defines are hidden in the casper library.

svn commit: r325061 - head/sys/dev/ffec

2017-10-28 Thread Ian Lepore
Author: ian Date: Sat Oct 28 19:08:06 2017 New Revision: 325061 URL: https://svnweb.freebsd.org/changeset/base/325061 Log: Support up to 3 IRQs in the ffec driver. Newer hardware splits the interrupts onto 3 different irq lines, but the docs barely mention that there are multiple

svn commit: r325060 - head/sys/sys

2017-10-28 Thread Ian Lepore
Author: ian Date: Sat Oct 28 18:56:27 2017 New Revision: 325060 URL: https://svnweb.freebsd.org/changeset/base/325060 Log: Add a #define RESOURCE_SPEC_END. Similar to DEVMETHOD_END and KOBJMETHOD_END, this is to serve as the end marker in an array of resource_spec structures. Modified:

svn commit: r325059 - head/contrib/tzdata

2017-10-28 Thread Philip Paeps
Author: philip Date: Sat Oct 28 18:54:45 2017 New Revision: 325059 URL: https://svnweb.freebsd.org/changeset/base/325059 Log: Import tzdata 2017c Changes: https://mm.icann.org/pipermail/tz-announce/2017-October/47.html MFC after:2 days Added: head/contrib/tzdata/calendars

svn commit: r325058 - vendor/tzdata/tzdata2017c

2017-10-28 Thread Philip Paeps
Author: philip Date: Sat Oct 28 17:45:42 2017 New Revision: 325058 URL: https://svnweb.freebsd.org/changeset/base/325058 Log: Tag import of tzdata 2017c Added: vendor/tzdata/tzdata2017c/ - copied from r325057, vendor/tzdata/dist/ ___

svn commit: r325057 - vendor/tzdata/dist

2017-10-28 Thread Philip Paeps
Author: philip Date: Sat Oct 28 17:43:05 2017 New Revision: 325057 URL: https://svnweb.freebsd.org/changeset/base/325057 Log: Import tzdata 2017c Added: vendor/tzdata/dist/calendars vendor/tzdata/dist/theory.html (contents, props changed) vendor/tzdata/dist/zishrink.awk (contents,

svn commit: r325056 - head/sys/dev/ffec

2017-10-28 Thread Ian Lepore
Author: ian Date: Sat Oct 28 17:30:49 2017 New Revision: 325056 URL: https://svnweb.freebsd.org/changeset/base/325056 Log: Avoid AXI bus issues due to a MAC reset on imx6sx and imx7. When the FEC is connected to the AXI bus (indicated by AVB flag), a MAC reset while a bus transaction is

svn commit: r325055 - head/sys/dev/ffec

2017-10-28 Thread Ian Lepore
Author: ian Date: Sat Oct 28 17:06:13 2017 New Revision: 325055 URL: https://svnweb.freebsd.org/changeset/base/325055 Log: Add FECFLAG_AVB variant flag to support new features on imx7. This flag is analogous to the Linux driver FEC_QUIRK_HAS_AVB. It indicates an FEC with support for

svn commit: r325054 - head/sys/dev/ffec

2017-10-28 Thread Ian Lepore
Author: ian Date: Sat Oct 28 16:50:23 2017 New Revision: 325054 URL: https://svnweb.freebsd.org/changeset/base/325054 Log: Increase the alignment of the rx/tx descriptor ring buffers to 64 bytes. 16 was the correct alignment for older hardware, but the imx7 requires 64-byte alignment,

svn commit: r325053 - in stable/10/share/man: man5 man8

2017-10-28 Thread Stefan Esser
Author: se Date: Sat Oct 28 07:06:57 2017 New Revision: 325053 URL: https://svnweb.freebsd.org/changeset/base/325053 Log: MFC 324721: Add references to sysrc(8) to SEE ALSO. MFC 324823: Mention sysrc(8) as scripting interface for config files. Modified: stable/10/share/man/man5/rc.conf.5

svn commit: r325052 - in stable/11/share/man: man5 man8

2017-10-28 Thread Stefan Esser
Author: se Date: Sat Oct 28 07:06:30 2017 New Revision: 325052 URL: https://svnweb.freebsd.org/changeset/base/325052 Log: MFC 324721: Add references to sysrc(8) to SEE ALSO. MFC 324823: Mention sysrc(8) as scripting interface for config files. Modified: stable/11/share/man/man5/rc.conf.5