Re: svn commit: r328013 - head/sbin/fsck_ffs

2018-03-09 Thread Eitan Adler
On 9 March 2018 at 18:36, David Bright wrote: > On Mar 9, 2018, at 17:31, Ian Lepore wrote: >> >> On Fri, 2018-03-09 at 17:09 -0500, Mark Johnston wrote: >>> >>> etc/rc.d/fsck doesn't know how to interpret the new exit code and now >>> just drops to a

Re: svn commit: r330722 - head/sys/conf

2018-03-09 Thread Bruce Evans
On Sat, 10 Mar 2018, Bryan Drewery wrote: Log: Reduce overhead for simple 'make -V' lookups by avoiding 'find sys/'. Setting -DNO_SKIP_MPATH can be used for debugging. Reported by: bde Thanks. Bruce ___ svn-src-head@freebsd.org mailing list

Re: svn commit: r330696 - in head/libexec/tftpd: . tests

2018-03-09 Thread Ilya Bakulin
This broke build for at least ARM. Fix: diff --git a/libexec/tftpd/tests/functional.c b/libexec/tftpd/tests/functional.c index fea6870cac59..c467dfee3ba0 100644 --- a/libexec/tftpd/tests/functional.c +++ b/libexec/tftpd/tests/functional.c @@ -248,10 +248,10 @@ require_bufeq(const char *expected,

Re: svn commit: r330712 - head/bin/ps

2018-03-09 Thread Bruce Evans
On Sat, 10 Mar 2018, Mike Karels wrote: ... Log: Change ps(1) output width to unlimited if not interactive ... Modified: head/bin/ps/ps.1 == --- head/bin/ps/ps.1Fri Mar 9 23:37:19 2018(r330711) +++

Re: svn commit: r330338 - head/sys/amd64/amd64

2018-03-09 Thread Bruce Evans
On Fri, 9 Mar 2018, John Baldwin wrote: On Saturday, March 10, 2018 07:41:30 AM Bruce Evans wrote: On Fri, 9 Mar 2018, John Baldwin wrote: On Saturday, March 03, 2018 03:10:37 PM Andriy Gapon wrote: Author: avg Date: Sat Mar 3 15:10:37 2018 New Revision: 330338 URL:

Re: svn commit: r330711 - head/sbin/sysctl

2018-03-09 Thread Eugene Grosbein
10.03.2018 6:37, John Baldwin wrote: > Author: jhb > Date: Fri Mar 9 23:37:19 2018 > New Revision: 330711 > URL: https://svnweb.freebsd.org/changeset/base/330711 > > Log: > Permit sysctl(8) to set an array of numeric values for a single node. > > Most sysctl nodes only return a single

Re: svn commit: r330644 - in head/sys/dev/mlx5: . mlx5_core

2018-03-09 Thread Alan Somers
Yeah, looks like it's working now. Thanks. On Fri, Mar 9, 2018 at 8:25 PM, Conrad Meyer wrote: > Hi Alan, > > I think I fixed it in r330714, if you want to update to that revision. > > Best, > Conrad > > On Fri, Mar 9, 2018 at 7:14 PM, Alan Somers wrote:

Re: svn commit: r330644 - in head/sys/dev/mlx5: . mlx5_core

2018-03-09 Thread Conrad Meyer
Hi Alan, I think I fixed it in r330714, if you want to update to that revision. Best, Conrad On Fri, Mar 9, 2018 at 7:14 PM, Alan Somers wrote: > On Thu, Mar 8, 2018 at 2:47 AM, Hans Petter Selasky > wrote: >> >> Author: hselasky >> Date: Thu Mar 8

Re: svn commit: r330644 - in head/sys/dev/mlx5: . mlx5_core

2018-03-09 Thread Alan Somers
On Thu, Mar 8, 2018 at 2:47 AM, Hans Petter Selasky wrote: > Author: hselasky > Date: Thu Mar 8 09:47:09 2018 > New Revision: 330644 > URL: https://svnweb.freebsd.org/changeset/base/330644 > > Log: > Updates for PCI and health monitor recovery in mlx5core. > This patch

Re: svn commit: r328013 - head/sbin/fsck_ffs

2018-03-09 Thread David Bright
On Mar 9, 2018, at 17:31, Ian Lepore wrote: > > On Fri, 2018-03-09 at 17:09 -0500, Mark Johnston wrote: >> >> etc/rc.d/fsck doesn't know how to interpret the new exit code and now >> just drops to a single-user shell when it is encountered. […] >> >> Is there any reason

svn commit: r330727 - in head/sys: arm/broadcom/bcm2835 dts/arm

2018-03-09 Thread Oleksandr Tymoshenko
Author: gonzo Date: Sat Mar 10 02:49:58 2018 New Revision: 330727 URL: https://svnweb.freebsd.org/changeset/base/330727 Log: [rpi] remove IRQ support for BCM233x RNG Upstream DTBs don't provide IRQ lines for the RNG. Moreover, harvesting bytes as often as the RNG interrupt is triggered

svn commit: r330725 - head/sys/conf

2018-03-09 Thread Bryan Drewery
Author: bdrewery Date: Sat Mar 10 02:13:48 2018 New Revision: 330725 URL: https://svnweb.freebsd.org/changeset/base/330725 Log: Fix rebase mismerge in r330724. X-MFC-With: r330724 MFC after:2 weeks Sponsored by: Dell EMC Modified: head/sys/conf/kern.post.mk Modified:

svn commit: r330724 - head/sys/conf

2018-03-09 Thread Bryan Drewery
Author: bdrewery Date: Sat Mar 10 02:10:26 2018 New Revision: 330724 URL: https://svnweb.freebsd.org/changeset/base/330724 Log: Don't skip reading depend for 'make obj' unless it is alone. This was effectively done in bsd.dep.mk quite some time ago. MFC after:2 weeks Sponsored

svn commit: r330723 - head/sys/conf

2018-03-09 Thread Bryan Drewery
Author: bdrewery Date: Sat Mar 10 02:10:19 2018 New Revision: 330723 URL: https://svnweb.freebsd.org/changeset/base/330723 Log: Skip reading depend files with -V unless looking up a depend variable. This speeds up some simple -V lookups significantly. Reported by: bde MFC after:

svn commit: r330722 - head/sys/conf

2018-03-09 Thread Bryan Drewery
Author: bdrewery Date: Sat Mar 10 02:09:36 2018 New Revision: 330722 URL: https://svnweb.freebsd.org/changeset/base/330722 Log: Reduce overhead for simple 'make -V' lookups by avoiding 'find sys/'. Setting -DNO_SKIP_MPATH can be used for debugging. Reported by: bde MFC after:2

Re: svn commit: r328625 - in head/sys: amd64/amd64 amd64/ia32 amd64/include dev/cpuctl i386/i386 x86/include x86/x86

2018-03-09 Thread Ed Maste
On 9 March 2018 at 19:41, Dexuan-BSD Cui wrote: > Hi, > > In my FreeBSD 11.1 VM, I'm getting this build failure and it looks > this revision causes the failure: > > /root/bsd.git/sys/amd64/amd64/support.S:855:2: error: unknown directive > .altmacro > ^ Are you trying to

svn commit: r330721 - head/sys/kern

2018-03-09 Thread Conrad Meyer
Author: cem Date: Sat Mar 10 01:53:42 2018 New Revision: 330721 URL: https://svnweb.freebsd.org/changeset/base/330721 Log: subr_gtaskqueue: Fix braino from r330715 Submitted by: markj Sponsored by: Dell EMC Isilon Modified: head/sys/kern/subr_gtaskqueue.c Modified:

svn commit: r330720 - in head/libexec/tftpd: . tests

2018-03-09 Thread Alan Somers
Author: asomers Date: Sat Mar 10 01:50:43 2018 New Revision: 330720 URL: https://svnweb.freebsd.org/changeset/base/330720 Log: tftpd: reject unknown opcodes If tftpd receives a command with an unknown opcode, it simply exits 1. It doesn't send an ERROR packet, and the client will hang

svn commit: r330719 - in head/libexec/tftpd: . tests

2018-03-09 Thread Alan Somers
Author: asomers Date: Sat Mar 10 01:43:55 2018 New Revision: 330719 URL: https://svnweb.freebsd.org/changeset/base/330719 Log: tftpd: Abort on an WRQ access violation On a WRQ (write request) tftpd checks whether the client has access permission for the file in question. If not, then

Re: svn commit: r330338 - head/sys/amd64/amd64

2018-03-09 Thread John Baldwin
On Saturday, March 10, 2018 07:41:30 AM Bruce Evans wrote: > On Fri, 9 Mar 2018, John Baldwin wrote: > > > On Saturday, March 03, 2018 03:10:37 PM Andriy Gapon wrote: > >> Author: avg > >> Date: Sat Mar 3 15:10:37 2018 > >> New Revision: 330338 > >> URL:

svn commit: r330718 - in head/libexec/tftpd: . tests

2018-03-09 Thread Alan Somers
Author: asomers Date: Sat Mar 10 01:35:26 2018 New Revision: 330718 URL: https://svnweb.freebsd.org/changeset/base/330718 Log: tftpd: Verify world-writability for WRQ when using relative paths tftpd(8) says that files may only be written if they already exist and are publicly writable.

svn commit: r330717 - head/sys/cam/nvme

2018-03-09 Thread Conrad Meyer
Author: cem Date: Sat Mar 10 01:28:55 2018 New Revision: 330717 URL: https://svnweb.freebsd.org/changeset/base/330717 Log: nvme_da: Fix minor memory leak in error case Reported by: cppcheck Sponsored by: Dell EMC Isilon Modified: head/sys/cam/nvme/nvme_da.c Modified:

svn commit: r330716 - head/sys/sys

2018-03-09 Thread Brooks Davis
Author: brooks Date: Sat Mar 10 01:07:30 2018 New Revision: 330716 URL: https://svnweb.freebsd.org/changeset/base/330716 Log: Remove obsolete dataacq.h. Nothing includes this file, lists it in a Makefile, or uses any of the ioctl definitions. Deleted: head/sys/sys/dataacq.h

svn commit: r330715 - head/sys/kern

2018-03-09 Thread Conrad Meyer
Author: cem Date: Sat Mar 10 01:01:01 2018 New Revision: 330715 URL: https://svnweb.freebsd.org/changeset/base/330715 Log: subr_gtaskqueue: Fix minor leak of tq_name in error case Reported by: cppcheck Sponsored by: Dell EMC Isilon Modified: head/sys/kern/subr_gtaskqueue.c Modified:

svn commit: r330714 - head/sys/dev/mlx5

2018-03-09 Thread Conrad Meyer
Author: cem Date: Sat Mar 10 00:59:48 2018 New Revision: 330714 URL: https://svnweb.freebsd.org/changeset/base/330714 Log: mlx5(4): Remove redundant declaration of mlx5_enter_error_state Broken in r330644. Sponsored by: Dell EMC Isilon Modified: head/sys/dev/mlx5/driver.h

Re: svn commit: r328625 - in head/sys: amd64/amd64 amd64/ia32 amd64/include dev/cpuctl i386/i386 x86/include x86/x86

2018-03-09 Thread Dexuan-BSD Cui
Hi, In my FreeBSD 11.1 VM, I'm getting this build failure and it looks this revision causes the failure: cc -target x86_64-unknown-freebsd12.0 --sysroot=/usr/obj/root/bsd.git/amd64.amd64/tmp -B/usr/obj/root/bsd.git/amd64.amd64/tmp/usr/bin -c -x assembler-with-cpp -DLOCORE -O2 -pipe

svn commit: r330712 - head/bin/ps

2018-03-09 Thread Mike Karels
Author: karels Date: Sat Mar 10 00:10:47 2018 New Revision: 330712 URL: https://svnweb.freebsd.org/changeset/base/330712 Log: Change ps(1) output width to unlimited if not interactive Apply patch submitted with PR 217159 to make ps use unlimited width when not associated with a terminal

svn commit: r330711 - head/sbin/sysctl

2018-03-09 Thread John Baldwin
Author: jhb Date: Fri Mar 9 23:37:19 2018 New Revision: 330711 URL: https://svnweb.freebsd.org/changeset/base/330711 Log: Permit sysctl(8) to set an array of numeric values for a single node. Most sysctl nodes only return a single value, but some nodes return an array of values (e.g.

svn commit: r330710 - in head: libexec/tftpd libexec/tftpd/tests usr.bin/tftp

2018-03-09 Thread Alan Somers
Author: asomers Date: Fri Mar 9 23:25:18 2018 New Revision: 330710 URL: https://svnweb.freebsd.org/changeset/base/330710 Log: tftpd: Flush files as soon as they are fully received On an RRQ, tftpd doesn't exit as soon as it's finished receiving a file. Instead, it waits five seconds

svn commit: r330709 - head/etc/mtree

2018-03-09 Thread Alan Somers
Author: asomers Date: Fri Mar 9 23:17:29 2018 New Revision: 330709 URL: https://svnweb.freebsd.org/changeset/base/330709 Log: Commit missing file from r330696 MFC after:3 weeks X-MFC-With: 330696 Modified: head/etc/mtree/BSD.tests.dist Modified: head/etc/mtree/BSD.tests.dist

svn commit: r330708 - head/gnu/usr.bin/gdb/kgdb

2018-03-09 Thread John Baldwin
Author: jhb Date: Fri Mar 9 22:58:05 2018 New Revision: 330708 URL: https://svnweb.freebsd.org/changeset/base/330708 Log: Use the trapframe unwinder for "fast_syscall_common". MFC after:3 days Modified: head/gnu/usr.bin/gdb/kgdb/trgt_amd64.c Modified:

Re: svn commit: r328013 - head/sbin/fsck_ffs

2018-03-09 Thread Ian Lepore
On Fri, 2018-03-09 at 17:09 -0500, Mark Johnston wrote: > On Mon, Jan 15, 2018 at 07:25:11PM +, David Bright wrote: > > > > Author: dab > > Date: Mon Jan 15 19:25:11 2018 > > New Revision: 328013 > > URL: https://svnweb.freebsd.org/changeset/base/328013 > > > > Log: > >   Exit fsck_ffs with

Re: svn commit: r328013 - head/sbin/fsck_ffs

2018-03-09 Thread Mark Johnston
On Mon, Jan 15, 2018 at 07:25:11PM +, David Bright wrote: > Author: dab > Date: Mon Jan 15 19:25:11 2018 > New Revision: 328013 > URL: https://svnweb.freebsd.org/changeset/base/328013 > > Log: > Exit fsck_ffs with non-zero status when file system is not repaired. > > When the fsck_ffs

svn commit: r330705 - head/sbin/mount

2018-03-09 Thread Warner Losh
Author: imp Date: Fri Mar 9 21:32:07 2018 New Revision: 330705 URL: https://svnweb.freebsd.org/changeset/base/330705 Log: Remove decade's old whine about msdos vs msdosfs. Retain the compatibility silently though. Reviewed by: cem@, kevans@, emaste@ (and many others in the past)

Re: svn commit: r330338 - head/sys/amd64/amd64

2018-03-09 Thread Bruce Evans
On Sat, 10 Mar 2018, Bruce Evans wrote: On Fri, 9 Mar 2018, John Baldwin wrote: I think you actually just want to replace Xfast_syscall with fast_syscall_common. Neither Xfast_syscall nor Xfast_syscall_pti call any functions before jumping to the common label, so when unwinding from a

Re: svn commit: r330338 - head/sys/amd64/amd64

2018-03-09 Thread Bruce Evans
On Fri, 9 Mar 2018, John Baldwin wrote: On Saturday, March 03, 2018 03:10:37 PM Andriy Gapon wrote: Author: avg Date: Sat Mar 3 15:10:37 2018 New Revision: 330338 URL: https://svnweb.freebsd.org/changeset/base/330338 Log: db_nextframe/amd64: catch up with r328083 to recognize

Re: svn commit: r330338 - head/sys/amd64/amd64

2018-03-09 Thread John Baldwin
On Saturday, March 03, 2018 03:10:37 PM Andriy Gapon wrote: > Author: avg > Date: Sat Mar 3 15:10:37 2018 > New Revision: 330338 > URL: https://svnweb.freebsd.org/changeset/base/330338 > > Log: > db_nextframe/amd64: catch up with r328083 to recognize fast_syscall_common > > Since that

svn commit: r330703 - head/stand/lua

2018-03-09 Thread Kyle Evans
Author: kevans Date: Fri Mar 9 19:04:06 2018 New Revision: 330703 URL: https://svnweb.freebsd.org/changeset/base/330703 Log: lualoader: Cache kernel list With autodetection turned on, hitting the filesystem everytime we need to calculate choices for the kernel carousel is kind of slow.

svn commit: r330702 - head/lib/libmagic

2018-03-09 Thread Bryan Drewery
Author: bdrewery Date: Fri Mar 9 18:51:24 2018 New Revision: 330702 URL: https://svnweb.freebsd.org/changeset/base/330702 Log: LIB32: Avoid linking in unneeded (and invalid lib32) libz for libmagic build tool. Usually this is just ignored: /usr/bin/ld: skipping incompatible

svn commit: r330701 - head/stand/lua

2018-03-09 Thread Kyle Evans
Author: kevans Date: Fri Mar 9 18:45:13 2018 New Revision: 330701 URL: https://svnweb.freebsd.org/changeset/base/330701 Log: lualoader: Don't redraw the autoboot message every .05s Modified: head/stand/lua/menu.lua Modified: head/stand/lua/menu.lua

svn commit: r330699 - head/share/man/man9

2018-03-09 Thread Warner Losh
Author: imp Date: Fri Mar 9 17:54:14 2018 New Revision: 330699 URL: https://svnweb.freebsd.org/changeset/base/330699 Log: Remove K stuff: never use it in new code. Remove how to format K stuff. The project hasn't been using it in new code for a long time. It's so obsolete, we don't need

Re: svn commit: r330663 - head/sys/kern

2018-03-09 Thread Ian Lepore
On Fri, 2018-03-09 at 20:50 +1100, Bruce Evans wrote: > style(9) does require this.  This is hard to see since the style > guide > has been mangled by converting it into a man page, with markup in non > C-code and lots of blank lines to separate the markup.  See > /usr/src/admin/style/style in

Re: svn commit: r330663 - head/sys/kern

2018-03-09 Thread Mark Johnston
On Fri, Mar 09, 2018 at 03:42:05PM +1100, Bruce Evans wrote: > On Thu, 8 Mar 2018, Mark Johnston wrote: > > > Log: > > Return E2BIG if we run out of space writing a compressed kernel dump. > > E2BIG a very wrong errno. It means "Argment list too long". It is broken > as designed, with "too"

Re: svn commit: r330696 - in head/libexec/tftpd: . tests

2018-03-09 Thread Alan Somers
On Fri, Mar 9, 2018 at 8:52 AM, Rodney W. Grimes < free...@pdx.rh.cn85.dnsmgr.net> wrote: > > Author: asomers > > Date: Fri Mar 9 15:30:20 2018 > > New Revision: 330696 > > URL: https://svnweb.freebsd.org/changeset/base/330696 > > > > Log: > > Add some functional tests for tftpd(8) > > > >

Re: svn commit: r330696 - in head/libexec/tftpd: . tests

2018-03-09 Thread Rodney W. Grimes
> Author: asomers > Date: Fri Mar 9 15:30:20 2018 > New Revision: 330696 > URL: https://svnweb.freebsd.org/changeset/base/330696 > > Log: > Add some functional tests for tftpd(8) > > tftpd(8) is difficult to test in isolation due to its relationship with > inetd. Create a test program

svn commit: r330696 - in head/libexec/tftpd: . tests

2018-03-09 Thread Alan Somers
Author: asomers Date: Fri Mar 9 15:30:20 2018 New Revision: 330696 URL: https://svnweb.freebsd.org/changeset/base/330696 Log: Add some functional tests for tftpd(8) tftpd(8) is difficult to test in isolation due to its relationship with inetd. Create a test program that mimics the

Re: svn commit: r328011 - in head/sys/amd64/vmm: amd intel

2018-03-09 Thread Tycho Nightingale
> On Mar 9, 2018, at 9:26 AM, Ed Maste wrote: > > On 8 March 2018 at 21:57, Kubilay Kocak wrote: >> On 9/03/2018 8:57 am, Ed Maste wrote: >>> On 15 January 2018 at 13:37, Tycho Nightingale wrote: Author: tychon Date: Mon Jan

Re: svn commit: r328011 - in head/sys/amd64/vmm: amd intel

2018-03-09 Thread Ed Maste
On 8 March 2018 at 21:57, Kubilay Kocak wrote: > On 9/03/2018 8:57 am, Ed Maste wrote: >> On 15 January 2018 at 13:37, Tycho Nightingale wrote: >>> Author: tychon >>> Date: Mon Jan 15 18:37:03 2018 >>> New Revision: 328011 >>> URL:

svn commit: r330690 - head/stand

2018-03-09 Thread Kyle Evans
Author: kevans Date: Fri Mar 9 14:16:33 2018 New Revision: 330690 URL: https://svnweb.freebsd.org/changeset/base/330690 Log: stand: Fix copy-paste-o, unbreaks libi386 lualoader build The 32-bit version of liblua is, in fact, NOT libficl. =) Reported by: emaste Modified:

svn commit: r330689 - head/sys/compat/linuxkpi/common/src

2018-03-09 Thread Hans Petter Selasky
Author: hselasky Date: Fri Mar 9 12:16:55 2018 New Revision: 330689 URL: https://svnweb.freebsd.org/changeset/base/330689 Log: Implement proper support for complete_all() in the LinuxKPI. When complete_all() is called there might be multiple waiters. The current implementation could

svn commit: r330688 - in head/sys: dev/bwn dev/ral dev/usb/wlan net80211

2018-03-09 Thread Andriy Voskoboinyk
Author: avos Date: Fri Mar 9 11:33:56 2018 New Revision: 330688 URL: https://svnweb.freebsd.org/changeset/base/330688 Log: net80211: wrap protection frame allocation into ieee80211_alloc_prot() Move copy-pasted code for RTS/CTS frame allocation into net80211. While here, add stat /

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

2018-03-09 Thread Andrew Turner
Author: andrew Date: Fri Mar 9 10:34:44 2018 New Revision: 330687 URL: https://svnweb.freebsd.org/changeset/base/330687 Log: Use the correct address to write back to memory in the GICv3 ITS driver. This seems to no be needed on supported hardware as they are cache-coherent, however this

Re: svn commit: r330663 - head/sys/kern

2018-03-09 Thread Bruce Evans
On Thu, 8 Mar 2018, Conrad Meyer wrote: On Thu, Mar 8, 2018 at 8:42 PM, Bruce Evans wrote: On Thu, 8 Mar 2018, Mark Johnston wrote: ... +++ head/sys/kern/kern_shutdown.c Thu Mar 8 17:04:36 2018 (r330663) @@ -1115,6 +1115,12 @@ dump_check_bounds(struct dumperinfo

svn commit: r330686 - head/contrib/llvm/lib/Target/ARM

2018-03-09 Thread Dimitry Andric
Author: dim Date: Fri Mar 9 09:21:22 2018 New Revision: 330686 URL: https://svnweb.freebsd.org/changeset/base/330686 Log: Pull in r326882 from upstream llvm trunk (by Sjoerd Meijer): [ARM] Fix for PR36577 Don't PerformSHLSimplify if the given node is used by a node that also