svn commit: r335576 - head/usr.bin/top

2018-06-22 Thread Eitan Adler
Author: eadler Date: Sat Jun 23 03:17:11 2018 New Revision: 335576 URL: https://svnweb.freebsd.org/changeset/base/335576 Log: top(1): show CPU state breakdown on first run There is no documented reason for this not to be shown on the first run. I can't find any good reason, and it breaks

svn commit: r335575 - head/etc/rc.d

2018-06-22 Thread Ian Lepore
Author: ian Date: Sat Jun 23 02:42:08 2018 New Revision: 335575 URL: https://svnweb.freebsd.org/changeset/base/335575 Log: Use 'mv -f' in rc.d/ntpd to avoid spuriously halting the boot. The final 'mv' to install a fetched leap-list file can fail (due to a readonly fs, or schg flags, for

Re: svn commit: r335539 - head/usr.bin/top

2018-06-22 Thread Eitan Adler
On 22 June 2018 at 04:02, Baptiste Daroussin wrote: > wouldn't it be better with a sbuf_clear here? > > if != null: clear else new_auto I did that originally and undid that for reasons I can't remember. Will try it again, if it works, its more correct. -- Eitan Adler Source, Ports, Doc

svn commit: r335574 - head/sys/powerpc/aim

2018-06-22 Thread Justin Hibbits
Author: jhibbits Date: Sat Jun 23 01:42:34 2018 New Revision: 335574 URL: https://svnweb.freebsd.org/changeset/base/335574 Log: powerpc64: Fix stack setup in dbtrap r330610 relocated the DMAP from the base of memory to the base of the fourth quadrant of memory. This broke synthetic

svn commit: r335573 - head/sys/fs/nfs

2018-06-22 Thread Rick Macklem
Author: rmacklem Date: Sat Jun 23 00:48:45 2018 New Revision: 335573 URL: https://svnweb.freebsd.org/changeset/base/335573 Log: Set the slotid and ND_HASSLOTID flag for NFSv4.1 sequenced operations. Most NFSv4.1 compound RPCs start with a Sequence operation. For these cases, save the

svn commit: r335571 - head/sys/fs/nfs

2018-06-22 Thread Rick Macklem
Author: rmacklem Date: Sat Jun 23 00:37:15 2018 New Revision: 335571 URL: https://svnweb.freebsd.org/changeset/base/335571 Log: Define ND_HASSLOTID needed by r335568. r335568 uses a flag called ND_HASSLOTID to indicate that the slotid is set, so it can free and invalidate it. This flag

svn commit: r335569 - in head: sbin/pfctl share/man/man5 sys/netpfil/pf

2018-06-22 Thread Kristof Provost
Author: kp Date: Fri Jun 22 21:59:30 2018 New Revision: 335569 URL: https://svnweb.freebsd.org/changeset/base/335569 Log: pf: Support "return" statements in passing rules when they fail. Normally pf rules are expected to do one of two things: pass the traffic or block it. Blocking can be

svn commit: r335568 - head/sys/fs/nfs

2018-06-22 Thread Rick Macklem
Author: rmacklem Date: Fri Jun 22 21:37:20 2018 New Revision: 335568 URL: https://svnweb.freebsd.org/changeset/base/335568 Log: Fix the handling of NFSv4.1 sessions for "soft" mounts. When a "soft" mount is used for NFSv4.1, an RPC that fails without completing will leave a slot in the

svn commit: r335567 - in head/sys/fs: nfs nfsclient

2018-06-22 Thread Rick Macklem
Author: rmacklem Date: Fri Jun 22 21:25:27 2018 New Revision: 335567 URL: https://svnweb.freebsd.org/changeset/base/335567 Log: Change the NFSv4.1 pNFS client so that it returns the DS error in layoutreturn. When the NFSv4.1 pNFS client gets an error for a DS I/O operation using a

svn commit: r335566 - head/etc/rc.d

2018-06-22 Thread Rick Macklem
Author: rmacklem Date: Fri Jun 22 20:58:51 2018 New Revision: 335566 URL: https://svnweb.freebsd.org/changeset/base/335566 Log: Add "mountcritremote" to the REQUIRE line for nfsd. For a pNFS MDS server, there must be mounts done to the DSs before the nfsd is started. Adding the REQUIRE

svn commit: r335565 - head/usr.sbin/syslogd

2018-06-22 Thread Ed Schouten
Author: ed Date: Fri Jun 22 20:53:39 2018 New Revision: 335565 URL: https://svnweb.freebsd.org/changeset/base/335565 Log: Still parse messages that don't contain an RFC 3164 timestamp. The changes made in r326573 required that messages always start with an RFC 3164 timestamp. It looks

svn commit: r335564 - in head/sys: dts/arm/overlays modules/dtb/rpi

2018-06-22 Thread Ian Lepore
Author: ian Date: Fri Jun 22 20:45:40 2018 New Revision: 335564 URL: https://svnweb.freebsd.org/changeset/base/335564 Log: Add spigen(4) fdt data overlays for RPI-B, RPI-2. By adding spigen-rpi{2,-b}.dtso to fdt_overlays= in loader.conf, the fdt data will set up the correct pinmux and

svn commit: r335562 - head/sys/vm

2018-06-22 Thread Ian Lepore
Author: ian Date: Fri Jun 22 20:22:26 2018 New Revision: 335562 URL: https://svnweb.freebsd.org/changeset/base/335562 Log: Eliminate a spurious panic on non-SMP systems (occurred on shutdown/reboot). Modified: head/sys/vm/uma_core.c Modified: head/sys/vm/uma_core.c

svn commit: r335560 - head/lib/clang/libllvm

2018-06-22 Thread Bryan Drewery
Author: bdrewery Date: Fri Jun 22 17:58:56 2018 New Revision: 335560 URL: https://svnweb.freebsd.org/changeset/base/335560 Log: Revert r335449 and add needed MK_LLD_BOOTSTRAP check for SRCS_MIW. This effectively reverts r335449 and changes the previous MK_LLD_IS_LD to a MK_LLD_BOOTSTRAP

svn commit: r335559 - head/sbin/fsck_msdosfs

2018-06-22 Thread Xin LI
Author: delphij Date: Fri Jun 22 16:18:19 2018 New Revision: 335559 URL: https://svnweb.freebsd.org/changeset/base/335559 Log: Don't bail out when we find primary and secondary bootblocks miscompare. We do not have code to fix this situation, and the mismatch does not prevent the kernel

svn commit: r335558 - in head: lib/clang lib/clang/include/llvm/Config lib/clang/libllvm share/man/man5 share/mk tools/build/options

2018-06-22 Thread Dimitry Andric
Author: dim Date: Fri Jun 22 15:00:00 2018 New Revision: 335558 URL: https://svnweb.freebsd.org/changeset/base/335558 Log: Add support for selectively enabling LLVM targets This makes it possible, through src.conf(5) settings, to select which LLVM targets you want to build during

Re: svn commit: r335539 - head/usr.bin/top

2018-06-22 Thread Baptiste Daroussin
On Fri, Jun 22, 2018 at 09:21:02AM +, Eitan Adler wrote: > Author: eadler > Date: Fri Jun 22 09:21:01 2018 > New Revision: 335539 > URL: https://svnweb.freebsd.org/changeset/base/335539 > > Log: > top(1): reimplement header formatting as sbuf > > The current header formatting is a

svn commit: r335553 - head/sys/kern

2018-06-22 Thread Colin Percival
Author: cperciva Date: Fri Jun 22 10:23:32 2018 New Revision: 335553 URL: https://svnweb.freebsd.org/changeset/base/335553 Log: Improve the accuracy of the POSIX "process CPU-time" clocks by adding the used portion of the current thread's time slice if the current thread belongs to the

svn commit: r335552 - head/usr.bin/top

2018-06-22 Thread Eitan Adler
Author: eadler Date: Fri Jun 22 10:20:21 2018 New Revision: 335552 URL: https://svnweb.freebsd.org/changeset/base/335552 Log: top(1): increase warnings top(1) now builds without cast-qual warnings, so remove the exemption for that. Tested with clang, gcc7, gcc9 Modified:

svn commit: r335551 - head/usr.bin/top

2018-06-22 Thread Eitan Adler
Author: eadler Date: Fri Jun 22 10:17:12 2018 New Revision: 335551 URL: https://svnweb.freebsd.org/changeset/base/335551 Log: top(1): garbage collect - remove a now-unused function - remove needless indirection of handle type Modified: head/usr.bin/top/machine.c

svn commit: r335550 - head/usr.bin/top

2018-06-22 Thread Eitan Adler
Author: eadler Date: Fri Jun 22 10:17:10 2018 New Revision: 335550 URL: https://svnweb.freebsd.org/changeset/base/335550 Log: top(1): increase size of 'C' column On machines with more than 99 CPUs make room to display the entire number. Requested by: cperciva Modified:

svn commit: r335547 - head/usr.bin/top

2018-06-22 Thread Eitan Adler
Author: eadler Date: Fri Jun 22 09:45:18 2018 New Revision: 335547 URL: https://svnweb.freebsd.org/changeset/base/335547 Log: top(1): remove special handling of load > 5 When the load is "high" (an arbitrary value) top(1) previously moved the cursor to the top-left of the screen as an

svn commit: r335539 - head/usr.bin/top

2018-06-22 Thread Eitan Adler
Author: eadler Date: Fri Jun 22 09:21:01 2018 New Revision: 335539 URL: https://svnweb.freebsd.org/changeset/base/335539 Log: top(1): reimplement header formatting as sbuf The current header formatting is a giant format string that changes global state during the format process.

svn commit: r335535 - head/usr.bin/su

2018-06-22 Thread Eitan Adler
Author: eadler Date: Fri Jun 22 09:10:50 2018 New Revision: 335535 URL: https://svnweb.freebsd.org/changeset/base/335535 Log: su(1): build with WARNS=6 Tested with full make universe Modified: head/usr.bin/su/Makefile Modified: head/usr.bin/su/Makefile

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

2018-06-22 Thread Eitan Adler
Author: eadler Date: Fri Jun 22 06:05:19 2018 New Revision: 335532 URL: https://svnweb.freebsd.org/changeset/base/335532 Log: epoch.9: bump Dd ref D15961 Modified: head/share/man/man9/epoch.9 Modified: head/share/man/man9/epoch.9

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

2018-06-22 Thread Eitan Adler
Author: eadler Date: Fri Jun 22 06:04:22 2018 New Revision: 335531 URL: https://svnweb.freebsd.org/changeset/base/335531 Log: epoch.9: fix some style and speeling issues Reported by: Yutaro Hayakawa (spelling) Differential Revision: https://reviews.freebsd.org/D15961 Modified: