svn commit: r319595 - head/usr.bin/truss

2017-06-04 Thread John Baldwin
Author: jhb Date: Mon Jun 5 05:25:50 2017 New Revision: 319595 URL: https://svnweb.freebsd.org/changeset/base/319595 Log: Decode arguments to dup, dup2, getdirentries, pread, and pwrite. - dup and dup2 print fd arguments in decimal. - pread and pwrite are similar to read and write with

Re: svn commit: r318750 - in head/contrib: binutils/bfd binutils/ld binutils/ld/emulparams gcc gcc/config/s390

2017-06-04 Thread Bryan Drewery
On 6/1/17 5:51 PM, Bryan Drewery wrote: > On 6/1/2017 5:18 PM, Bryan Drewery wrote: >> On 5/23/2017 12:00 PM, O. Hartmann wrote: >>> Am Tue, 23 May 2017 12:52:35 -0500 >>> Pedro Giffuni schrieb: >>> On 23/05/2017 12:12, O. Hartmann wrote: > Am Tue, 23 May 2017 16:38:10

svn commit: r319592 - head/share/mk

2017-06-04 Thread Bryan Drewery
Author: bdrewery Date: Mon Jun 5 05:17:36 2017 New Revision: 319592 URL: https://svnweb.freebsd.org/changeset/base/319592 Log: META_MODE: Allow not ignoring host headers with NO_META_IGNORE_HOST_HEADERS. See r301467 for more details on NO_META_IGNORE_HOST. Usually the full list of host

svn commit: r319594 - head

2017-06-04 Thread Bryan Drewery
Author: bdrewery Date: Mon Jun 5 05:17:42 2017 New Revision: 319594 URL: https://svnweb.freebsd.org/changeset/base/319594 Log: META_MODE: Force a host tool rebuild for ino64 in r318736. Sponsored by: Dell EMC Isilon Modified: head/Makefile.inc1 Modified: head/Makefile.inc1

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

2017-06-04 Thread Bryan Drewery
Author: bdrewery Date: Mon Jun 5 05:17:39 2017 New Revision: 319593 URL: https://svnweb.freebsd.org/changeset/base/319593 Log: META_MODE: Add framework to force rebuilding for major ABI changes. Normally META_MODE ignores host files for "meta mode" decisions on whether a file should be

Re: svn commit: r318441 - in head/etc: . cron.d

2017-06-04 Thread John Baldwin
On Saturday, June 03, 2017 01:49:34 PM Ngie Cooper wrote: > > > On Jun 3, 2017, at 12:05, John Baldwin wrote: > > … > > > Ping? bapt@ agreed with this, but I haven't seen any other feedback? If > > others > > agree then we should either revert back to a single foo.conf or

Re: svn commit: r319507 - head/sys/fs/msdosfs

2017-06-04 Thread Bryan Drewery
On 6/4/17 4:27 PM, Ed Maste wrote: > On 4 June 2017 at 14:06, Bryan Drewery wrote: >> >> In r189170. It seems to me we should change systm.h back to a macro >> #define memmove(dst, src, len) bcopy((src), (dst), (len)) > > Note that they're not quite equivalent: memmove

Re: svn commit: r319507 - head/sys/fs/msdosfs

2017-06-04 Thread Ed Maste
On 4 June 2017 at 14:06, Bryan Drewery wrote: > > In r189170. It seems to me we should change systm.h back to a macro > #define memmove(dst, src, len) bcopy((src), (dst), (len)) Note that they're not quite equivalent: memmove returns dst, while bcopy has no return value.

svn commit: r319591 - head/bin/sh

2017-06-04 Thread Jilles Tjoelker
Author: jilles Date: Sun Jun 4 21:58:02 2017 New Revision: 319591 URL: https://svnweb.freebsd.org/changeset/base/319591 Log: sh: Make sure to process SIGINT if SETINTON re-enables processing. If INTON re-enables interrupts, it processes any interrupt that occurred while interrupts were

svn commit: r319590 - head/tests/sys/aio

2017-06-04 Thread Jilles Tjoelker
Author: jilles Date: Sun Jun 4 21:39:37 2017 New Revision: 319590 URL: https://svnweb.freebsd.org/changeset/base/319590 Log: tests/sys/aio: Add missing mode to open() calls with O_CREAT. Modified: head/tests/sys/aio/aio_test.c Modified: head/tests/sys/aio/aio_test.c

svn commit: r319589 - head/sys/dev/iwm

2017-06-04 Thread Adrian Chadd
Author: adrian Date: Sun Jun 4 21:28:52 2017 New Revision: 319589 URL: https://svnweb.freebsd.org/changeset/base/319589 Log: [iwm] Remove support for fw older than -17 and -22 * iwm(4) didn't use any of these definitions yet, anyway. Obtained from:dragonflybsd.git

svn commit: r319588 - in head/sys/modules/iwmfw: iwm7265Dfw iwm8000Cfw

2017-06-04 Thread Adrian Chadd
Author: adrian Date: Sun Jun 4 21:28:03 2017 New Revision: 319588 URL: https://svnweb.freebsd.org/changeset/base/319588 Log: [iwmfw] bump built firmware now to version 22 for 7265D and 8000C. Modified: head/sys/modules/iwmfw/iwm7265Dfw/Makefile head/sys/modules/iwmfw/iwm8000Cfw/Makefile

svn commit: r319586 - head/sys/contrib/dev/iwm

2017-06-04 Thread Adrian Chadd
Author: adrian Date: Sun Jun 4 21:27:39 2017 New Revision: 319586 URL: https://svnweb.freebsd.org/changeset/base/319586 Log: [iwmfw] 8000C ver 22 firmware. Added: head/sys/contrib/dev/iwm/iwm-8000C-22.fw.uu (contents, props changed) Added: head/sys/contrib/dev/iwm/iwm-8000C-22.fw.uu

svn commit: r319584 - head/sys/contrib/dev/iwm

2017-06-04 Thread Adrian Chadd
Author: adrian Date: Sun Jun 4 21:26:31 2017 New Revision: 319584 URL: https://svnweb.freebsd.org/changeset/base/319584 Log: [iwmfw] add 7265D-22 firmware Added: head/sys/contrib/dev/iwm/iwm-7265D-22.fw.uu (contents, props changed) Added: head/sys/contrib/dev/iwm/iwm-7265D-22.fw.uu

svn commit: r319583 - head/sys/contrib/dev/ath/ath_hal/ar9300

2017-06-04 Thread Adrian Chadd
Author: adrian Date: Sun Jun 4 21:21:44 2017 New Revision: 319583 URL: https://svnweb.freebsd.org/changeset/base/319583 Log: [ath_hal] add USB reset PLL work around for AR9331/AR9344 (Hornet/Wasp.) It turns out that this is useful on hornet and wasp SoCs but it isn't enabled in ye olde

svn commit: r319582 - head/sys/dev/iwm

2017-06-04 Thread Adrian Chadd
Author: adrian Date: Sun Jun 4 21:14:23 2017 New Revision: 319582 URL: https://svnweb.freebsd.org/changeset/base/319582 Log: [iwm] Ignore IWM_DEBUG_LOG_MSG notifications. * Firmware versions 21 and 22 generate some IWM_DEBUG_LOG_MSG notifications, which seem to be harmless. Avoid

svn commit: r319581 - head/sys/dev/iwm

2017-06-04 Thread Adrian Chadd
Author: adrian Date: Sun Jun 4 21:13:13 2017 New Revision: 319581 URL: https://svnweb.freebsd.org/changeset/base/319581 Log: [iwm] Set command code for PHY_DB as well. Obtained from:dragonflybsd.git 58318c956a74382d1286ccabaf767012fdcfe1a2 Modified: head/sys/dev/iwm/if_iwm.c

svn commit: r319580 - head/sys/dev/iwm

2017-06-04 Thread Adrian Chadd
Author: adrian Date: Sun Jun 4 21:12:11 2017 New Revision: 319580 URL: https://svnweb.freebsd.org/changeset/base/319580 Log: [iwm] Set correct state in smart-fifo configuration. Obtained from:dragonflybsd.git 666737f64b4f6dd42ffd9f0ace9fc46ccc1ebaab Modified:

svn commit: r319579 - head/sys/dev/iwm

2017-06-04 Thread Adrian Chadd
Author: adrian Date: Sun Jun 4 21:11:28 2017 New Revision: 319579 URL: https://svnweb.freebsd.org/changeset/base/319579 Log: [iwm] Remove dead code from iwm_pcie_load_cpu_sections(). * If device family is 8000 then iwm_pcie_load_cpu_sections() won't be called at all

svn commit: r319578 - head/sys/dev/iwm

2017-06-04 Thread Adrian Chadd
Author: adrian Date: Sun Jun 4 21:10:14 2017 New Revision: 319578 URL: https://svnweb.freebsd.org/changeset/base/319578 Log: [iwm] Check for lar_disable tunable, and lar_enabled flag from NVM. * LAR can be disabled with the hw.iwm.lar.disable tunable now. * On Family 8000 devices we

svn commit: r319577 - in head/sys: conf dev/iwm modules/iwm

2017-06-04 Thread Adrian Chadd
Author: adrian Date: Sun Jun 4 21:05:58 2017 New Revision: 319577 URL: https://svnweb.freebsd.org/changeset/base/319577 Log: [iwm] Move Smart Fifo handling into if_iwm_sf.c, sync with Linux iwlwifi. * This change also fixes a possible issue in the existing smart-fifo code, which set

svn commit: r319576 - head/bin/sh

2017-06-04 Thread Bryan Drewery
Author: bdrewery Date: Sun Jun 4 21:02:48 2017 New Revision: 319576 URL: https://svnweb.freebsd.org/changeset/base/319576 Log: Allow defining nofork builtins from builtins.def and move always-safe ones there. The generated code remains the same. Reviewed by: jilles Differential

svn commit: r319575 - in head/bin/sh: . tests/errors

2017-06-04 Thread Jilles Tjoelker
Author: jilles Date: Sun Jun 4 20:52:55 2017 New Revision: 319575 URL: https://svnweb.freebsd.org/changeset/base/319575 Log: sh: Fix INTOFF leak when a redirection on a compound command fails. Reported by: bdrewery Added: head/bin/sh/tests/errors/redirection-error8.0 (contents,

Re: svn commit: r318441 - in head/etc: . cron.d

2017-06-04 Thread Bryan Drewery
On 6/4/17 11:43 AM, Alexey Dokuchaev wrote: > On Sun, Jun 04, 2017 at 11:32:21AM -0700, Rodney W. Grimes wrote: >>> On 06/03/17 21:39, Rodney W. Grimes wrote: Are we going to end up with /etc/rc.conf.d? >>> >>> We've had this for over 15 years -- ever since NetBSD rc.d system was >>>

Re: svn commit: r318441 - in head/etc: . cron.d

2017-06-04 Thread Alexey Dokuchaev
On Sun, Jun 04, 2017 at 11:32:21AM -0700, Rodney W. Grimes wrote: > > On 06/03/17 21:39, Rodney W. Grimes wrote: > > > Are we going to end up with /etc/rc.conf.d? > > > > We've had this for over 15 years -- ever since NetBSD rc.d system was > > imported. > > We have had it, but it ships empty,

Re: svn commit: r318441 - in head/etc: . cron.d

2017-06-04 Thread Rodney W. Grimes
[ Charset UTF-8 unsupported, converting... ] > On Sun, Jun 4, 2017 at 12:32 PM, Rodney W. Grimes < > free...@pdx.rh.cn85.dnsmgr.net> wrote: > > > [ Charset windows-1252 unsupported, converting... ] > > > On 06/03/17 21:39, Rodney W. Grimes wrote: > > > > Are we going to end up with

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

2017-06-04 Thread Dmitry Chagin
Author: dchagin Date: Sun Jun 4 18:35:30 2017 New Revision: 319571 URL: https://svnweb.freebsd.org/changeset/base/319571 Log: On success, getrandom() Linux system call returns the number of bytes that were copied to the buffer supplied by the user. PR: 219464 Submitted by:

Re: svn commit: r318441 - in head/etc: . cron.d

2017-06-04 Thread Warner Losh
On Sun, Jun 4, 2017 at 12:32 PM, Rodney W. Grimes < free...@pdx.rh.cn85.dnsmgr.net> wrote: > [ Charset windows-1252 unsupported, converting... ] > > On 06/03/17 21:39, Rodney W. Grimes wrote: > > > Are we going to end up with /etc/rc.conf.d? > > > > We've had this for over 15 years -- ever since

Re: svn commit: r318441 - in head/etc: . cron.d

2017-06-04 Thread Rodney W. Grimes
[ Charset windows-1252 unsupported, converting... ] > On 06/03/17 21:39, Rodney W. Grimes wrote: > > Are we going to end up with /etc/rc.conf.d? > > We've had this for over 15 years -- ever since NetBSD rc.d system was > imported. We have had it, but it ships empty, that is different than what

svn commit: r319570 - in head/sys: compat/linux conf modules/linux modules/linux64

2017-06-04 Thread Dmitry Chagin
Author: dchagin Date: Sun Jun 4 18:24:41 2017 New Revision: 319570 URL: https://svnweb.freebsd.org/changeset/base/319570 Log: Revert r319053 due to lack of sence. As pointed out by kib@ opt_global.h contains such fundamental settings as e.g. SMP option and fake opt_global.h almost never

Re: svn commit: r319507 - head/sys/fs/msdosfs

2017-06-04 Thread Bryan Drewery
On 6/3/2017 12:05 AM, Bruce Evans wrote: > bcopy() is essentially the same as memmove(), but is implemented more > optimally > (the non-use of memmove() in the kernel used to be implememented by > by not having it, but someone broke this by adding an memmove() wrapper > which is an extern

svn commit: r319569 - in head/sys/arm: allwinner annapurna/alpine freescale/imx

2017-06-04 Thread Andrew Turner
Author: andrew Date: Sun Jun 4 09:11:14 2017 New Revision: 319569 URL: https://svnweb.freebsd.org/changeset/base/319569 Log: Start to rename files with common or generic names to be SoC specific. The build system doesn't handle two files with the same name. Added:

Re: svn commit: r319561 - head/usr.bin/primes

2017-06-04 Thread Conrad Meyer
Hi Colin, Minor nitpicking follows. On Sat, Jun 3, 2017 at 7:36 PM, Colin Percival wrote: > Author: cperciva > Date: Sun Jun 4 02:36:37 2017 > New Revision: 319561 > URL: https://svnweb.freebsd.org/changeset/base/319561 > > Log: > Using results from > J. Sorenson