svn commit: r316484 - head/usr.bin/grep

2017-04-03 Thread Conrad Meyer
Author: cem Date: Tue Apr 4 05:56:42 2017 New Revision: 316484 URL: https://svnweb.freebsd.org/changeset/base/316484 Log: bsdgrep(1): create rgrep link Create a convenience rgrep link for bsdgrep(1) that observes 'grep -r' behavior. A follow-up to r316473. Submitted by: Kyle

svn commit: r316483 - head/sys/opencrypto

2017-04-03 Thread Allan Jude
Author: allanjude Date: Tue Apr 4 04:01:02 2017 New Revision: 316483 URL: https://svnweb.freebsd.org/changeset/base/316483 Log: remove machine/metadata.h from sys/opencrypto/crypto.c The header was added by the recent keybuf feature (r316343) MODINFOMD_KEYBUF originally resided here,

svn commit: r316482 - head/sys/dev/tsec

2017-04-03 Thread Justin Hibbits
Author: jhibbits Date: Tue Apr 4 02:55:55 2017 New Revision: 316482 URL: https://svnweb.freebsd.org/changeset/base/316482 Log: Don't calltsec_receive_intr_locked() from the error interrupt handler. The tsec_error_intr_locked() is called with the global lock owned (e.g. the transmit and

svn commit: r316481 - head/sys/dev/tsec

2017-04-03 Thread Justin Hibbits
Author: jhibbits Date: Tue Apr 4 02:48:27 2017 New Revision: 316481 URL: https://svnweb.freebsd.org/changeset/base/316481 Log: Defragment the transmit mbuf chain only if necessary. Use a method similar to the if_dwc driver. Use a wmb() before the flags of the first transmit buffer of

svn commit: r316480 - head/sys/dev/tsec

2017-04-03 Thread Justin Hibbits
Author: jhibbits Date: Tue Apr 4 02:37:41 2017 New Revision: 316480 URL: https://svnweb.freebsd.org/changeset/base/316480 Log: Fix mis-manual merge. Timeout is now effectively a boolean rather than a time-remaining. This was missed in r316478, but included in the original patch

svn commit: r316479 - head/sys/dev/tsec

2017-04-03 Thread Justin Hibbits
Author: jhibbits Date: Tue Apr 4 00:46:48 2017 New Revision: 316479 URL: https://svnweb.freebsd.org/changeset/base/316479 Log: Fix set-but-not-used warnings Submitted by: Sebastian Huber Modified: head/sys/dev/tsec/if_tsec.c Modified: head/sys/dev/tsec/if_tsec.c

svn commit: r316478 - head/sys/dev/tsec

2017-04-03 Thread Justin Hibbits
Author: jhibbits Date: Tue Apr 4 00:43:09 2017 New Revision: 316478 URL: https://svnweb.freebsd.org/changeset/base/316478 Log: Use a common tsec_mii_wait() function to busy wait for status changes. The status indicators are not set immediatly after a command. Discard the first value.

svn commit: r316477 - head/usr.bin/grep

2017-04-03 Thread Ed Maste
Author: emaste Date: Mon Apr 3 23:16:51 2017 New Revision: 316477 URL: https://svnweb.freebsd.org/changeset/base/316477 Log: bsdgrep: fix matching behaviour - Set REG_NOTBOL if we've already matched beginning of line and we're examining later parts - For each pattern we examine,

svn commit: r316476 - head/sys/arm/broadcom/bcm2835

2017-04-03 Thread Gavin Atkinson
Author: gavin Date: Mon Apr 3 22:36:45 2017 New Revision: 316476 URL: https://svnweb.freebsd.org/changeset/base/316476 Log: Fix spelling mistake, BCM2835_PASWORD -> BCM2835_PASSWORD Modified: head/sys/arm/broadcom/bcm2835/bcm2835_wdog.c Modified:

svn commit: r316475 - head/sys/dev/e1000

2017-04-03 Thread Sean Bruno
Author: sbruno Date: Mon Apr 3 21:19:12 2017 New Revision: 316475 URL: https://svnweb.freebsd.org/changeset/base/316475 Log: Remove unsafe and non-functional DDB functions that I added long ago for debugging. Modified: head/sys/dev/e1000/if_em.c Modified: head/sys/dev/e1000/if_em.c

svn commit: r316474 - head/sys/dev/e1000

2017-04-03 Thread Sean Bruno
Author: sbruno Date: Mon Apr 3 21:17:57 2017 New Revision: 316474 URL: https://svnweb.freebsd.org/changeset/base/316474 Log: Remove rx_processing_limit sysctl and now orphaned function em_set_sysctl_value Sponsored by: Limelight Networks Modified: head/sys/dev/e1000/if_em.c Modified:

svn commit: r316473 - head/usr.bin/grep

2017-04-03 Thread Ed Maste
Author: emaste Date: Mon Apr 3 21:10:02 2017 New Revision: 316473 URL: https://svnweb.freebsd.org/changeset/base/316473 Log: bsdgrep: treat rgrep as grep -r Submitted by:Kyle Evans Modified: head/usr.bin/grep/grep.c Modified: head/usr.bin/grep/grep.c

svn commit: r316468 - head/lib/libpmc

2017-04-03 Thread Edward Tomasz Napierala
Author: trasz Date: Mon Apr 3 20:35:17 2017 New Revision: 316468 URL: https://svnweb.freebsd.org/changeset/base/316468 Log: Fix typo. MFC after:2 weeks Sponsored by: DARPA, AFRL Modified: head/lib/libpmc/pmc.haswell.3 Modified: head/lib/libpmc/pmc.haswell.3

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

2017-04-03 Thread Edward Tomasz Napierala
Author: trasz Date: Mon Apr 3 20:33:14 2017 New Revision: 316467 URL: https://svnweb.freebsd.org/changeset/base/316467 Log: Add basic description of kernel source layout. MFC after:2 weeks Modified: head/share/man/man7/hier.7 Modified: head/share/man/man7/hier.7

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

2017-04-03 Thread Edward Tomasz Napierala
Author: trasz Date: Mon Apr 3 20:28:34 2017 New Revision: 316466 URL: https://svnweb.freebsd.org/changeset/base/316466 Log: Remove excessive horizontal whitespace from hier(7) by correctly using "-width". The http://mdocml.bsd.lv/mdoc/details/width.html says: "Do not use macros in the

svn commit: r316464 - head/sbin/mount_msdosfs

2017-04-03 Thread Sevan Janiyan
Author: sevan (doc committer) Date: Mon Apr 3 18:50:04 2017 New Revision: 316464 URL: https://svnweb.freebsd.org/changeset/base/316464 Log: Whilst mount_pcfs originated as a patch in 386BSD, NetBSD 0.8 actually was the first release of an OS to ship with it. Heads up by Ingo Schwarze.

svn commit: r316462 - head/usr.sbin/vidcontrol

2017-04-03 Thread Bruce Evans
Author: bde Date: Mon Apr 3 15:11:28 2017 New Revision: 316462 URL: https://svnweb.freebsd.org/changeset/base/316462 Log: Fix a missing const in my previous commit which broke the build at normal WARNS. Reported by: lwhsu Modified: head/usr.sbin/vidcontrol/vidcontrol.c Modified:

Re: svn commit: r316435 - in head: sbin/ipfw sys/conf sys/modules sys/modules/ipfw_pmod sys/netpfil/ipfw/pmod

2017-04-03 Thread Julian Elischer
On 3/4/17 11:07 am, Andrey V. Elsukov wrote: Author: ae Date: Mon Apr 3 03:07:48 2017 New Revision: 316435 URL: https://svnweb.freebsd.org/changeset/base/316435 it was always my intention to hook netgraph modules into ipfw in this way Log: Add ipfw_pmod kernel module. The module

svn commit: r316461 - in head/sys: net netpfil/ipfw

2017-04-03 Thread Andrey V. Elsukov
Author: ae Date: Mon Apr 3 13:35:04 2017 New Revision: 316461 URL: https://svnweb.freebsd.org/changeset/base/316461 Log: Remove "IPFW static rules" rmlock. Make PFIL's lock global and use it for this purpose. This reduces the number of locks needed to acquire for each packet.

svn commit: r316460 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2017-04-03 Thread Steven Hartland
Author: smh Date: Mon Apr 3 13:11:28 2017 New Revision: 316460 URL: https://svnweb.freebsd.org/changeset/base/316460 Log: Fix expandsz 16.0E vals and vdev_min_asize of RAIDZ children When a member of a RAIDZ has been replaced with a device smaller than the original, then the top level

svn commit: r316459 - head/usr.sbin/vidcontrol

2017-04-03 Thread Bruce Evans
Author: bde Date: Mon Apr 3 13:06:28 2017 New Revision: 316459 URL: https://svnweb.freebsd.org/changeset/base/316459 Log: Show high (blinking foreground/bright background) background colors. Format output and source better for this. Format output for 40 columns if there are less than 80

svn commit: r316456 - in head/contrib/libarchive: libarchive libarchive/test tar/test test_utils

2017-04-03 Thread Martin Matuska
Author: mm Date: Mon Apr 3 12:26:20 2017 New Revision: 316456 URL: https://svnweb.freebsd.org/changeset/base/316456 Log: MFV r316454,316455: Vendor changes (FreeBSD-related): Report which extended attributes could not be restored Update archive_read_disk.3 and archive_write_disk.3

svn commit: r316453 - head/usr.sbin/vidcontrol

2017-04-03 Thread Bruce Evans
Author: bde Date: Mon Apr 3 10:47:01 2017 New Revision: 316453 URL: https://svnweb.freebsd.org/changeset/base/316453 Log: Remove the global variable 'info' and fix associated bugs and style bugs. This variable was used 4 times in 1 function and all uses were wrong. The 4 uses were in he

svn commit: r316450 - in head/sys: conf security/audit

2017-04-03 Thread Robert Watson
Author: rwatson Date: Mon Apr 3 10:15:58 2017 New Revision: 316450 URL: https://svnweb.freebsd.org/changeset/base/316450 Log: Break audit_bsm_klib.c into two files: one (audit_bsm_klib.c) retaining various utility functions used during BSM generation, and a second (audit_bsm_db.c) that

Re: svn commit: r316393 - head/sys/compat/linux

2017-04-03 Thread Konstantin Belousov
On Sun, Apr 02, 2017 at 09:23:41PM +0300, Chagin Dmitry wrote: > On Mon, Apr 03, 2017 at 03:57:29AM +1000, Bruce Evans wrote: > > On Sun, 2 Apr 2017, Chagin Dmitry wrote: > > > > > On Sun, Apr 02, 2017 at 04:36:51PM +0300, Konstantin Belousov wrote: > > >> On Sun, Apr 02, 2017 at 07:46:13AM

svn commit: r316447 - head/usr.sbin/vidcontrol

2017-04-03 Thread Bruce Evans
Author: bde Date: Mon Apr 3 09:21:00 2017 New Revision: 316447 URL: https://svnweb.freebsd.org/changeset/base/316447 Log: Save errno across revert(). Change 25 uses of errc() to err(). 2 of these were correct. 23 used errno for the arg so were just a verbose spelling of err(). 5 of

svn commit: r316443 - head/usr.sbin/vidcontrol

2017-04-03 Thread Bruce Evans
Author: bde Date: Mon Apr 3 06:52:02 2017 New Revision: 316443 URL: https://svnweb.freebsd.org/changeset/base/316443 Log: Fix some parsing and error handling bugs. r146736 added an undocumented syntax and many bugs handling it. The documented syntax is "... [mode] [fg [bg]] [show]",