svn commit: r352116 - head/usr.bin/calendar

2019-09-09 Thread Gleb Smirnoff
Author: glebius Date: Tue Sep 10 04:21:48 2019 New Revision: 352116 URL: https://svnweb.freebsd.org/changeset/base/352116 Log: Fix 'calendar -a' in several ways. o Do not run any iconv() processing in -a. The locale of root user is not what is desired by most of the users who receive th

svn commit: r352115 - head/usr.bin/calendar

2019-09-09 Thread Gleb Smirnoff
Author: glebius Date: Tue Sep 10 04:01:41 2019 New Revision: 352115 URL: https://svnweb.freebsd.org/changeset/base/352115 Log: Remove pointless playing with LC_TIME, which should have been done in r205821. Modified: head/usr.bin/calendar/day.c Modified: head/usr.bin/calendar/day.c ==

svn commit: r352113 - head/sys/net

2019-09-09 Thread Conrad Meyer
Author: cem Date: Tue Sep 10 01:56:47 2019 New Revision: 352113 URL: https://svnweb.freebsd.org/changeset/base/352113 Log: Appease Clang false-positive Werrors in r352112 Reported by: bcran Modified: head/sys/net/rtsock.c Modified: head/sys/net/rtsock.c

Re: svn commit: r352112 - in head: share/man/man4 sys/net

2019-09-09 Thread Rebecca Cran
On 2019-09-09 16:54, Conrad Meyer wrote: > Author: cem > head/share/man/man4/ddb.4 > head/sys/net/rtsock.c I'm seeing the following errors when building: --- rtsock.o --- pointer-sign -Wno-error-shift-negative-value -Wno-address-of-packed-member -Wno-format-zero-length  -mno-aes -mno-avx  -s

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

2019-09-09 Thread Eugene Grosbein
10.09.2019 2:49, Warner Losh wrote: > Would your needs be adequately covered by the current mechanisms to set HZ? > This just covers the defaults for the whole platform. > As always, these can be overridden in the boot loader or kernel config file... Several years ago I experimented with FreeBSD/

svn commit: r352112 - in head: share/man/man4 sys/net

2019-09-09 Thread Conrad Meyer
Author: cem Date: Mon Sep 9 22:54:27 2019 New Revision: 352112 URL: https://svnweb.freebsd.org/changeset/base/352112 Log: ddb(4): Add 'show route ' and 'show routetable []' These commands show the route resolved for a specified destination, or print out the entire routing table for a giv

svn commit: r352111 - head/sbin/camcontrol

2019-09-09 Thread Alexander Motin
Author: mav Date: Mon Sep 9 22:08:22 2019 New Revision: 352111 URL: https://svnweb.freebsd.org/changeset/base/352111 Log: Initialize page/subpage in case of `modepage -d`. Previously without -m parameter it worked mostly by concodence. While there, make page/subpage values validation

svn commit: r352110 - in head: share/man/man9 sys/amd64/amd64 sys/amd64/sgx sys/amd64/vmm sys/arm/arm sys/arm/nvidia/drm2 sys/arm64/arm64 sys/cddl/contrib/opensolaris/uts/common/fs/zfs sys/compat/l...

2019-09-09 Thread Mark Johnston
Author: markj Date: Mon Sep 9 21:32:42 2019 New Revision: 352110 URL: https://svnweb.freebsd.org/changeset/base/352110 Log: Change synchonization rules for vm_page reference counting. There are several mechanisms by which a vm_page reference is held, preventing the page from being freed

svn commit: r352107 - head/share/man/man5

2019-09-09 Thread Chris Rees
Author: crees (doc,ports committer) Date: Mon Sep 9 20:48:12 2019 New Revision: 352107 URL: https://svnweb.freebsd.org/changeset/base/352107 Log: Reverse the referenced tables. If ipv4_prefer is specified, Section 10.3 is relevant. If ipv6_prefer is specified, Section 2.1 is relevant.

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

2019-09-09 Thread Warner Losh
On Mon, Sep 9, 2019, 5:56 AM Brooks Davis wrote: > On Sat, Sep 07, 2019 at 12:23:03PM +0800, Philip Paeps wrote: > > On 2019-09-07 12:06:32 (+0800), Warner Losh wrote: > > > On Fri, Sep 6, 2019 at 9:54 PM Philip Paeps > > > wrote: > > >> On 2019-09-06 22:18:36 (+0800), Ian Lepore wrote: > > >>>

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

2019-09-09 Thread Conrad Meyer
Thanks! On Mon, Sep 9, 2019 at 11:48 AM Konstantin Belousov wrote: > > On Mon, Sep 09, 2019 at 11:31:32AM -0700, Conrad Meyer wrote: > > What’s the motivation for using more timehands? > See the thread titled 'Is it a good idea to use a usb-serial adapter > for PPS input? Yes, it is.' on arm@ and

svn commit: r352103 - head/sbin/camcontrol

2019-09-09 Thread Alexander Motin
Author: mav Date: Mon Sep 9 19:00:37 2019 New Revision: 352103 URL: https://svnweb.freebsd.org/changeset/base/352103 Log: Add one more error message to r352082. MFC after:5 days Sponsored by: iXsystems, Inc. Modified: head/sbin/camcontrol/camcontrol.c Modified: head/sbin/camcontr

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

2019-09-09 Thread Konstantin Belousov
On Mon, Sep 09, 2019 at 11:31:32AM -0700, Conrad Meyer wrote: > What’s the motivation for using more timehands? See the thread titled 'Is it a good idea to use a usb-serial adapter for PPS input? Yes, it is.' on arm@ and usb@. In short, there are some reports of timecounters misbehaving on single-c

svn commit: r352100 - in head/tools/tools/nanobsd: dhcpd embedded

2019-09-09 Thread Warner Losh
Author: imp Date: Mon Sep 9 18:46:28 2019 New Revision: 352100 URL: https://svnweb.freebsd.org/changeset/base/352100 Log: Remove obsolete WITHOUT names that are no longer in the system. Noticed by: swills@ Modified: head/tools/tools/nanobsd/dhcpd/common head/tools/tools/nanobsd/embedd

svn commit: r352099 - head/tools/tools/nanobsd/embedded

2019-09-09 Thread Warner Losh
Author: imp Date: Mon Sep 9 18:45:52 2019 New Revision: 352099 URL: https://svnweb.freebsd.org/changeset/base/352099 Log: These should have been removed when we removed atmel port before 12. Deleted: head/tools/tools/nanobsd/embedded/sam9260ek.cfg head/tools/tools/nanobsd/embedded/sam9g20e

svn commit: r352097 - head/sys/fs/msdosfs

2019-09-09 Thread Ed Maste
Author: emaste Date: Mon Sep 9 18:35:17 2019 New Revision: 352097 URL: https://svnweb.freebsd.org/changeset/base/352097 Log: msdosfsmount.h: fix ifdef comment Modified: head/sys/fs/msdosfs/msdosfsmount.h Modified: head/sys/fs/msdosfs/msdosfsmount.h ==

svn commit: r352096 - head/contrib/compiler-rt/lib/sanitizer_common

2019-09-09 Thread Ed Maste
Author: emaste Date: Mon Sep 9 18:33:15 2019 New Revision: 352096 URL: https://svnweb.freebsd.org/changeset/base/352096 Log: compiler-rt: use 64-bit time_t for all FreeBSD archs except i386 Obtained from:LLVM r370756 Modified: head/contrib/compiler-rt/lib/sanitizer_common/sanit

svn commit: r352095 - head/contrib/compiler-rt/lib/sanitizer_common

2019-09-09 Thread Ed Maste
Author: emaste Date: Mon Sep 9 18:32:29 2019 New Revision: 352095 URL: https://svnweb.freebsd.org/changeset/base/352095 Log: compiler-rt: use more __sanitizer_time_t on FreeBSD A few structs were using long for time_t members. Obtained from:LLVM r370755 Modified: head/cont

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

2019-09-09 Thread Conrad Meyer
What’s the motivation for using more timehands? On Mon, Sep 9, 2019 at 04:30 Konstantin Belousov wrote: > Author: kib > Date: Mon Sep 9 11:29:58 2019 > New Revision: 352059 > URL: https://svnweb.freebsd.org/changeset/base/352059 > > Log: > Make timehands count selectable at boottime. > > Te

svn commit: r352092 - head/sbin/bectl

2019-09-09 Thread Kyle Evans
Author: kevans Date: Mon Sep 9 18:17:30 2019 New Revision: 352092 URL: https://svnweb.freebsd.org/changeset/base/352092 Log: bectl(8): initialize reverse earlier This turns into a warning in GCC 4.2 that 'reverse' may be used uninitialized in this function. While I don't immediately see

svn commit: r352082 - head/sbin/camcontrol

2019-09-09 Thread Alexander Motin
Author: mav Date: Mon Sep 9 17:36:29 2019 New Revision: 352082 URL: https://svnweb.freebsd.org/changeset/base/352082 Log: Fix number of problems found while testing on SAT devices. - Remove incomplete and dangerous ata_res decoding from ata_do_cmd(). Instead switch all functions that ne

svn commit: r352075 - head/sys/ddb

2019-09-09 Thread Conrad Meyer
Author: cem Date: Mon Sep 9 16:32:23 2019 New Revision: 352075 URL: https://svnweb.freebsd.org/changeset/base/352075 Log: ddb(4): Add some support for lexing IPv6 addresses Allow commands to specify that (hex) numbers may start with A-F, by adding the DRT_HEX flag for db_read_token_flags

svn commit: r352074 - head/sys/ddb

2019-09-09 Thread Conrad Meyer
Author: cem Date: Mon Sep 9 16:31:14 2019 New Revision: 352074 URL: https://svnweb.freebsd.org/changeset/base/352074 Log: ddb(4): Enhance lexer functionality for specialized commands Add a db_read_token_flags() variant of db_read_token() with configurable parameters. Allow specifyin

svn commit: r352073 - head/lib/csu/riscv

2019-09-09 Thread Kristof Provost
Author: kp Date: Mon Sep 9 16:25:09 2019 New Revision: 352073 URL: https://svnweb.freebsd.org/changeset/base/352073 Log: csu: Add the riscv .init call sequence Reviewed by: br Sponsored by: Axiado Differential Revision:https://reviews.freebsd.org/D21537 Modified: head/lib/c

svn commit: r352072 - in head/sys/netinet: . tcp_stacks

2019-09-09 Thread Michael Tuexen
Author: tuexen Date: Mon Sep 9 16:07:47 2019 New Revision: 352072 URL: https://svnweb.freebsd.org/changeset/base/352072 Log: Only update SACK/DSACK lists when a non-empty segment was received. This fixes hitting a KASSERT with a valid packet exchange. Reviewed by: rrs@, Richard

svn commit: r352071 - head/sys/conf

2019-09-09 Thread Kristof Provost
Author: kp Date: Mon Sep 9 15:57:24 2019 New Revision: 352071 URL: https://svnweb.freebsd.org/changeset/base/352071 Log: riscv: Ensure that BSS is 8-byte aligned This makes clearing it (from locore.S) work without misaligned accesses (which can trap to machine mode, and be slow). Re

svn commit: r352070 - head/usr.bin/m4

2019-09-09 Thread Baptiste Daroussin
Author: bapt Date: Mon Sep 9 15:37:40 2019 New Revision: 352070 URL: https://svnweb.freebsd.org/changeset/base/352070 Log: m4: import from OpenBSD By deraadt@ mkstemp() returns -1 on failure Obtained from:OpenBSD Modified: head/usr.bin/m4/eval.c Modified: head/usr.bin

svn commit: r352069 - head/usr.bin/m4

2019-09-09 Thread Baptiste Daroussin
Author: bapt Date: Mon Sep 9 15:35:34 2019 New Revision: 352069 URL: https://svnweb.freebsd.org/changeset/base/352069 Log: m4: import from OpenBSD patch by espie@ replace sloppy parsing of numeric values with strtonum (incr, decr, divert) still use integers, so use the natural bo

svn commit: r352068 - head/usr.bin/m4

2019-09-09 Thread Baptiste Daroussin
Author: bapt Date: Mon Sep 9 15:28:22 2019 New Revision: 352068 URL: https://svnweb.freebsd.org/changeset/base/352068 Log: m4: import patch from OpenBSD by espie@ ifelse is special, fix argv parsing to avoid segfault problem noticed by Matthew Green (netbsd), slightly different fix

svn commit: r352067 - head/usr.bin/m4

2019-09-09 Thread Baptiste Daroussin
Author: bapt Date: Mon Sep 9 15:24:48 2019 New Revision: 352067 URL: https://svnweb.freebsd.org/changeset/base/352067 Log: m4: import patch from OpenBSD Use waitpid()/EINTR idiom for the specific pid, rather than generic wait() Patch by: deraadt@ Obtained from:OpenBSD Mo

svn commit: r352066 - head/usr.bin/m4

2019-09-09 Thread Baptiste Daroussin
Author: bapt Date: Mon Sep 9 15:20:19 2019 New Revision: 352066 URL: https://svnweb.freebsd.org/changeset/base/352066 Log: Import from OpenBSD a patch which eliminates the link with -ly or -ly patch by ibara@ Obtained from:OpenBSD Modified: head/usr.bin/m4/Makefile head/u

svn commit: r352065 - head/usr.bin/m4

2019-09-09 Thread Baptiste Daroussin
Author: bapt Date: Mon Sep 9 15:18:04 2019 New Revision: 352065 URL: https://svnweb.freebsd.org/changeset/base/352065 Log: Import from OpenBSD: -E flag Add -E flag (make warnings fatal), following the behavior of GNU m4 1.4.9+ Help and direction millert@ espie@ anton@ deraadt@ ok

svn commit: r352063 - head/tools/boot

2019-09-09 Thread Ed Maste
Author: emaste Date: Mon Sep 9 14:51:25 2019 New Revision: 352063 URL: https://svnweb.freebsd.org/changeset/base/352063 Log: ci-qemu-test: if firmware is not available, hint at pkg to install uefi-edk2-qemu-x86_64 provides the firmware ci-qemu-test.sh expects to use. Sponsored by: T

Re: svn commit: r340363 - in head: . contrib/tcpdump contrib/traceroute lib/libcasper/services/cap_dns lib/libcasper/services/cap_dns/tests sbin/ping

2019-09-09 Thread Alan Somers
On Mon, Nov 12, 2018 at 8:53 AM Mariusz Zaborski wrote: > Author: oshogbo > Date: Mon Nov 12 15:52:45 2018 > New Revision: 340363 > URL: https://svnweb.freebsd.org/changeset/base/340363 > > Log: > libcasper: ange the name of limits in cap_dns so the intentions are > obvious. > > Reported by:

svn commit: r352060 - head/sys/kern

2019-09-09 Thread Konstantin Belousov
Author: kib Date: Mon Sep 9 12:42:48 2019 New Revision: 352060 URL: https://svnweb.freebsd.org/changeset/base/352060 Log: Initialize timehands linkage much earlier. Reported and tested by: trasz Sponsored by: The FreeBSD Foundation MFC after:1 week Modified: head/sys/kern/

Re: svn commit: r351673 - in head: lib/libmemstat share/man/man9 sys/cddl/compat/opensolaris/kern sys/kern sys/vm

2019-09-09 Thread Slawa Olhovchenkov
On Sun, Sep 08, 2019 at 04:18:19PM -0400, Mark Johnston wrote: > On Sat, Sep 07, 2019 at 06:31:10PM +0300, Slawa Olhovchenkov wrote: > > On Sat, Sep 07, 2019 at 10:50:34AM -0400, Mark Johnston wrote: > > > > > On Wed, Sep 04, 2019 at 05:45:24PM +0300, Slawa Olhovchenkov wrote: > > > > On Tue, Sep

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

2019-09-09 Thread Brooks Davis
On Sat, Sep 07, 2019 at 12:23:03PM +0800, Philip Paeps wrote: > On 2019-09-07 12:06:32 (+0800), Warner Losh wrote: > > On Fri, Sep 6, 2019 at 9:54 PM Philip Paeps > > wrote: > >> On 2019-09-06 22:18:36 (+0800), Ian Lepore wrote: > >>> On Fri, 2019-09-06 at 12:15 +0800, Philip Paeps wrote: >

svn commit: r352059 - head/sys/kern

2019-09-09 Thread Konstantin Belousov
Author: kib Date: Mon Sep 9 11:29:58 2019 New Revision: 352059 URL: https://svnweb.freebsd.org/changeset/base/352059 Log: Make timehands count selectable at boottime. Tested by:O'Connor, Daniel Sponsored by: The FreeBSD Foundation MFC after:1 week Differential revision:

svn commit: r352058 - head/sys/ufs/ffs

2019-09-09 Thread Konstantin Belousov
Author: kib Date: Mon Sep 9 11:22:38 2019 New Revision: 352058 URL: https://svnweb.freebsd.org/changeset/base/352058 Log: Remove some unneeded vfs_busy() calls in SU code. When softdep_fsync() is running, a caller must already started write for the mount point. Since unmount or remount

svn commit: r352056 - head/include

2019-09-09 Thread Konstantin Belousov
Author: kib Date: Mon Sep 9 11:15:14 2019 New Revision: 352056 URL: https://svnweb.freebsd.org/changeset/base/352056 Log: Make snprintf(3) and vscanf(3) definitions available under appropriate POSIX visibility. Reported by: jbeich Reviewed by: jilles PR: 207287 MFC after:1