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: 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:

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: 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

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: 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

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

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

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