svn commit: r316392 - stable/11/sys/x86/iommu

2017-04-02 Thread Konstantin Belousov
Author: kib Date: Sun Apr 2 07:11:15 2017 New Revision: 316392 URL: https://svnweb.freebsd.org/changeset/base/316392 Log: MFC r315968: Provide less laborius way to enable busdma DMAR to only short list of devices. Modified: stable/11/sys/x86/iommu/busdma_dmar.c Directory Properties: stab

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

2017-04-02 Thread Dmitry Chagin
Author: dchagin Date: Sun Apr 2 07:46:13 2017 New Revision: 316393 URL: https://svnweb.freebsd.org/changeset/base/316393 Log: As noted by bde@ negative tv_sec values are not checked for overflow, so overflow can still occur. Fix that. Also remove the extra check for tv_sec size as under COM

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

2017-04-02 Thread Dmitry Chagin
Author: dchagin Date: Sun Apr 2 07:47:28 2017 New Revision: 316394 URL: https://svnweb.freebsd.org/changeset/base/316394 Log: The value in the tv_nsec field should be in the range 0 to 9. Pointed out by: bde@ MFC after:1 week Modified: head/sys/compat/linux/linux_

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

2017-04-02 Thread Dmitry Chagin
Author: dchagin Date: Sun Apr 2 07:49:05 2017 New Revision: 316395 URL: https://svnweb.freebsd.org/changeset/base/316395 Log: Remove excess tv_nsec test as this is done by linux_to_native_timespec(). MFC after:1 week Modified: head/sys/compat/linux/linux_futex.c Modified: head/sys/

svn commit: r316396 - head/sys/dev/fb

2017-04-02 Thread Bruce Evans
Author: bde Date: Sun Apr 2 08:39:32 2017 New Revision: 316396 URL: https://svnweb.freebsd.org/changeset/base/316396 Log: Reset the DAC to 6-bit mode before calling the BIOS to set the screen mode. This works around bugs in at least 2 Intel BIOSes for our subsequent setting of the DAC back

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

2017-04-02 Thread Bruce Evans
Author: bde Date: Sun Apr 2 09:24:58 2017 New Revision: 316397 URL: https://svnweb.freebsd.org/changeset/base/316397 Log: Remove the unportable -msse4 here too after fixing crc32_sse42.c to not depend on it. This should have been part of r315983. Modified: head/tests/sys/kern/Makefile Mo

svn commit: r316398 - stable/11/sys/dev/isp

2017-04-02 Thread Alexander Motin
Author: mav Date: Sun Apr 2 10:50:49 2017 New Revision: 316398 URL: https://svnweb.freebsd.org/changeset/base/316398 Log: MFC r315579, r315670: Add initial support for multiple MSI-X vectors. For 24xx and above use 2 vectors (default and response queue). For 26xx and above use 3 vectors

svn commit: r316399 - in stable/10/sys: dev/isp modules/isp

2017-04-02 Thread Alexander Motin
Author: mav Date: Sun Apr 2 10:52:00 2017 New Revision: 316399 URL: https://svnweb.freebsd.org/changeset/base/316399 Log: MFC r315579, r315670: Add initial support for multiple MSI-X vectors. For 24xx and above use 2 vectors (default and response queue). For 26xx and above use 3 vectors

svn commit: r316400 - stable/11/sys/dev/isp

2017-04-02 Thread Alexander Motin
Author: mav Date: Sun Apr 2 10:53:03 2017 New Revision: 316400 URL: https://svnweb.freebsd.org/changeset/base/316400 Log: MFC r315587, r315652: Remove some dead/useless code. Modified: stable/11/sys/dev/isp/isp.c stable/11/sys/dev/isp/isp_freebsd.c stable/11/sys/dev/isp/isp_freebsd.h s

svn commit: r316401 - stable/10/sys/dev/isp

2017-04-02 Thread Alexander Motin
Author: mav Date: Sun Apr 2 10:53:37 2017 New Revision: 316401 URL: https://svnweb.freebsd.org/changeset/base/316401 Log: MFC r315587, r315652: Remove some dead/useless code. Modified: stable/10/sys/dev/isp/isp.c stable/10/sys/dev/isp/isp_freebsd.c stable/10/sys/dev/isp/isp_freebsd.h s

svn commit: r316402 - stable/11/sys/dev/isp

2017-04-02 Thread Alexander Motin
Author: mav Date: Sun Apr 2 10:54:28 2017 New Revision: 316402 URL: https://svnweb.freebsd.org/changeset/base/316402 Log: MFC r315677: Clean/unify some macro usage. Modified: stable/11/sys/dev/isp/isp_freebsd.c stable/11/sys/dev/isp/isp_freebsd.h stable/11/sys/dev/isp/isp_pci.c stable/

svn commit: r316403 - stable/10/sys/dev/isp

2017-04-02 Thread Alexander Motin
Author: mav Date: Sun Apr 2 10:54:58 2017 New Revision: 316403 URL: https://svnweb.freebsd.org/changeset/base/316403 Log: MFC r315677: Clean/unify some macro usage. Modified: stable/10/sys/dev/isp/isp_freebsd.c stable/10/sys/dev/isp/isp_freebsd.h stable/10/sys/dev/isp/isp_pci.c stable/

svn commit: r316405 - stable/10/sys/dev/isp

2017-04-02 Thread Alexander Motin
Author: mav Date: Sun Apr 2 10:56:09 2017 New Revision: 316405 URL: https://svnweb.freebsd.org/changeset/base/316405 Log: MFC r315678: Remove questionable reqp->req_time access. Modified: stable/10/sys/dev/isp/isp.c Directory Properties: stable/10/ (props changed) Modified: stable/10/sy

svn commit: r316404 - stable/11/sys/dev/isp

2017-04-02 Thread Alexander Motin
Author: mav Date: Sun Apr 2 10:55:40 2017 New Revision: 316404 URL: https://svnweb.freebsd.org/changeset/base/316404 Log: MFC r315678: Remove questionable reqp->req_time access. Modified: stable/11/sys/dev/isp/isp.c Directory Properties: stable/11/ (props changed) Modified: stable/11/sy

svn commit: r316406 - stable/11/sys/dev/isp

2017-04-02 Thread Alexander Motin
Author: mav Date: Sun Apr 2 10:57:19 2017 New Revision: 316406 URL: https://svnweb.freebsd.org/changeset/base/316406 Log: MFC r315681: Improve command timeout handling. Let firmware do its best first, and if it can't, try software recovery. I would remove software timeout handler complet

svn commit: r316407 - stable/10/sys/dev/isp

2017-04-02 Thread Alexander Motin
Author: mav Date: Sun Apr 2 10:57:49 2017 New Revision: 316407 URL: https://svnweb.freebsd.org/changeset/base/316407 Log: MFC r315681: Improve command timeout handling. Let firmware do its best first, and if it can't, try software recovery. I would remove software timeout handler complet

svn commit: r316408 - stable/11/sys/dev/isp

2017-04-02 Thread Alexander Motin
Author: mav Date: Sun Apr 2 10:58:55 2017 New Revision: 316408 URL: https://svnweb.freebsd.org/changeset/base/316408 Log: MFC r315682, r315683: Remove some dead code left after r246713. Modified: stable/11/sys/dev/isp/isp_pci.c stable/11/sys/dev/isp/isp_sbus.c Directory Properties: stabl

svn commit: r316409 - stable/10/sys/dev/isp

2017-04-02 Thread Alexander Motin
Author: mav Date: Sun Apr 2 10:59:30 2017 New Revision: 316409 URL: https://svnweb.freebsd.org/changeset/base/316409 Log: MFC r315682, r315683: Remove some dead code left after r246713. Modified: stable/10/sys/dev/isp/isp_pci.c stable/10/sys/dev/isp/isp_sbus.c Directory Properties: stabl

svn commit: r316410 - stable/10/sys/dev/isp

2017-04-02 Thread Alexander Motin
Author: mav Date: Sun Apr 2 11:00:18 2017 New Revision: 316410 URL: https://svnweb.freebsd.org/changeset/base/316410 Log: MFC r315709: Switch from using periph_links to sim_links. periph_links field belongs to periph drivers and must not be used here. Modified: stable/10/sys/dev/isp/isp

svn commit: r316411 - stable/11/sys/dev/isp

2017-04-02 Thread Alexander Motin
Author: mav Date: Sun Apr 2 11:00:47 2017 New Revision: 316411 URL: https://svnweb.freebsd.org/changeset/base/316411 Log: MFC r315709: Switch from using periph_links to sim_links. periph_links field belongs to periph drivers and must not be used here. Modified: stable/11/sys/dev/isp/isp

Re: svn commit: r316372 - stable/11/etc

2017-04-02 Thread Slawa Olhovchenkov
On Sat, Apr 01, 2017 at 08:51:22PM +, Alan Somers wrote: > Author: asomers > Date: Sat Apr 1 20:51:22 2017 > New Revision: 316372 > URL: https://svnweb.freebsd.org/changeset/base/316372 > > Log: > MFC r314341: > > Update devd.conf for ports change 421360 > > Ports change 421360 c

svn commit: r316412 - head/sys/dev/usb/controller

2017-04-02 Thread Alexander Motin
Author: mav Date: Sun Apr 2 11:32:05 2017 New Revision: 316412 URL: https://svnweb.freebsd.org/changeset/base/316412 Log: Add IDs for Intel Cougar Point USB 2.0 controller. MFC after:1 week Modified: head/sys/dev/usb/controller/ehci_pci.c Modified: head/sys/dev/usb/controller/ehci_

svn commit: r316413 - head/sys/dev/ichsmb

2017-04-02 Thread Gavin Atkinson
Author: gavin Date: Sun Apr 2 11:36:25 2017 New Revision: 316413 URL: https://svnweb.freebsd.org/changeset/base/316413 Log: Add IDs for several missing Intel SMBus controllers. Obtained from:Data sheets, Linux defines, local hardware MFH: 2 weeks Modified: head/sys/de

svn commit: r316414 - head/bin/sh

2017-04-02 Thread Jilles Tjoelker
Author: jilles Date: Sun Apr 2 12:37:43 2017 New Revision: 316414 URL: https://svnweb.freebsd.org/changeset/base/316414 Log: sh: Don't scan word twice in ${param+-word}. There is no longer a case where argbackq has already been advanced but the string pointer needs to be advanced. Modif

svn commit: r316415 - head/sys/dev/iwn

2017-04-02 Thread Andriy Voskoboinyk
Author: avos Date: Sun Apr 2 13:24:58 2017 New Revision: 316415 URL: https://svnweb.freebsd.org/changeset/base/316415 Log: iwn: use correct mask for queue ids (0xf -> 0x1f). Modified: head/sys/dev/iwn/if_iwn.c Modified: head/sys/dev/iwn/if_iwn.c =

svn commit: r316416 - head/bin/sh

2017-04-02 Thread Jilles Tjoelker
Author: jilles Date: Sun Apr 2 13:29:27 2017 New Revision: 316416 URL: https://svnweb.freebsd.org/changeset/base/316416 Log: sh: Don't scan word twice in ${param#%##%%word}. If word is expanded, use the found end instead of iterating over the data again. Modified: head/bin/sh/expand.c

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

2017-04-02 Thread Konstantin Belousov
On Sun, Apr 02, 2017 at 07:46:13AM +, Dmitry Chagin wrote: > Author: dchagin > Date: Sun Apr 2 07:46:13 2017 > New Revision: 316393 > URL: https://svnweb.freebsd.org/changeset/base/316393 > > Log: > As noted by bde@ negative tv_sec values are not checked for overflow, > so overflow can st

svn commit: r316417 - head/bin/sh

2017-04-02 Thread Jilles Tjoelker
Author: jilles Date: Sun Apr 2 13:43:45 2017 New Revision: 316417 URL: https://svnweb.freebsd.org/changeset/base/316417 Log: sh: Don't scan word twice in ${param=word}. Modified: head/bin/sh/expand.c Modified: head/bin/sh/expand.c

svn commit: r316418 - head/bin/sh

2017-04-02 Thread Jilles Tjoelker
Author: jilles Date: Sun Apr 2 14:02:10 2017 New Revision: 316418 URL: https://svnweb.freebsd.org/changeset/base/316418 Log: sh: Remove global state from collate_range_cmp(). The global state is not used across invocations of collate_range_cmp(). Modified: head/bin/sh/expand.c Modified

svn commit: r316419 - stable/11

2017-04-02 Thread Baptiste Daroussin
Author: bapt Date: Sun Apr 2 15:04:26 2017 New Revision: 316419 URL: https://svnweb.freebsd.org/changeset/base/316419 Log: MFC: r315086 (by jhb) Fix removal of /usr/share/info. - The GNU as manual is named as.info.gz. - Remove the generated /usr/share/info/dir file. Reported by

svn commit: r316420 - in stable/11: . contrib/mdocml usr.bin/mandoc

2017-04-02 Thread Baptiste Daroussin
Author: bapt Date: Sun Apr 2 15:13:35 2017 New Revision: 316420 URL: https://svnweb.freebsd.org/changeset/base/316420 Log: RFC: 312593, 313958 Update mandoc to 1.14 Added: stable/11/contrib/mdocml/dba.c - copied unchanged from r312593, head/contrib/mdocml/dba.c stable/11/contrib/

Re: svn commit: r316372 - stable/11/etc

2017-04-02 Thread Alan Somers
On Sun, Apr 2, 2017 at 5:15 AM, Slawa Olhovchenkov wrote: > On Sat, Apr 01, 2017 at 08:51:22PM +, Alan Somers wrote: > >> Author: asomers >> Date: Sat Apr 1 20:51:22 2017 >> New Revision: 316372 >> URL: https://svnweb.freebsd.org/changeset/base/316372 >> >> Log: >> MFC r314341: >> >> Upda

Re: svn commit: r316372 - stable/11/etc

2017-04-02 Thread Slawa Olhovchenkov
On Sun, Apr 02, 2017 at 09:39:47AM -0600, Alan Somers wrote: > On Sun, Apr 2, 2017 at 5:15 AM, Slawa Olhovchenkov wrote: > > On Sat, Apr 01, 2017 at 08:51:22PM +, Alan Somers wrote: > > > >> Author: asomers > >> Date: Sat Apr 1 20:51:22 2017 > >> New Revision: 316372 > >> URL: https://svnweb

svn commit: r316421 - head/bin/sh

2017-04-02 Thread Jilles Tjoelker
Author: jilles Date: Sun Apr 2 15:53:11 2017 New Revision: 316421 URL: https://svnweb.freebsd.org/changeset/base/316421 Log: sh: Remove an XXX comment: it is normal for builtins to use argptr. Modified: head/bin/sh/alias.c Modified: head/bin/sh/alias.c ==

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

2017-04-02 Thread Chagin Dmitry
On Sun, Apr 02, 2017 at 04:36:51PM +0300, Konstantin Belousov wrote: > On Sun, Apr 02, 2017 at 07:46:13AM +, Dmitry Chagin wrote: > > Author: dchagin > > Date: Sun Apr 2 07:46:13 2017 > > New Revision: 316393 > > URL: https://svnweb.freebsd.org/changeset/base/316393 > > > > Log: > > As note

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

2017-04-02 Thread Bruce Evans
Author: bde Date: Sun Apr 2 16:39:39 2017 New Revision: 316422 URL: https://svnweb.freebsd.org/changeset/base/316422 Log: Remove checks that background (bg) colors are not bright and buggy attempts to keep them that way. The bg brightness bit is interpreted as blinking in some modes, but i

svn commit: r316424 - head/sys/boot/sparc64/loader

2017-04-02 Thread Allan Jude
Author: allanjude Date: Sun Apr 2 17:25:37 2017 New Revision: 316424 URL: https://svnweb.freebsd.org/changeset/base/316424 Log: Fix sparc64 build broken by r316343 and r316076 Reported by: markj Sponsored by: ScaleEngine Inc. Modified: head/sys/boot/sparc64/loader/Makefile Modified:

svn commit: r316425 - stable/11/share/man/man5

2017-04-02 Thread Dimitry Andric
Author: dim Date: Sun Apr 2 17:34:45 2017 New Revision: 316425 URL: https://svnweb.freebsd.org/changeset/base/316425 Log: Regenerate src.conf.5 after the addition of WITH/WITHOUT_LLD_IS_LD. Modified: stable/11/share/man/man5/src.conf.5 Modified: stable/11/share/man/man5/src.conf.5 =

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

2017-04-02 Thread Bruce Evans
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 +, Dmitry Chagin wrote: Author: dchagin Date: Sun Apr 2 07:46:13 2017 New Revision: 316393 URL: https://svnweb.freebsd.org/changeset/base/316393

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

2017-04-02 Thread Allan Jude
On 2017-04-02 09:36, Konstantin Belousov wrote: > On Sun, Apr 02, 2017 at 07:46:13AM +, Dmitry Chagin wrote: >> Author: dchagin >> Date: Sun Apr 2 07:46:13 2017 >> New Revision: 316393 >> URL: https://svnweb.freebsd.org/changeset/base/316393 >> >> Log: >> As noted by bde@ negative tv_sec val

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

2017-04-02 Thread Dmitry Chagin
Author: dchagin Date: Sun Apr 2 18:16:00 2017 New Revision: 316426 URL: https://svnweb.freebsd.org/changeset/base/316426 Log: Use the kern_clock_nanosleep() to implement Linux clock_nanosleep() with the proper handling of the TIMER_ABSTIME flag. XMFC after: r315526 MFC after:1

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

2017-04-02 Thread Chagin Dmitry
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 +, Dmitry Chagin wrote: > >>> Author: dchagin > >>> Date: Sun Apr 2 07:46:

svn commit: r316427 - head/usr.sbin/bhyve

2017-04-02 Thread Alexander Motin
Author: mav Date: Sun Apr 2 20:39:51 2017 New Revision: 316427 URL: https://svnweb.freebsd.org/changeset/base/316427 Log: Add Log directory and SATA NCQ Send and Receive Log. Those are used at least by Linux guests to detect queued TRIM support. MFC after:2 weeks Sponsored by: i

svn commit: r316428 - head/usr.sbin/bhyve

2017-04-02 Thread Alexander Motin
Author: mav Date: Sun Apr 2 20:57:59 2017 New Revision: 316428 URL: https://svnweb.freebsd.org/changeset/base/316428 Log: Fix variable for sizeof() in previous commit. MFC after:2 weeks Modified: head/usr.sbin/bhyve/pci_ahci.c Modified: head/usr.sbin/bhyve/pci_ahci.c ==

svn commit: r316429 - head/sys/net80211

2017-04-02 Thread Adrian Chadd
Author: adrian Date: Sun Apr 2 20:59:12 2017 New Revision: 316429 URL: https://svnweb.freebsd.org/changeset/base/316429 Log: [net80211] refactor the A-MPDU RX window code The RX window update code is effectively the same in both locations. Reviewed by: avos Differential Revision:

svn commit: r316430 - head/bin/dd

2017-04-02 Thread Eric van Gyzen
Author: vangyzen Date: Sun Apr 2 21:30:05 2017 New Revision: 316430 URL: https://svnweb.freebsd.org/changeset/base/316430 Log: Fix indentation in dd(1) Quoting http://mdocml.bsd.lv/mdoc/details/width.html Do not use macros in the argument specifying the width, since that's not porta

svn commit: r316431 - stable/11/sys/kern

2017-04-02 Thread Gleb Smirnoff
Author: glebius Date: Mon Apr 3 00:46:32 2017 New Revision: 316431 URL: https://svnweb.freebsd.org/changeset/base/316431 Log: Merge r315910: Make sendfile(2) more robust against file change. This fixes a possible crash when the file shrinks. This also fixes sendfile(2) not sending mor

svn commit: r316432 - stable/11/contrib/llvm/tools/lld/ELF

2017-04-02 Thread Ed Maste
Author: emaste Date: Mon Apr 3 01:57:03 2017 New Revision: 316432 URL: https://svnweb.freebsd.org/changeset/base/316432 Log: MFC r316029: lld: hack version and help output for compatibility with libtool GNU libtool checks the output from invoking the linker with --version and --help, in

svn commit: r316433 - head/sys/netpfil/ipfw

2017-04-02 Thread Andrey V. Elsukov
Author: ae Date: Mon Apr 3 02:26:30 2017 New Revision: 316433 URL: https://svnweb.freebsd.org/changeset/base/316433 Log: Add the log formatting for an external action opcode. Obtained from:Yandex LLC MFC after:2 weeks Sponsored by: Yandex LLC Modified: head/sys/netpfil/i

svn commit: r316434 - in head: sbin/ipfw sys/netinet sys/netpfil/ipfw

2017-04-02 Thread Andrey V. Elsukov
Author: ae Date: Mon Apr 3 02:44:40 2017 New Revision: 316434 URL: https://svnweb.freebsd.org/changeset/base/316434 Log: Add O_EXTERNAL_DATA opcode support. This opcode can be used to attach some data to external action opcode. And unlike to O_EXTERNAL_INSTANCE opcode, this opcode does n

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

2017-04-02 Thread Andrey V. Elsukov
Author: ae Date: Mon Apr 3 03:07:48 2017 New Revision: 316435 URL: https://svnweb.freebsd.org/changeset/base/316435 Log: Add ipfw_pmod kernel module. The module is designed for modification of a packets of any protocols. For now it implements only TCP MSS modification. It adds the extern

svn commit: r316436 - head/sys/boot/efi/loader

2017-04-02 Thread Allan Jude
Author: allanjude Date: Mon Apr 3 04:28:53 2017 New Revision: 316436 URL: https://svnweb.freebsd.org/changeset/base/316436 Log: Restore EFI boot environment functionality broken in r31 Reported by: Graham Perrin, JT Pennington Sponsored by: ScaleEngine Inc. Modified: head/sys/bo

svn commit: r316437 - head/sys/boot/i386/loader

2017-04-02 Thread Allan Jude
Author: allanjude Date: Mon Apr 3 04:29:57 2017 New Revision: 316437 URL: https://svnweb.freebsd.org/changeset/base/316437 Log: Small cleanup to make i386/loader match efi/loader boot environment code Modified: head/sys/boot/i386/loader/main.c Modified: head/sys/boot/i386/loader/main.c

svn commit: r316438 - head/sys/netipsec

2017-04-02 Thread Andrey V. Elsukov
Author: ae Date: Mon Apr 3 04:44:56 2017 New Revision: 316438 URL: https://svnweb.freebsd.org/changeset/base/316438 Log: GC some unused declarations. MFC after:1 week Modified: head/sys/netipsec/keydb.h Modified: head/sys/netipsec/keydb.h ===

svn commit: r316439 - stable/11/share/man/man4

2017-04-02 Thread Xin LI
Author: delphij Date: Mon Apr 3 06:07:40 2017 New Revision: 316439 URL: https://svnweb.freebsd.org/changeset/base/316439 Log: MFC r315619: pet manlint Modified: stable/11/share/man/man4/cpuctl.4 Directory Properties: stable/11/ (props changed) Modified: stable/11/share/man/man4/cpuctl.4

svn commit: r316440 - stable/10/share/man/man4

2017-04-02 Thread Xin LI
Author: delphij Date: Mon Apr 3 06:09:12 2017 New Revision: 316440 URL: https://svnweb.freebsd.org/changeset/base/316440 Log: MFC r315619: pet manlint. Modified: stable/10/share/man/man4/cpuctl.4 Directory Properties: stable/10/ (props changed) Modified: stable/10/share/man/man4/cpuctl.

svn commit: r316441 - stable/11/usr.bin/sed

2017-04-02 Thread Xin LI
Author: delphij Date: Mon Apr 3 06:13:05 2017 New Revision: 316441 URL: https://svnweb.freebsd.org/changeset/base/316441 Log: MFC r312404, r312519, r313277: Use S_ISREG instead of manual & (also it's better to compare the result from & and the pattern instead of just assuming it's one bi

svn commit: r316442 - stable/10/usr.bin/sed

2017-04-02 Thread Xin LI
Author: delphij Date: Mon Apr 3 06:14:23 2017 New Revision: 316442 URL: https://svnweb.freebsd.org/changeset/base/316442 Log: MFC r312404, r312519, r313277: Use S_ISREG instead of manual & (also it's better to compare the result from & and the pattern instead of just assuming it's one bi

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

2017-04-02 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]", whe