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

2020-03-04 Thread Warner Losh
On Wed, Mar 4, 2020 at 10:27 PM Alan Somers wrote: > On Sun, Apr 7, 2019 at 12:40 PM Warner Losh wrote: > >> Author: imp >> Date: Sun Apr 7 18:39:55 2019 >> New Revision: 346018 >> URL: https://svnweb.freebsd.org/changeset/base/346018 >> >> Log: >> Use default shell assignment rather more com

svn commit: r358663 - head/sys/cam

2020-03-04 Thread Warner Losh
Author: imp Date: Thu Mar 5 06:21:00 2020 New Revision: 358663 URL: https://svnweb.freebsd.org/changeset/base/358663 Log: All paths lead to xpt_done, so move it after the switch. Modified: head/sys/cam/cam_xpt.c Modified: head/sys/cam/cam_xpt.c ==

svn commit: r358662 - head/sys/cam

2020-03-04 Thread Warner Losh
Author: imp Date: Thu Mar 5 06:20:17 2020 New Revision: 358662 URL: https://svnweb.freebsd.org/changeset/base/358662 Log: xpt_async is submitting a CCB, not finishing it up, so use xpt_action() instead of xpt_done(). Add the missing XPT_ASYNC case to xpt_action_default. xpt_async wants to

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

2020-03-04 Thread Alan Somers
On Sun, Apr 7, 2019 at 12:40 PM Warner Losh wrote: > Author: imp > Date: Sun Apr 7 18:39:55 2019 > New Revision: 346018 > URL: https://svnweb.freebsd.org/changeset/base/346018 > > Log: > Use default shell assignment rather more complicated if then > construct. > > Discussed with: emaste@,

Re: svn commit: r358439 - head/sys/amd64/include

2020-03-04 Thread Kyle Evans
On Wed, Mar 4, 2020 at 11:27 AM Ryan Libby wrote: > > On Wed, Mar 4, 2020 at 3:27 AM Guido Falsi wrote: > > > > On 02/03/20 18:13, Ryan Libby wrote: > > > On Mon, Mar 2, 2020 at 12:45 AM Alexander V. Chernikov > > > wrote: > > >> > > >> 28.02.2020, 18:32, "Ryan Libby" : > > >>> Author: rlibby >

Re: svn commit: r358658 - head

2020-03-04 Thread Mark Millard via svn-src-head
Gleb Smirnoff glebius at FreeBSD.org wrote on Wed Mar 4 23:49:22 UTC 2020 : > author: glebius > Date: Wed Mar 4 23:49:20 2020 > New Revision: 358658 > URL: > https://svnweb.freebsd.org/changeset/base/358658 > > > Log: > Add a missing bktr header. > > Modified: > head/ObsoleteFiles.inc >

Re: svn commit: r358451 - in head/sys: kern vm

2020-03-04 Thread Gleb Smirnoff
Hi Jeff, may be I'm missing something, but from a quick review this change doesn't seem to be correct for sendfile with INVARIANTS on. sendfile_swapin does immediate vm_page_xunbusy() for all valid pages that are substituted to bogus one. With this change KASSERT in vm_page_relookup() would fir

svn commit: r358658 - head

2020-03-04 Thread Gleb Smirnoff
Author: glebius Date: Wed Mar 4 23:49:20 2020 New Revision: 358658 URL: https://svnweb.freebsd.org/changeset/base/358658 Log: Add a missing bktr header. Modified: head/ObsoleteFiles.inc Modified: head/ObsoleteFiles.inc

svn commit: r358657 - in head: share/man/man4 sys/netgraph

2020-03-04 Thread Gleb Smirnoff
Author: glebius Date: Wed Mar 4 22:32:40 2020 New Revision: 358657 URL: https://svnweb.freebsd.org/changeset/base/358657 Log: Fix spelling of "dropped". Submitted by: Lutz Donnerhacke Differential Revision:https://reviews.freebsd.org/D23954 Modified: head/share/man/man4/ng_car

svn commit: r358656 - head/sys/dev/wtap

2020-03-04 Thread Gleb Smirnoff
Author: glebius Date: Wed Mar 4 22:31:41 2020 New Revision: 358656 URL: https://svnweb.freebsd.org/changeset/base/358656 Log: Remove unused function. Modified: head/sys/dev/wtap/if_wtap.c head/sys/dev/wtap/if_wtapvar.h Modified: head/sys/dev/wtap/if_wtap.c

svn commit: r358655 - head/sbin/mount_nfs

2020-03-04 Thread Gleb Smirnoff
Author: glebius Date: Wed Mar 4 22:27:16 2020 New Revision: 358655 URL: https://svnweb.freebsd.org/changeset/base/358655 Log: When a machine boots the NFS mounting script is executed after interfaces are configured, but for many interfaces (e.g. all Intel) ifconfig causes link renegotiation

svn commit: r358654 - head/sys/sys

2020-03-04 Thread Mark Johnston
Author: markj Date: Wed Mar 4 22:23:24 2020 New Revision: 358654 URL: https://svnweb.freebsd.org/changeset/base/358654 Log: Remove an #include erroneously added in r358432. Reported by: erj Modified: head/sys/sys/refcount.h Modified: head/sys/sys/refcount.h ===

Re: svn commit: r358432 - in head/sys: kern sys vm

2020-03-04 Thread Mark Johnston
On Wed, Mar 04, 2020 at 01:15:59PM -0800, Eric Joyner wrote: > Hi Mark, > > Is the addition of #include in sys/sys/refcount.h > actually necessary? I don't see anything in there used in refcount.h, and > the kernel appears to compile without it, at least on amd64. No, it is left over from an ear

svn commit: r358652 - in head: contrib/ntp contrib/ntp/html contrib/ntp/html/drivers contrib/ntp/include contrib/ntp/libntp contrib/ntp/libparse contrib/ntp/ntpd contrib/ntp/ntpdate contrib/ntp/ntp...

2020-03-04 Thread Cy Schubert
Author: cy Date: Wed Mar 4 21:45:12 2020 New Revision: 358652 URL: https://svnweb.freebsd.org/changeset/base/358652 Log: MFV r358616: Update ntp-4.2.8p13 --> 4.2.8p14. The advisory can be found at: http://support.ntp.org/bin/view/Main/SecurityNotice#\ March_2020_ntp_4_2_8p14_NTP_R

svn commit: r358650 - in head/sys: compat/linux sys vm

2020-03-04 Thread Brooks Davis
Author: brooks Date: Wed Mar 4 21:27:12 2020 New Revision: 358650 URL: https://svnweb.freebsd.org/changeset/base/358650 Log: Introduce kern_mmap_req(). This presents an extensible interface to the generic mmap(2) implementation via a struct pointer intended to use a designated initiali

Re: svn commit: r358432 - in head/sys: kern sys vm

2020-03-04 Thread Eric Joyner
Hi Mark, Is the addition of #include in sys/sys/refcount.h actually necessary? I don't see anything in there used in refcount.h, and the kernel appears to compile without it, at least on amd64. - Eric On Fri, Feb 28, 2020 at 8:05 AM Mark Johnston wrote: > Author: markj > Date: Fri Feb 28 16:0

svn commit: r358643 - in head/stand/i386: . boot2 gptboot gptzfsboot isoboot loader zfsboot

2020-03-04 Thread Dimitry Andric
Author: dim Date: Wed Mar 4 21:01:22 2020 New Revision: 358643 URL: https://svnweb.freebsd.org/changeset/base/358643 Log: Link stand/i386 components using a linker script LLD 10.0.0 changed the behavior of the -Ttext option, so that using -Ttext=0x0 now causes linking of the loaders to f

svn commit: r358639 - head/contrib/elftoolchain/readelf

2020-03-04 Thread Ed Maste
Author: emaste Date: Wed Mar 4 20:41:45 2020 New Revision: 358639 URL: https://svnweb.freebsd.org/changeset/base/358639 Log: readelf: simplify namesz / descsz checks MFC after:3 days Sponsored by: The FreeBSD Foundation Modified: head/contrib/elftoolchain/readelf/readelf.c Modifi

svn commit: r358637 - head/contrib/elftoolchain/readelf

2020-03-04 Thread Ed Maste
Author: emaste Date: Wed Mar 4 20:29:49 2020 New Revision: 358637 URL: https://svnweb.freebsd.org/changeset/base/358637 Log: readelf: check note namesz and descsz Previously corrupt note namesz or descsz (perhaps caused by readelf's current lack of endian support for notes) resulted in a

svn commit: r358635 - head/sys/dev/mmc/host

2020-03-04 Thread Emmanuel Vadot
Author: manu Date: Wed Mar 4 20:01:03 2020 New Revision: 358635 URL: https://svnweb.freebsd.org/changeset/base/358635 Log: dwmmc: Rework the DMA engine Each segment can be up to 4096 bytes in chain structure according to the RK3399 TRM Part 2. Set the buffers in full ring where the las

svn commit: r358634 - head/sys/kern

2020-03-04 Thread Mateusz Guzik
Author: mjg Date: Wed Mar 4 19:52:34 2020 New Revision: 358634 URL: https://svnweb.freebsd.org/changeset/base/358634 Log: execve: use LOCKSHARED when looking up the interpreter Reviewed by: kib Differential Revision:https://reviews.freebsd.org/D23956 Modified: head/sys/kern/k

svn commit: r358633 - head/sys/fs/nullfs

2020-03-04 Thread Mateusz Guzik
Author: mjg Date: Wed Mar 4 19:52:00 2020 New Revision: 358633 URL: https://svnweb.freebsd.org/changeset/base/358633 Log: nullfs: don't pre lock exclusive in nullfs_root Reviewed by: kib Differential Revision:https://reviews.freebsd.org/D23955 Modified: head/sys/fs/nullfs/nul

Re: svn commit: r358439 - head/sys/amd64/include

2020-03-04 Thread Ryan Libby
On Wed, Mar 4, 2020 at 10:28 AM Brooks Davis wrote: > > On Wed, Mar 04, 2020 at 12:27:08PM +0100, Guido Falsi wrote: > > On 02/03/20 18:13, Ryan Libby wrote: > > > On Mon, Mar 2, 2020 at 12:45 AM Alexander V. Chernikov > > > wrote: > > >> > > >> 28.02.2020, 18:32, "Ryan Libby" : > > >>> Author:

svn commit: r358632 - in head/stand/i386: gptboot isoboot

2020-03-04 Thread Toomas Soome
Author: tsoome Date: Wed Mar 4 18:38:09 2020 New Revision: 358632 URL: https://svnweb.freebsd.org/changeset/base/358632 Log: loader: crc32 is provided by libsa Seems like leftover from moving crc32.c to libsa. Modified: head/stand/i386/gptboot/Makefile head/stand/i386/isoboot/Makefile

Re: svn commit: r358439 - head/sys/amd64/include

2020-03-04 Thread Brooks Davis
On Wed, Mar 04, 2020 at 12:27:08PM +0100, Guido Falsi wrote: > On 02/03/20 18:13, Ryan Libby wrote: > > On Mon, Mar 2, 2020 at 12:45 AM Alexander V. Chernikov > > wrote: > >> > >> 28.02.2020, 18:32, "Ryan Libby" : > >>> Author: rlibby > >>> Date: Fri Feb 28 18:32:36 2020 > >>> New Revision: 35843

svn commit: r358631 - in head: contrib/elftoolchain/readelf sys/sys usr.bin/elfctl

2020-03-04 Thread Ed Maste
Author: emaste Date: Wed Mar 4 18:21:30 2020 New Revision: 358631 URL: https://svnweb.freebsd.org/changeset/base/358631 Log: Reserve WXNEEDED ELF feature control flag This will be used to tag binaries that require W+X mappings, in advance of the ability to prevent W^X in mmap/mprotect.

svn commit: r358630 - head/sys/dev/bnxt

2020-03-04 Thread Brooks Davis
Author: brooks Date: Wed Mar 4 17:55:57 2020 New Revision: 358630 URL: https://svnweb.freebsd.org/changeset/base/358630 Log: bnxt(4): Fix ioctls when user addresses are inaccessable. Check copyin's error code (differ adding copyout checks at this time). Don't directly access user memo

Re: svn commit: r358562 - in head: . share/man/man5 share/man/man7 tools/build/options tools/tools/nanobsd/dhcpd tools/tools/nanobsd/embedded usr.bin usr.bin/calendar usr.bin/calendar/calendars usr.bi

2020-03-04 Thread Steffen Nurpmeso
Hello Gordon. Gordon Bergling wrote in : |Thanks for the revert. I handcrafted https://reviews.freebsd.org/D23581 \ | a while ago, and this took me \ |two days. This is tremendous! Your work is exactly what i planned to do somewhen in the near future! Th

Re: svn commit: r358439 - head/sys/amd64/include

2020-03-04 Thread Ryan Libby
On Wed, Mar 4, 2020 at 3:27 AM Guido Falsi wrote: > > On 02/03/20 18:13, Ryan Libby wrote: > > On Mon, Mar 2, 2020 at 12:45 AM Alexander V. Chernikov > > wrote: > >> > >> 28.02.2020, 18:32, "Ryan Libby" : > >>> Author: rlibby > >>> Date: Fri Feb 28 18:32:36 2020 > >>> New Revision: 358439 > >>>

svn commit: r358629 - head/sys/dev/sound/pcm

2020-03-04 Thread Hans Petter Selasky
Author: hselasky Date: Wed Mar 4 17:23:20 2020 New Revision: 358629 URL: https://svnweb.freebsd.org/changeset/base/358629 Log: Implement a detaching flag for the sound(4) subsystem to take appropriate actions when we are trying to detach an audio device, but cannot because someone is using

svn commit: r358625 - head/sys/net

2020-03-04 Thread Bjoern A. Zeeb
Author: bz Date: Wed Mar 4 17:17:02 2020 New Revision: 358625 URL: https://svnweb.freebsd.org/changeset/base/358625 Log: Implement optional table entry limits for if_llatbl. Implement counting of table entries linked on a per-table base with an optional (if set > 0) limit of the maximum

svn commit: r358624 - in head/sys/dev/mlx5: . mlx5_en mlx5_ib

2020-03-04 Thread Konstantin Belousov
Author: kib Date: Wed Mar 4 17:13:35 2020 New Revision: 358624 URL: https://svnweb.freebsd.org/changeset/base/358624 Log: mlx5en: Support 50GBase-KR4 media type in mlx5en driver. Submitted by: Adam Peace Reviewed by: hselasky Sponsored by: Mellanox Technologies MFC after:1 week

Re: [SOLUTION] Re: svn commit: r358411 - head/contrib/sendmail/src

2020-03-04 Thread Hajimu UMEMOTO
Hi, > On Wed, 4 Mar 2020 22:26:32 +0700 > Eugene Grosbein said: > No, I never do r515574 back. The other ports depending upon > cyrus-sasl2 must be linked same version of openssl. So, there is an > option "DEFAULT_VERSIONS= ssl=base". Your hack breaks this premise and > confuse people.

svn commit: r358623 - head/usr.bin/elfctl

2020-03-04 Thread Ed Maste
Author: emaste Date: Wed Mar 4 16:57:23 2020 New Revision: 358623 URL: https://svnweb.freebsd.org/changeset/base/358623 Log: elfctl: check read return value CID: 1420212, 1420213 Reported by: Coverity Scan Sponsored by: The FreeBSD Foundation Modified: head/usr.bin/elfctl/

svn commit: r358622 - head/usr.bin/elfctl

2020-03-04 Thread Ed Maste
Author: emaste Date: Wed Mar 4 16:53:49 2020 New Revision: 358622 URL: https://svnweb.freebsd.org/changeset/base/358622 Log: elfctl: style(9): use C99 uintX_t types Sponsored by: The FreeBSD Foundation Modified: head/usr.bin/elfctl/elfctl.c Modified: head/usr.bin/elfctl/elfctl.c ==

svn commit: r358621 - head/sys/netinet

2020-03-04 Thread Michael Tuexen
Author: tuexen Date: Wed Mar 4 16:41:25 2020 New Revision: 358621 URL: https://svnweb.freebsd.org/changeset/base/358621 Log: When using automatically generated flow labels and using TCP SYN cookies, use the same flow label for the segments sent during the handshake and after the handshake.

svn commit: r358620 - in head: sys/netinet usr.bin/netstat

2020-03-04 Thread Bjoern A. Zeeb
Author: bz Date: Wed Mar 4 16:20:59 2020 New Revision: 358620 URL: https://svnweb.freebsd.org/changeset/base/358620 Log: Add new ICMPv6 counters for Anti-DoS limits. Add four new counters for ND6 related Anti-DoS measures. We split these out into a separate upfront commit so that we only

Re: [SOLUTION] Re: svn commit: r358411 - head/contrib/sendmail/src

2020-03-04 Thread Eugene Grosbein
04.03.2020 21:43, Hajimu UMEMOTO wrote: > Hi, > >> On Wed, 4 Mar 2020 21:07:10 +0700 >> Eugene Grosbein said: > > eugen> Dear maintainer, please consider applying r515574 back. > > No, I never do r515574 back. The other ports depending upon > cyrus-sasl2 must be linked same version of

Re: svn commit: r358439 - head/sys/amd64/include

2020-03-04 Thread Guido Falsi
On 04/03/20 12:27, Guido Falsi wrote: > > Actually this causes emulators/virtualbox-ose port to fail to build: > > In file included from /usr/src/sys/sys/systm.h:44: > /usr/include/machine/atomic.h:230:1: error: invalid output constraint > '=@cce' in asm > ATOMIC_CMPSET(char); > ^ > /usr/include

svn commit: r358619 - head/share/man/man4

2020-03-04 Thread Justin Hibbits
Author: jhibbits Date: Wed Mar 4 14:56:32 2020 New Revision: 358619 URL: https://svnweb.freebsd.org/changeset/base/358619 Log: Update ismt(4) man page for r358595. Submitted by: Dmitry Luhtionov X-MFC-With: r358595 Sponsored by: Juniper Networks, Inc Modified: head/share/man/man4/

Re: [SOLUTION] Re: svn commit: r358411 - head/contrib/sendmail/src

2020-03-04 Thread Hajimu UMEMOTO
Hi, > On Wed, 4 Mar 2020 21:07:10 +0700 > Eugene Grosbein said: eugen> Dear maintainer, please consider applying r515574 back. No, I never do r515574 back. The other ports depending upon cyrus-sasl2 must be linked same version of openssl. So, there is an option "DEFAULT_VERSIONS= ssl=

Re: [SOLUTION] Re: svn commit: r358411 - head/contrib/sendmail/src

2020-03-04 Thread Jung-uk Kim
On 20. 3. 4., Eugene Grosbein wrote: > 04.03.2020 0:10, John Baldwin wrote: > >> When the handbook text was first written we didn't have an OpenSSL in ports >> that would conflict > > Thank you very much for this key for solving the problem. > This occured to be missing bit of information I was

[SOLUTION] Re: svn commit: r358411 - head/contrib/sendmail/src

2020-03-04 Thread Eugene Grosbein
04.03.2020 0:10, John Baldwin wrote: > When the handbook text was first written we didn't have an OpenSSL in ports > that would conflict Thank you very much for this key for solving the problem. This occured to be missing bit of information I was looking for. So, the fix is simple. We need only

svn commit: r358614 - head/sys/netinet

2020-03-04 Thread Michael Tuexen
Author: tuexen Date: Wed Mar 4 12:22:53 2020 New Revision: 358614 URL: https://svnweb.freebsd.org/changeset/base/358614 Log: Don't send an uninitilised traffic class in the IPv6 header, when sending a TCP segment from the TCP SYN cache (like a SYN-ACK). This fix initialises it to zero. This

svn commit: r358613 - head/sys/dev/aacraid

2020-03-04 Thread Leandro Lupori
Author: luporl Date: Wed Mar 4 12:21:38 2020 New Revision: 358613 URL: https://svnweb.freebsd.org/changeset/base/358613 Log: [aacraid] Add missing unmap call for SYNC mode This issue was observed on a PowerPC64 machine with an Adaptec RAID Controller with PCI device ID 0x028d. After seve

Re: svn commit: r358439 - head/sys/amd64/include

2020-03-04 Thread Guido Falsi
On 02/03/20 18:13, Ryan Libby wrote: > On Mon, Mar 2, 2020 at 12:45 AM Alexander V. Chernikov > wrote: >> >> 28.02.2020, 18:32, "Ryan Libby" : >>> Author: rlibby >>> Date: Fri Feb 28 18:32:36 2020 >>> New Revision: 358439 >>> URL: https://svnweb.freebsd.org/changeset/base/358439 >>> >>> Log: >>>

svn commit: r358609 - head/sys/dev/usb/input

2020-03-04 Thread Hans Petter Selasky
Author: hselasky Date: Wed Mar 4 09:46:42 2020 New Revision: 358609 URL: https://svnweb.freebsd.org/changeset/base/358609 Log: Restart the USB keyboard repeat timer at every valid key-press. This fixes a regression issue after r357861. Reported by: James Wright PR: 224592 PR:

Re: svn commit: r358411 - head/contrib/sendmail/src

2020-03-04 Thread Eugene Grosbein
04.03.2020 0:10, John Baldwin wrote: > On 3/3/20 6:56 AM, Eugene Grosbein wrote: >> 03.03.2020 21:44, Jung-uk Kim wrote: >> >>> No, you'll have the same linker failure. >> >> Then what's the reason of the failure? We have to fix it for stable/11 >> users, too. > > It can't be fixed, and even if

Re: svn commit: r358562 - in head: . share/man/man5 share/man/man7 tools/build/options tools/tools/nanobsd/dhcpd tools/tools/nanobsd/embedded usr.bin usr.bin/calendar usr.bin/calendar/calendars usr.bi

2020-03-04 Thread Gordon Bergling
Thanks for the revert. I handcrafted https://reviews.freebsd.org/D23581 a while ago, and this took me two days. Gordon > Am 03.03.2020 um 01:20 schrieb Conrad Meyer : > > Author: cem > Date: Tue Mar 3 00:20:08 2020 > New Revision: 358562 > URL: https://svnw