svn commit: r367467 - stable/11/contrib/libcxxrt

2020-11-07 Thread Dimitry Andric
Author: dim Date: Sun Nov 8 00:00:49 2020 New Revision: 367467 URL: https://svnweb.freebsd.org/changeset/base/367467 Log: MFC r367323: Update libcxxrt's private copy of elftoolchain demangler This updates the private copy of libelftc_dem_gnu3.c in libcxxrt with the most recent

svn commit: r367477 - in head/sys: kern sys

2020-11-07 Thread Kyle Evans
Author: kevans Date: Sun Nov 8 04:24:29 2020 New Revision: 367477 URL: https://svnweb.freebsd.org/changeset/base/367477 Log: imgact_binmisc: limit the extent of match on incoming entries imgact_binmisc matches magic/mask from imgp->image_header, which is only a single page in size

svn commit: r367472 - stable/12/sys/net

2020-11-07 Thread Konstantin Belousov
Author: kib Date: Sun Nov 8 01:01:27 2020 New Revision: 367472 URL: https://svnweb.freebsd.org/changeset/base/367472 Log: MFC r367251: Cleanup of net/if_media.c: simplify cleanup loop in ifmedia_removeall(). Modified: stable/12/sys/net/if_media.c Directory Properties: stable/12/

svn commit: r367473 - stable/12/sys/net

2020-11-07 Thread Konstantin Belousov
Author: kib Date: Sun Nov 8 01:02:40 2020 New Revision: 367473 URL: https://svnweb.freebsd.org/changeset/base/367473 Log: MFC r367252: net/if_media.c: improve IFMEDIA_DEBUG output. Modified: stable/12/sys/net/if_media.c Directory Properties: stable/12/ (props changed) Modified:

svn commit: r367475 - head

2020-11-07 Thread Warner Losh
Author: imp Date: Sun Nov 8 02:46:04 2020 New Revision: 367475 URL: https://svnweb.freebsd.org/changeset/base/367475 Log: Also mention PORTS_MODULES PORTS_MODULES is also an effective way to update the tree. Also a minor rejustify on this an an adjacent paragraph. Suggested by:

svn commit: r367466 - in stable/11: contrib/elftoolchain contrib/elftoolchain/addr2line contrib/elftoolchain/ar contrib/elftoolchain/common contrib/elftoolchain/cxxfilt contrib/elftoolchain/elfcopy...

2020-11-07 Thread Dimitry Andric
Author: dim Date: Sat Nov 7 23:57:57 2020 New Revision: 367466 URL: https://svnweb.freebsd.org/changeset/base/367466 Log: Sync up elftoolchain with head, except for the capsicum-related commits, which are incompatible with stable/11. MFC r308465 (by emaste): c++filt: flush output

svn commit: r367469 - stable/11/sys/dev/ocs_fc

2020-11-07 Thread Alexander Motin
Author: mav Date: Sun Nov 8 00:31:49 2020 New Revision: 367469 URL: https://svnweb.freebsd.org/changeset/base/367469 Log: MFC r367041: Fix incorrect constants of target tag action. ocs_scsi_recv_cmd() receives the flags after ocs_get_flags_fcp_cmd(), which translates them from

svn commit: r367476 - in head: include/xlocale lib/libc/locale share/colldef tools/tools/locale tools/tools/locale/tools usr.bin/localedef usr.bin/localedef/bootstrap

2020-11-07 Thread Thomas Munro
Author: tmunro Date: Sun Nov 8 02:50:34 2020 New Revision: 367476 URL: https://svnweb.freebsd.org/changeset/base/367476 Log: Add collation version support to querylocale(3). Provide a way to ask for an opaque version string for a locale_t, so that potential changes in sort order can be

svn commit: r367468 - stable/12/sys/dev/ocs_fc

2020-11-07 Thread Alexander Motin
Author: mav Date: Sun Nov 8 00:30:53 2020 New Revision: 367468 URL: https://svnweb.freebsd.org/changeset/base/367468 Log: MFC r367041: Fix incorrect constants of target tag action. ocs_scsi_recv_cmd() receives the flags after ocs_get_flags_fcp_cmd(), which translates them from

svn commit: r367474 - head

2020-11-07 Thread Warner Losh
Author: imp Date: Sun Nov 8 02:20:21 2020 New Revision: 367474 URL: https://svnweb.freebsd.org/changeset/base/367474 Log: Be explicit about recompiling all the modules... Add a note about always recompiling all modules on every new kernel change / update. In addition, suggest using

svn commit: r367470 - stable/12/sys/net

2020-11-07 Thread Konstantin Belousov
Author: kib Date: Sun Nov 8 00:59:09 2020 New Revision: 367470 URL: https://svnweb.freebsd.org/changeset/base/367470 Log: MFC r367249: Cleanup of net/if_media.c: switch to ANSI C function definitions. Modified: stable/12/sys/net/if_media.c Directory Properties: stable/12/ (props

svn commit: r367471 - stable/12/sys/net

2020-11-07 Thread Konstantin Belousov
Author: kib Date: Sun Nov 8 01:00:10 2020 New Revision: 367471 URL: https://svnweb.freebsd.org/changeset/base/367471 Log: MFC r367250: Cleanup of net/if_media.c: some style. Modified: stable/12/sys/net/if_media.c Directory Properties: stable/12/ (props changed) Modified:

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

2020-11-07 Thread Olivier Cochard
Author: olivier (ports committer) Date: Sun Nov 8 07:49:39 2020 New Revision: 367478 URL: https://svnweb.freebsd.org/changeset/base/367478 Log: Return the same value for smbios.chassis.maker as smbios.system.maker (and prevents returning a space character). Reviewed by: grehan

svn commit: r367445 - head/sys/kern

2020-11-07 Thread Edward Tomasz Napierala
Author: trasz Date: Sat Nov 7 13:09:51 2020 New Revision: 367445 URL: https://svnweb.freebsd.org/changeset/base/367445 Log: Move TDB_USERWR check under 'if (traced)'. If we hadn't been traced in the first place when syscallenter() started executing, we can ignore TDB_USERWR. TDB_USERWR

svn commit: r367446 - in stable/12/sys: geom kern sys

2020-11-07 Thread Alexander Motin
Author: mav Date: Sat Nov 7 13:16:11 2020 New Revision: 367446 URL: https://svnweb.freebsd.org/changeset/base/367446 Log: MFC r367022: Fix asymmetry in devstat(9) calls by GEOM. Before this GEOM passed bio pointer to transaction end, but not start. It was irrelevant until devstat(9) got

svn commit: r367447 - in head/sys: kern sys

2020-11-07 Thread Michal Meloun
Author: mmel Date: Sat Nov 7 14:58:01 2020 New Revision: 367447 URL: https://svnweb.freebsd.org/changeset/base/367447 Log: Add a method to determine whether given interrupt is per CPU or not. MFC after:2 weeks Modified: head/sys/kern/subr_intr.c head/sys/sys/intr.h Modified:

svn commit: r367448 - head/sys/dev/vt

2020-11-07 Thread Kyle Evans
Author: kevans Date: Sat Nov 7 15:38:01 2020 New Revision: 367448 URL: https://svnweb.freebsd.org/changeset/base/367448 Log: vt: resolve conflict between VT_ALT_TO_ESC_HACK and DBG When using the ALT+CTRL+ESC sequence to break into kdb, the keyboard is completely borked when you return.

svn commit: r367449 - in stable: 11/sys/kern 12/sys/kern

2020-11-07 Thread John Baldwin
Author: jhb Date: Sat Nov 7 16:20:37 2020 New Revision: 367449 URL: https://svnweb.freebsd.org/changeset/base/367449 Log: MFC 366296: Avoid a dubious assignment to bio_data in aio_qbio(). A user pointer is not a suitable value for bio_data and the next block of code always overwrites

svn commit: r367449 - in stable: 11/sys/kern 12/sys/kern

2020-11-07 Thread John Baldwin
Author: jhb Date: Sat Nov 7 16:20:37 2020 New Revision: 367449 URL: https://svnweb.freebsd.org/changeset/base/367449 Log: MFC 366296: Avoid a dubious assignment to bio_data in aio_qbio(). A user pointer is not a suitable value for bio_data and the next block of code always overwrites

svn commit: r367450 - stable/12/sys/net80211

2020-11-07 Thread Bjoern A. Zeeb
Author: bz Date: Sat Nov 7 16:34:21 2020 New Revision: 367450 URL: https://svnweb.freebsd.org/changeset/base/367450 Log: MFC r367326: net80211: fix a typo Correct a typo referring to the wrong flags in a comment. No functional changes. Modified:

svn commit: r367452 - head/sys/kern

2020-11-07 Thread Kyle Evans
Author: kevans Date: Sat Nov 7 16:41:59 2020 New Revision: 367452 URL: https://svnweb.freebsd.org/changeset/base/367452 Log: imgact_binmisc: reorder members of struct imgact_binmisc_entry (NFC) This doesn't change anything at the moment since the out-of-order elements were a pair of

svn commit: r367454 - head/sys/contrib/openzfs/module/os/freebsd/zfs

2020-11-07 Thread Mateusz Guzik
Author: mjg Date: Sat Nov 7 16:58:38 2020 New Revision: 367454 URL: https://svnweb.freebsd.org/changeset/base/367454 Log: zfs: remove 2 assertions that teardown lock is not held They are not very useful and hard to implement with rms. This has a side effect of simplying the code.

svn commit: r367453 - in head/sys: kern sys

2020-11-07 Thread Mateusz Guzik
Author: mjg Date: Sat Nov 7 16:57:53 2020 New Revision: 367453 URL: https://svnweb.freebsd.org/changeset/base/367453 Log: rms: several cleanups + debug read lockers handling This adds a dedicated counter updated with atomics when INVARIANTS is used. As a side effect one can reliably

Re: svn commit: r367455 - head/usr.sbin/syslogd

2020-11-07 Thread Cy Schubert
In message <202011071718.0a7hijdy003...@repo.freebsd.org>, Bryan Drewery writes : > Author: bdrewery > Date: Sat Nov 7 17:18:44 2020 > New Revision: 367455 > URL: https://svnweb.freebsd.org/changeset/base/367455 > > Log: > syslogd: Stop trying to send remote messages through special sockets >

svn commit: r367456 - head/sys/kern

2020-11-07 Thread Kyle Evans
Author: kevans Date: Sat Nov 7 18:07:55 2020 New Revision: 367456 URL: https://svnweb.freebsd.org/changeset/base/367456 Log: imgact_binmisc: move some calculations out of the exec path The offset we need to account for in the interpreter string comes in two variants: 1. Fixed -

svn commit: r367457 - in stable: 11/contrib/elftoolchain/libelf 11/lib/libdevctl 11/lib/libkvm 11/lib/libsysdecode 11/lib/libutil 11/sbin/hastd 11/share/man/man3 11/share/man/man4 11/share/man/man9...

2020-11-07 Thread Dimitry Andric
Author: dim Date: Sat Nov 7 18:10:59 2020 New Revision: 367457 URL: https://svnweb.freebsd.org/changeset/base/367457 Log: MFC r344855 (by jhb): Drop "All rights reserved" from my copyright statements. Reviewed by: rgrimes Differential Revision:

svn commit: r367457 - in stable: 11/contrib/elftoolchain/libelf 11/lib/libdevctl 11/lib/libkvm 11/lib/libsysdecode 11/lib/libutil 11/sbin/hastd 11/share/man/man3 11/share/man/man4 11/share/man/man9...

2020-11-07 Thread Dimitry Andric
Author: dim Date: Sat Nov 7 18:10:59 2020 New Revision: 367457 URL: https://svnweb.freebsd.org/changeset/base/367457 Log: MFC r344855 (by jhb): Drop "All rights reserved" from my copyright statements. Reviewed by: rgrimes Differential Revision:

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

2020-11-07 Thread Cy Schubert
Author: cy Date: Sat Nov 7 19:17:37 2020 New Revision: 367459 URL: https://svnweb.freebsd.org/changeset/base/367459 Log: Fix build post-r367455. MFC after:2 weeks X-MFC with: r367455 Modified: head/usr.sbin/syslogd/syslogd.c Modified: head/usr.sbin/syslogd/syslogd.c

svn commit: r367460 - in vendor/NetBSD/bmake/dist: . filemon mk unit-tests

2020-11-07 Thread Simon J. Gerraty
Author: sjg Date: Sat Nov 7 19:39:21 2020 New Revision: 367460 URL: https://svnweb.freebsd.org/changeset/base/367460 Log: Import bmake-20201101 Lots of new unit-tests increase code coverage. Lots of refactoring, cleanup and simlpification to reduce code size. Fixes for Bug

svn commit: r367463 - stable/12/contrib/libcxxrt

2020-11-07 Thread Dimitry Andric
Author: dim Date: Sat Nov 7 19:57:19 2020 New Revision: 367463 URL: https://svnweb.freebsd.org/changeset/base/367463 Log: MFC r367323: Update libcxxrt's private copy of elftoolchain demangler This updates the private copy of libelftc_dem_gnu3.c in libcxxrt with the most recent

svn commit: r367451 - stable/12/sys/arm64/arm64

2020-11-07 Thread Bjoern A. Zeeb
Author: bz Date: Sat Nov 7 16:35:48 2020 New Revision: 367451 URL: https://svnweb.freebsd.org/changeset/base/367451 Log: MFC r367327: arm64: implement bs_sr_ Implement the bs_sr_ generic functions based on the generic mips implementation calling the generic bs_w_ functions in

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

2020-11-07 Thread Bryan Drewery
Author: bdrewery Date: Sat Nov 7 17:18:44 2020 New Revision: 367455 URL: https://svnweb.freebsd.org/changeset/base/367455 Log: syslogd: Stop trying to send remote messages through special sockets Specifically this was causing the /dev/klog fd and the signal pipe handling fd to get a

svn commit: r367458 - in stable: 11 12

2020-11-07 Thread Dimitry Andric
Author: dim Date: Sat Nov 7 18:15:29 2020 New Revision: 367458 URL: https://svnweb.freebsd.org/changeset/base/367458 Log: MFC r340385 (by emaste): strings: enter capability mode when operating on stdin Reviewed by: oshogbo Sponsored by: The FreeBSD Foundation MFC r340391 (by

svn commit: r367458 - in stable: 11 12

2020-11-07 Thread Dimitry Andric
Author: dim Date: Sat Nov 7 18:15:29 2020 New Revision: 367458 URL: https://svnweb.freebsd.org/changeset/base/367458 Log: MFC r340385 (by emaste): strings: enter capability mode when operating on stdin Reviewed by: oshogbo Sponsored by: The FreeBSD Foundation MFC r340391 (by

svn commit: r367461 - vendor/NetBSD/bmake/20201101

2020-11-07 Thread Simon J. Gerraty
Author: sjg Date: Sat Nov 7 19:42:15 2020 New Revision: 367461 URL: https://svnweb.freebsd.org/changeset/base/367461 Log: tag bmake-20201101 Added: vendor/NetBSD/bmake/20201101/ - copied from r367460, vendor/NetBSD/bmake/dist/ ___

svn commit: r367462 - in stable/12: contrib/elftoolchain/elfcopy contrib/elftoolchain/libelf contrib/elftoolchain/libelftc contrib/elftoolchain/readelf contrib/elftoolchain/strings lib/libelf sys/s...

2020-11-07 Thread Dimitry Andric
Author: dim Date: Sat Nov 7 19:55:03 2020 New Revision: 367462 URL: https://svnweb.freebsd.org/changeset/base/367462 Log: Sync up elftoolchain with head, except for the capsicum-related commits, which are incompatible with stable/12. MFC r345360 (by oshogbo): strings: do not depend

svn commit: r367464 - head/sys/kern

2020-11-07 Thread Michael Tuexen
Author: tuexen Date: Sat Nov 7 21:17:49 2020 New Revision: 367464 URL: https://svnweb.freebsd.org/changeset/base/367464 Log: The ioctl() calls using FIONREAD, FIONWRITE, FIONSPACE, and SIOCATMARK access the socket send or receive buffer. This is not possible for listening sockets since

svn commit: r367465 - in head: contrib/bmake contrib/bmake/filemon contrib/bmake/mk contrib/bmake/unit-tests usr.bin/bmake usr.bin/bmake/unit-tests

2020-11-07 Thread Simon J. Gerraty
Author: sjg Date: Sat Nov 7 21:46:27 2020 New Revision: 367465 URL: https://svnweb.freebsd.org/changeset/base/367465 Log: Update to bmake-20201101 Lots of new unit-tests increase code coverage. Lots of refactoring, cleanup and simlpification to reduce code size. Fixes for Bug