svn commit: r367291 - head/libexec/rc/rc.d

2020-11-03 Thread Mateusz Piotrowski
Author: 0mp (doc,ports committer) Date: Tue Nov 3 10:02:52 2020 New Revision: 367291 URL: https://svnweb.freebsd.org/changeset/base/367291 Log: rc.d/zfs: Add shutdown to KEYWORDS The problem is that Without walling /etc/rc.d/zfs on shutdown, resources associated with ZFS mounts are not f

Re: svn commit: r367280 - head/lib/libc/gen

2020-11-03 Thread Stefan Esser
I think that the first question we want to ask is : Do we want to support LOCALBASE being different than /usr/local The big majority of users will keep the default value, and I do not see a good reason for a change, except if there is a large installed base that traditionally uses another pre

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

2020-11-03 Thread Stefan Eßer
Author: se Date: Tue Nov 3 11:37:19 2020 New Revision: 367292 URL: https://svnweb.freebsd.org/changeset/base/367292 Log: Check that #ifdef, #ifndef, and #undef are used with a single name This restores the parameter validation that has been peformed by cpp for defining and testing of nam

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

2020-11-03 Thread Stefan Eßer
Author: se Date: Tue Nov 3 12:15:08 2020 New Revision: 367293 URL: https://svnweb.freebsd.org/changeset/base/367293 Log: Consistently print calendar dates in the locale of the user Calendar files that specify LANG=... to specify their character encoding did also set the date format defin

svn commit: r367294 - head/libexec/rc

2020-11-03 Thread Stefan Eßer
Author: se Date: Tue Nov 3 12:29:10 2020 New Revision: 367294 URL: https://svnweb.freebsd.org/changeset/base/367294 Log: Replace literal uses of /usr/local with a variable The variable defaults to "/usr/local", unless sysctl returns some other value for "user.localbase". The value o

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

2020-11-03 Thread Mateusz Piotrowski
Author: 0mp (doc,ports committer) Date: Tue Nov 3 13:26:00 2020 New Revision: 367295 URL: https://svnweb.freebsd.org/changeset/base/367295 Log: Document how to set ports options via make.conf(5) This patch is based on: - https://lists.freebsd.org/pipermail/freebsd-ports-announce/2013-Ju

svn commit: r367296 - head/sys/net

2020-11-03 Thread Konstantin Belousov
Author: kib Date: Tue Nov 3 14:33:04 2020 New Revision: 367296 URL: https://svnweb.freebsd.org/changeset/base/367296 Log: if_media.c SIOCGMEDIAX handler: improve loop Stop advancing counter past the current iteration number at the start of iteration. This removes the need of subtracting

svn commit: r367297 - stable/12

2020-11-03 Thread Mark Johnston
Author: markj Date: Tue Nov 3 14:41:49 2020 New Revision: 367297 URL: https://svnweb.freebsd.org/changeset/base/367297 Log: MFC r367081: arm64: Remove a racy KASSERT from pmap_remove_pages() Modified: Directory Properties: stable/12/ (props changed) __

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

2020-11-03 Thread Edward Tomasz Napierala
Author: trasz Date: Tue Nov 3 14:44:33 2020 New Revision: 367298 URL: https://svnweb.freebsd.org/changeset/base/367298 Log: Fix rookie mistake - it's nitems(), not sizeof(). Reported by: xtouqh_icloud.com MFC after:2 weeks Sponsored by: The FreeBSD Foundation Modified: head/sys

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

2020-11-03 Thread Mateusz Piotrowski
Author: 0mp (doc,ports committer) Date: Tue Nov 3 18:02:02 2020 New Revision: 367299 URL: https://svnweb.freebsd.org/changeset/base/367299 Log: Fix a typo in the description of WITH_DEBUG_PORTS For each origin listed in WITH_DEBUG_PORTS, the ports framework sets WITH_DEBUG instead of WIT

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

2020-11-03 Thread Mateusz Piotrowski
Author: 0mp (doc,ports committer) Date: Tue Nov 3 18:13:42 2020 New Revision: 367300 URL: https://svnweb.freebsd.org/changeset/base/367300 Log: build.7: Mention etcupdate(8) alongside mergemaster(8) MFC after:3 days Modified: head/share/man/man7/build.7 Modified: head/share/man/man

svn commit: r367301 - in head: lib/libsysdecode sys/compat/linux sys/modules/linux_common

2020-11-03 Thread Edward Tomasz Napierala
Author: trasz Date: Tue Nov 3 19:12:33 2020 New Revision: 367301 URL: https://svnweb.freebsd.org/changeset/base/367301 Log: Make linux_errtbl[] static. MFC after:2 weeks Sponsored by: The FreeBSD Foundation Differential Revision:https://reviews.freebsd.org/D27004 Modified:

svn commit: r367302 - head/sys/kern

2020-11-03 Thread Brooks Davis
Author: brooks Date: Tue Nov 3 19:14:03 2020 New Revision: 367302 URL: https://svnweb.freebsd.org/changeset/base/367302 Log: sysvshm: pass relevant uap members as arguments Alter shmget_allocate_segment and shmget_existing to take the values they want from struct shmget_args rather than

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

2020-11-03 Thread Conrad Meyer
Author: cem Date: Tue Nov 3 19:50:42 2020 New Revision: 367303 URL: https://svnweb.freebsd.org/changeset/base/367303 Log: linux(4): Improve netlink diagnostics Add some missing netlink_family definitions and produce vaguely human-readable error messages for those definitions, like we use

svn commit: r367304 - in head: share/man/man5 share/mk tools/build/options usr.bin usr.bin/clang usr.bin/clang/llvm-cxxfilt

2020-11-03 Thread Dimitry Andric
Author: dim Date: Tue Nov 3 19:57:28 2020 New Revision: 367304 URL: https://svnweb.freebsd.org/changeset/base/367304 Log: Add WITH_LLVM_CXXFILT option to install llvm-cxxfilt as c++filt Since elftoolchain's cxxfilt is rather far behind on features, and we ran into several bugs, add an op

svn commit: r367305 - in stable/12: libexec/tftpd libexec/tftpd/tests usr.bin/tftp

2020-11-03 Thread John Baldwin
Author: jhb Date: Tue Nov 3 20:43:01 2020 New Revision: 367305 URL: https://svnweb.freebsd.org/changeset/base/367305 Log: MFC 358556,360167: Add support for the TFTP windowsize option. 358556: Add support for the TFTP windowsize option described in RFC 7440. The windowsize option pe

svn commit: r367306 - head/sys/cam/mmc

2020-11-03 Thread Ilya Bakulin
Author: kibab Date: Tue Nov 3 21:38:59 2020 New Revision: 367306 URL: https://svnweb.freebsd.org/changeset/base/367306 Log: Always return MMC errors from mmc_handle_reply() There are two ways to propagate the error in MMCCAM: * Using cmd.error which is set by the peripheral driver; *

svn commit: r367307 - head/sbin/savecore

2020-11-03 Thread Gleb Smirnoff
Author: glebius Date: Tue Nov 3 22:04:32 2020 New Revision: 367307 URL: https://svnweb.freebsd.org/changeset/base/367307 Log: Style, not functional changes: - Improve spelling of a false check [1] - A missing line from r367150. Submitted by: kib Modified: head/sbin/savecore/savecore

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

2020-11-03 Thread Stefan Eßer
Author: se Date: Tue Nov 3 22:13:16 2020 New Revision: 367308 URL: https://svnweb.freebsd.org/changeset/base/367308 Log: Update man-page to document changes made to the calendar program. MFC after:3 days Modified: head/usr.bin/calendar/calendar.1 Modified: head/usr.bin/calendar/cal

svn commit: r367309 - in head/sys: crypto crypto/chacha20 crypto/des crypto/rijndael crypto/skein opencrypto

2020-11-03 Thread John Baldwin
Author: jhb Date: Tue Nov 3 22:27:54 2020 New Revision: 367309 URL: https://svnweb.freebsd.org/changeset/base/367309 Log: Consistently use C99 fixed-width types in the in-kernel crypto code. Reviewed by: markj Sponsored by: Chelsio Communications Differential Revision:https://

svn commit: r367310 - in head/sys: crypto opencrypto

2020-11-03 Thread John Baldwin
Author: jhb Date: Tue Nov 3 22:32:30 2020 New Revision: 367310 URL: https://svnweb.freebsd.org/changeset/base/367310 Log: Replace some K&R function definitions with ANSI C. Reviewed by: markj Sponsored by: Chelsio Communications Differential Revision:https://reviews.freebsd.or

svn commit: r367311 - head/tools/tools/crypto

2020-11-03 Thread John Baldwin
Author: jhb Date: Tue Nov 3 22:53:23 2020 New Revision: 367311 URL: https://svnweb.freebsd.org/changeset/base/367311 Log: Remove unnecessary __DECONST(). Reviewed by: markj Sponsored by: Chelsio Communications Differential Revision:https://reviews.freebsd.org/D27063 Modified:

svn commit: r367312 - stable/12/contrib/sendmail/include/sm/os

2020-11-03 Thread Brooks Davis
Author: brooks Date: Tue Nov 3 23:26:26 2020 New Revision: 367312 URL: https://svnweb.freebsd.org/changeset/base/367312 Log: MFC r367063: Key decleration of union semun on src version __FreeBSD__ is defined by the compiler derived from the triple. When building FreeBSD 11 on a Free

svn commit: r367313 - stable/11/contrib/sendmail/include/sm/os

2020-11-03 Thread Brooks Davis
Author: brooks Date: Tue Nov 3 23:27:24 2020 New Revision: 367313 URL: https://svnweb.freebsd.org/changeset/base/367313 Log: MFC r367063: Key decleration of union semun on src version __FreeBSD__ is defined by the compiler derived from the triple. When building FreeBSD 11 on a Free

svn commit: r367314 - stable/12/lib/libc/tests/ssp

2020-11-03 Thread Brooks Davis
Author: brooks Date: Tue Nov 3 23:29:07 2020 New Revision: 367314 URL: https://svnweb.freebsd.org/changeset/base/367314 Log: MFC r367121: Disable ssp raw test without ASAN r366981 disabled ASAN when it might not be reliable (with an external compiler), but this test is broken withou

svn commit: r367315 - stable/11/lib/libc/tests/ssp

2020-11-03 Thread Brooks Davis
Author: brooks Date: Tue Nov 3 23:30:11 2020 New Revision: 367315 URL: https://svnweb.freebsd.org/changeset/base/367315 Log: MFC r367121: Disable ssp raw test without ASAN r366981 disabled ASAN when it might not be reliable (with an external compiler), but this test is broken withou

svn commit: r367317 - stable/11/sbin/ifconfig

2020-11-03 Thread Mateusz Piotrowski
Author: 0mp (doc,ports committer) Date: Wed Nov 4 07:52:42 2020 New Revision: 367317 URL: https://svnweb.freebsd.org/changeset/base/367317 Log: MFC r367259: ifconfig.8: Improve formatting of -f in synopsis Modified: stable/11/sbin/ifconfig/ifconfig.8 Directory Properties: stable/11/

svn commit: r367316 - stable/12/sbin/ifconfig

2020-11-03 Thread Mateusz Piotrowski
Author: 0mp (doc,ports committer) Date: Wed Nov 4 07:51:59 2020 New Revision: 367316 URL: https://svnweb.freebsd.org/changeset/base/367316 Log: MFC r367259: ifconfig.8: Improve formatting of -f in synopsis Modified: stable/12/sbin/ifconfig/ifconfig.8 Directory Properties: stable/12/

svn commit: r367318 - stable/12/sbin/ifconfig

2020-11-03 Thread Mateusz Piotrowski
Author: 0mp (doc,ports committer) Date: Wed Nov 4 07:53:24 2020 New Revision: 367318 URL: https://svnweb.freebsd.org/changeset/base/367318 Log: MFC r367258: Remove Tn macros from ifconfig.8 Modified: stable/12/sbin/ifconfig/ifconfig.8 Directory Properties: stable/12/ (props changed)

svn commit: r367319 - stable/11/sbin/ifconfig

2020-11-03 Thread Mateusz Piotrowski
Author: 0mp (doc,ports committer) Date: Wed Nov 4 07:54:07 2020 New Revision: 367319 URL: https://svnweb.freebsd.org/changeset/base/367319 Log: MFC r367258: Remove Tn macros from ifconfig.8 Modified: stable/11/sbin/ifconfig/ifconfig.8 Directory Properties: stable/11/ (props changed)