svn commit: r363176 - head/usr.sbin

2020-07-13 Thread Adrian Chadd
Author: adrian Date: Tue Jul 14 05:33:23 2020 New Revision: 363176 URL: https://svnweb.freebsd.org/changeset/base/363176 Log: [pmc] whoops, remove spurious #'s pointed out by gonzo@, thanks! Modified: head/usr.sbin/Makefile Modified: head/usr.sbin/Makefile

svn commit: r363175 - stable/12/contrib/ldns/drill

2020-07-13 Thread Oleksandr Tymoshenko
Author: gonzo Date: Tue Jul 14 05:24:07 2020 New Revision: 363175 URL: https://svnweb.freebsd.org/changeset/base/363175 Log: MFC r362516: Fix crash in drill(1) when IP has two subsequent dots Cherry-pick crash fix from the upstream repo PR: 226575 Reported by: Goran

svn commit: r363174 - head/usr.sbin

2020-07-13 Thread Adrian Chadd
Author: adrian Date: Tue Jul 14 05:10:50 2020 New Revision: 363174 URL: https://svnweb.freebsd.org/changeset/base/363174 Log: [hwpmc] Compile 'pmc' only if we have C++11. I noticed when compiling with ye olde gcc-6.3.0 on mips that it tripped over a lack of C++11 bits. This allows it to

svn commit: r363173 - head/sbin/ipfw

2020-07-13 Thread Adrian Chadd
Author: adrian Date: Tue Jul 14 05:07:16 2020 New Revision: 363173 URL: https://svnweb.freebsd.org/changeset/base/363173 Log: [ipfw] quieten maybe-uninitialized errors in ipfw when compiled under mips-gcc-6.3.0. This is mostly an exercise to set variables to NULL/0 when declared, but

svn commit: r363172 - head/contrib/bc/src

2020-07-13 Thread Adrian Chadd
Author: adrian Date: Tue Jul 14 05:02:18 2020 New Revision: 363172 URL: https://svnweb.freebsd.org/changeset/base/363172 Log: [bc] Fix a "maybe uninitialized" compiler warning under mips-gcc-6.3.0. I guess this didn't like the case statements.. ? But this does quieten the compiler error.

svn commit: r363171 - head/contrib/flex/src

2020-07-13 Thread Adrian Chadd
Author: adrian Date: Tue Jul 14 05:00:08 2020 New Revision: 363171 URL: https://svnweb.freebsd.org/changeset/base/363171 Log: [flex] Fix compilation issue under mips-gcc-6.4 This was triggering a pointer-losing-constness error. Modified: head/contrib/flex/src/main.c Modified:

svn commit: r363170 - in head: contrib/byacc contrib/byacc/package contrib/byacc/package/debian contrib/byacc/package/pkgsrc contrib/byacc/test contrib/byacc/test/btyacc contrib/byacc/test/yacc usr...

2020-07-13 Thread Jung-uk Kim
Author: jkim Date: Tue Jul 14 01:54:24 2020 New Revision: 363170 URL: https://svnweb.freebsd.org/changeset/base/363170 Log: MFV: r362513 Update byacc to 20200330. Added: head/contrib/byacc/test/btyacc/calc_code_all.error - copied unchanged from r362513,

svn commit: r363169 - head/usr.sbin/periodic/etc/daily

2020-07-13 Thread Allan Jude
Author: allanjude Date: Tue Jul 14 00:46:20 2020 New Revision: 363169 URL: https://svnweb.freebsd.org/changeset/base/363169 Log: Actually install the new 221.backup-gpart periodic script Submitted by: Rob Fairbanks Reported by: Michael Butler MFC with: r363110 Sponsored by:

Re: svn commit: r363168 - stable/12/usr.sbin/iovctl

2020-07-13 Thread Gordon Bergling
Sorry, this has to be MFC r362808: iovctl(8): Correct a typo in the manpage and correct the SYNOPSIS --Gordon On Mon, Jul 13, 2020 at 07:28:10PM +, Gordon Bergling wrote: > Author: gbe (doc committer) > Date: Mon Jul 13 19:28:10 2020 > New Revision: 363168 > URL:

svn commit: r363168 - stable/12/usr.sbin/iovctl

2020-07-13 Thread Gordon Bergling
Author: gbe (doc committer) Date: Mon Jul 13 19:28:10 2020 New Revision: 363168 URL: https://svnweb.freebsd.org/changeset/base/363168 Log: iovctl(8): Correct a typo in the manpage and correct the SYNOPSIS PR: 246831 Submitted by: Jose Luis Duran Reviewed by: bcr (mentor)

svn commit: r363167 - head/sys/dev/cxgbe

2020-07-13 Thread Navdeep Parhar
Author: np Date: Mon Jul 13 19:15:29 2020 New Revision: 363167 URL: https://svnweb.freebsd.org/changeset/base/363167 Log: cxgbev(4): Compare at most 16 bytes of the Ethernet header when trying to coalesce tx work requests. Note that Coverity will still treat this as an out-of-bounds

svn commit: r363166 - head/sbin/ipfw

2020-07-13 Thread Mark Johnston
Author: markj Date: Mon Jul 13 19:10:16 2020 New Revision: 363166 URL: https://svnweb.freebsd.org/changeset/base/363166 Log: ipfw(8): Handle unaligned pointers in pr_u64. struct _ipfw_dyn_rule is defined as packed, and as a result, its uint64_t fields are misaligned on some 32-bit

svn commit: r363165 - head/lib/libc/tests/gen

2020-07-13 Thread Li-Wen Hsu
Author: lwhsu Date: Mon Jul 13 18:19:02 2020 New Revision: 363165 URL: https://svnweb.freebsd.org/changeset/base/363165 Log: Revert r351416 to let lib.libc.gen.getmntinfo_test.getmntinfo_test get more test This is supposed to be fixed by r363068 PR: 240049 Sponsored by:

svn commit: r363164 - head/sbin/ipfw

2020-07-13 Thread Mark Johnston
Author: markj Date: Mon Jul 13 17:51:04 2020 New Revision: 363164 URL: https://svnweb.freebsd.org/changeset/base/363164 Log: ipfw(8): Fix most warnings with the default WARNS level. - Add missing const and static qualifiers. - Avoid shadowing the global "co" by renaming it to "g_co". -

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

2020-07-13 Thread Alexander Motin
Author: mav Date: Mon Jul 13 17:20:20 2020 New Revision: 363163 URL: https://svnweb.freebsd.org/changeset/base/363163 Log: MFC r358995 (by pkelsey): Fix iflib freelist state corruption This fixes a bug in iflib freelist management that breaks the required correspondence between freelist

svn commit: r363162 - head/sys/arm64/arm64

2020-07-13 Thread Mark Johnston
Author: markj Date: Mon Jul 13 17:05:44 2020 New Revision: 363162 URL: https://svnweb.freebsd.org/changeset/base/363162 Log: Print arm64 physmem info during boot. PR: 243682 Reviewed by: andrew, emaste MFC after:1 week Event:July 2020 Bugathon

svn commit: r363161 - in stable/12/sys: compat/freebsd32 kern

2020-07-13 Thread Mark Johnston
Author: markj Date: Mon Jul 13 16:43:23 2020 New Revision: 363161 URL: https://svnweb.freebsd.org/changeset/base/363161 Log: MFC r362970, r362971: Permit cpuset_(get|set)domain() in capability mode. Modified: stable/12/sys/compat/freebsd32/freebsd32_sysent.c

svn commit: r363160 - stable/12/sys/kern

2020-07-13 Thread Mark Johnston
Author: markj Date: Mon Jul 13 16:42:30 2020 New Revision: 363160 URL: https://svnweb.freebsd.org/changeset/base/363160 Log: MFC r362968: Allow accesses of the caller's CPU and domain sets in capability mode. Modified: stable/12/sys/kern/kern_cpuset.c Directory Properties: stable/12/

svn commit: r363159 - stable/12/sys/kern

2020-07-13 Thread Mark Johnston
Author: markj Date: Mon Jul 13 16:41:58 2020 New Revision: 363159 URL: https://svnweb.freebsd.org/changeset/base/363159 Log: MFC r362966: Lift cpuset Capsicum checks into a subroutine. Modified: stable/12/sys/kern/kern_cpuset.c Directory Properties: stable/12/ (props changed)

svn commit: r363158 - head/sys/vm

2020-07-13 Thread Mark Johnston
Author: markj Date: Mon Jul 13 16:39:27 2020 New Revision: 363158 URL: https://svnweb.freebsd.org/changeset/base/363158 Log: Add vm_map_valid_range_KBI(). This is required for standalone module builds. Reported by: hselasky Reviewed by: dougm, hselasky, kib MFC after:3 days

Re: svn commit: r362361 - in head/sys: compat/linuxkpi/common/src vm

2020-07-13 Thread Mark Johnston
On Mon, Jul 13, 2020 at 05:27:06PM +0200, Hans Petter Selasky wrote: > On 2020-06-19 05:32, Mark Johnston wrote: > > +++ head/sys/vm/vm_map.hFri Jun 19 03:32:04 2020(r362361) > > @@ -255,6 +255,17 @@ vm_map_modflags(vm_map_t map, vm_flags_t set, vm_flags > > { > > map->flags =

svn commit: r363157 - in head/lib/libpmc/pmu-events/arch/x86: . amdfam17h amdzen1 amdzen2

2020-07-13 Thread Alexander Motin
Author: mav Date: Mon Jul 13 16:23:02 2020 New Revision: 363157 URL: https://svnweb.freebsd.org/changeset/base/363157 Log: Update AMD Zen1 and add Zen2 events mapping. MFC after:2 weeks Added: - copied from r363156, head/lib/libpmc/pmu-events/arch/x86/amdfam17h/

svn commit: r363156 - head/lib/libc/sys

2020-07-13 Thread Gordon Bergling
Author: gbe (doc committer) Date: Mon Jul 13 15:52:57 2020 New Revision: 363156 URL: https://svnweb.freebsd.org/changeset/base/363156 Log: lseek(2): Document the seek behavior better and update the POSIX compliance In certain situations lseek(2) will return successful although if no seek

svn commit: r363155 - stable/11/sys/compat/linuxkpi/common/include/linux

2020-07-13 Thread Hans Petter Selasky
Author: hselasky Date: Mon Jul 13 15:41:55 2020 New Revision: 363155 URL: https://svnweb.freebsd.org/changeset/base/363155 Log: MFC r362781 and r362794: Implement is_signed(), type_max() and type_min() function macros in the LinuxKPI. Sponsored by: Mellanox Technologies Modified:

svn commit: r363154 - stable/12/sys/compat/linuxkpi/common/include/linux

2020-07-13 Thread Hans Petter Selasky
Author: hselasky Date: Mon Jul 13 15:40:55 2020 New Revision: 363154 URL: https://svnweb.freebsd.org/changeset/base/363154 Log: MFC r362781 and r362794: Implement is_signed(), type_max() and type_min() function macros in the LinuxKPI. Sponsored by: Mellanox Technologies Modified:

svn commit: r363153 - stable/11/sys/compat/linuxkpi/common/src

2020-07-13 Thread Hans Petter Selasky
Author: hselasky Date: Mon Jul 13 15:37:59 2020 New Revision: 363153 URL: https://svnweb.freebsd.org/changeset/base/363153 Log: MFC r362829: The "pid" field in the LinuxKPI task struct is typically set to the thread ID and not the process ID. Make sure the linux_task_exiting() function uses

svn commit: r363152 - stable/12/sys/compat/linuxkpi/common/src

2020-07-13 Thread Hans Petter Selasky
Author: hselasky Date: Mon Jul 13 15:36:57 2020 New Revision: 363152 URL: https://svnweb.freebsd.org/changeset/base/363152 Log: MFC r362829: The "pid" field in the LinuxKPI task struct is typically set to the thread ID and not the process ID. Make sure the linux_task_exiting() function uses

svn commit: r363151 - in stable/11/sys: dev/mlx4/mlx4_core dev/mlx4/mlx4_en dev/mlx4/mlx4_ib dev/mlx5/mlx5_core dev/mlx5/mlx5_en dev/mlx5/mlx5_fpga_tools dev/mlx5/mlx5_ib dev/mthca ofed/drivers/inf...

2020-07-13 Thread Hans Petter Selasky
Author: hselasky Date: Mon Jul 13 15:34:47 2020 New Revision: 363151 URL: https://svnweb.freebsd.org/changeset/base/363151 Log: MFC r362953: Infiniband clients must be attached and detached in a specific order in ibcore. Currently the linking order of the infiniband, IB, modules decide

svn commit: r363150 - in stable/12/sys: dev/mlx4/mlx4_core dev/mlx4/mlx4_en dev/mlx4/mlx4_ib dev/mlx5/mlx5_core dev/mlx5/mlx5_en dev/mlx5/mlx5_fpga_tools dev/mlx5/mlx5_ib dev/mthca ofed/drivers/inf...

2020-07-13 Thread Hans Petter Selasky
Author: hselasky Date: Mon Jul 13 15:33:06 2020 New Revision: 363150 URL: https://svnweb.freebsd.org/changeset/base/363150 Log: MFC r362953: Infiniband clients must be attached and detached in a specific order in ibcore. Currently the linking order of the infiniband, IB, modules decide

svn commit: r363149 - stable/11/sys/compat/linuxkpi/common/include/linux

2020-07-13 Thread Hans Petter Selasky
Author: hselasky Date: Mon Jul 13 15:29:11 2020 New Revision: 363149 URL: https://svnweb.freebsd.org/changeset/base/363149 Log: MFC r362946: Fix include file order in io.h in the LinuxKPI. Make sure sys/types.h is included before machine/vm.h. PR: 247775 Submitted by:

svn commit: r363148 - stable/12/sys/compat/linuxkpi/common/include/linux

2020-07-13 Thread Hans Petter Selasky
Author: hselasky Date: Mon Jul 13 15:28:06 2020 New Revision: 363148 URL: https://svnweb.freebsd.org/changeset/base/363148 Log: MFC r362946: Fix include file order in io.h in the LinuxKPI. Make sure sys/types.h is included before machine/vm.h. PR: 247775 Submitted by:

Re: svn commit: r362361 - in head/sys: compat/linuxkpi/common/src vm

2020-07-13 Thread Hans Petter Selasky
On 2020-06-19 05:32, Mark Johnston wrote: +++ head/sys/vm/vm_map.hFri Jun 19 03:32:04 2020(r362361) @@ -255,6 +255,17 @@ vm_map_modflags(vm_map_t map, vm_flags_t set, vm_flags { map->flags = (map->flags | set) & ~clear; } + +static inline bool

svn commit: r363147 - head/lib/libc/gen

2020-07-13 Thread Gordon Bergling
Author: gbe (doc committer) Date: Mon Jul 13 15:17:29 2020 New Revision: 363147 URL: https://svnweb.freebsd.org/changeset/base/363147 Log: gethostname(3): Correct the reference of the undefined value HOST_NAME_MAX PR: 143472 Submitted by: bcran@ Reported by: Jeremy

svn commit: r363146 - head/usr.sbin/arp

2020-07-13 Thread Gordon Bergling
Author: gbe (doc committer) Date: Mon Jul 13 15:06:29 2020 New Revision: 363146 URL: https://svnweb.freebsd.org/changeset/base/363146 Log: arp(8) clarify the use of the '-a flag' PR: 238146 Submitted by: Andrew Stevenson Reported by: Andrew Stevenson Reviewed by: bcr

svn commit: r363144 - head/lib/libpmc/pmu-events/arch/x86

2020-07-13 Thread Alexander Motin
Author: mav Date: Mon Jul 13 14:25:25 2020 New Revision: 363144 URL: https://svnweb.freebsd.org/changeset/base/363144 Log: Minor textual fixes. MFC after:1 week Modified: head/lib/libpmc/pmu-events/arch/x86/mapfile.csv Modified: head/lib/libpmc/pmu-events/arch/x86/mapfile.csv

svn commit: r363143 - svnadmin/conf

2020-07-13 Thread Mateusz Guzik
Author: mjg Date: Mon Jul 13 13:58:21 2020 New Revision: 363143 URL: https://svnweb.freebsd.org/changeset/base/363143 Log: Release tmunro from mentorship. Modified: svnadmin/conf/mentors Modified: svnadmin/conf/mentors

Re: svn commit: r363103 - head/usr.sbin/bsdinstall/scripts

2020-07-13 Thread Allan Jude
On 2020-07-12 13:32, Enji Cooper wrote: > >> On Jul 11, 2020, at 10:20 AM, Allan Jude wrote: >> >> Author: allanjude >> Date: Sat Jul 11 17:20:17 2020 >> New Revision: 363103 >> URL: https://svnweb.freebsd.org/changeset/base/363103 >> >> Log: >> bsdinstall: only kill the dhclient for the

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

2020-07-13 Thread Allan Jude
Author: allanjude Date: Mon Jul 13 13:44:54 2020 New Revision: 363142 URL: https://svnweb.freebsd.org/changeset/base/363142 Log: Remove excess spaces from rc.d scripts The space between words is already being echoed by the space between quoted strings: % echo 'foo' 'bar'

svn commit: r363141 - head/sys/netpfil/ipfw

2020-07-13 Thread Tom Jones
Author: thj Date: Mon Jul 13 13:35:36 2020 New Revision: 363141 URL: https://svnweb.freebsd.org/changeset/base/363141 Log: Don't print VNET pointer when initializing dummynet When dummynet initializes it prints a debug message with the current VNET pointer unnecessarily revealing kernel

Re: svn commit: r363125 - head/sys/compat/linux

2020-07-13 Thread Alexander Leidinger
Quoting Conrad Meyer (from Sun, 12 Jul 2020 16:27:49 -0700): Hi Alexander, On Sun, Jul 12, 2020 at 2:51 AM Alexander Leidinger wrote: Author: netchild Date: Sun Jul 12 09:51:09 2020 New Revision: 363125 URL: https://svnweb.freebsd.org/changeset/base/363125 Log: Implement