svn commit: r364186 - head/sbin/ifconfig

2020-08-12 Thread Eugene Grosbein
Author: eugen Date: Thu Aug 13 06:32:39 2020 New Revision: 364186 URL: https://svnweb.freebsd.org/changeset/base/364186 Log: ifconfig(8): plug memory leak after r361790 by me. MFC after:3 days Modified: head/sbin/ifconfig/ifconfig.c Modified: head/sbin/ifconfig/ifconfig.c ==

svn commit: r364185 - head/sys/cam/nvme

2020-08-12 Thread Alexander Motin
Author: mav Date: Thu Aug 13 02:32:46 2020 New Revision: 364185 URL: https://svnweb.freebsd.org/changeset/base/364185 Log: Fill device serial_num and device_id in NVMe XPT. It allows to report GEOM::lunid for nda(4) same as for nvd(4). Since NVMe now allows multiple LUs (namespaces) with

svn commit: r364184 - in stable/12: sys/cam/ctl sys/cam/scsi usr.sbin/ctladm

2020-08-12 Thread Alexander Motin
Author: mav Date: Thu Aug 13 00:42:09 2020 New Revision: 364184 URL: https://svnweb.freebsd.org/changeset/base/364184 Log: MFC r363979: Add CTL support for REPORT IDENTIFYING INFORMATION command. It allows to report to initiator LU identifying information, preset via "ident_info" and "tex

svn commit: r364183 - stable/12/sys/dev/ahci

2020-08-12 Thread Alexander Motin
Author: mav Date: Thu Aug 13 00:40:40 2020 New Revision: 364183 URL: https://svnweb.freebsd.org/changeset/base/364183 Log: MFC r363955: Add Intel Apollo Lake AHCI ID. Modified: stable/12/sys/dev/ahci/ahci_pci.c Directory Properties: stable/12/ (props changed) Modified: stable/12/sys/dev/

svn commit: r364182 - in head: etc/mtree lib/liblua

2020-08-12 Thread Ed Maste
Author: emaste Date: Thu Aug 13 00:19:05 2020 New Revision: 364182 URL: https://svnweb.freebsd.org/changeset/base/364182 Log: flua: initial support for "require" in the base system Use /usr not /usr/local for base system components. Use /usr/lib/flua and /usr/share/flua (not lua) for c

svn commit: r364181 - head/sys/riscv/riscv

2020-08-12 Thread John Baldwin
Author: jhb Date: Wed Aug 12 20:33:29 2020 New Revision: 364181 URL: https://svnweb.freebsd.org/changeset/base/364181 Log: Check that the frame pointer is within the current stack. This same check is used on other architectures. Previously this would permit a stack frame to unwind into a

svn commit: r364180 - in head/sys/riscv: include riscv

2020-08-12 Thread John Baldwin
Author: jhb Date: Wed Aug 12 20:29:49 2020 New Revision: 364180 URL: https://svnweb.freebsd.org/changeset/base/364180 Log: Use uintptr_t instead of uint64_t for pointers in stack frames. Reviewed by: mhorne Obtained from:CheriBSD Sponsored by: DARPA Differential Revision:

svn commit: r364179 - head/sys/dev/nvme

2020-08-12 Thread Alexander Motin
Author: mav Date: Wed Aug 12 20:05:43 2020 New Revision: 364179 URL: https://svnweb.freebsd.org/changeset/base/364179 Log: Report cpi->hba_* for nda(4) because why not. MFC after:1 week Modified: head/sys/dev/nvme/nvme_sim.c Modified: head/sys/dev/nvme/nvme_sim.c ===

svn commit: r364178 - head/sys/cam/nvme

2020-08-12 Thread Alexander Motin
Author: mav Date: Wed Aug 12 19:37:57 2020 New Revision: 364178 URL: https://svnweb.freebsd.org/changeset/base/364178 Log: Report proper stripesize for nda(4). Same as for nvd(4) report NPWG if present, otherise NOIOB. MFC after:1 week Modified: head/sys/cam/nvme/nvme_da.c Modi

svn commit: r364177 - head/sys/dev/nvd

2020-08-12 Thread Alexander Motin
Author: mav Date: Wed Aug 12 19:11:53 2020 New Revision: 364177 URL: https://svnweb.freebsd.org/changeset/base/364177 Log: Report attachment for nvd same as reported for nda. MFC after:1 week Modified: head/sys/dev/nvd/nvd.c Modified: head/sys/dev/nvd/nvd.c =

svn commit: r364176 - head/sys/riscv/include

2020-08-12 Thread John Baldwin
Author: jhb Date: Wed Aug 12 18:45:36 2020 New Revision: 364176 URL: https://svnweb.freebsd.org/changeset/base/364176 Log: Correct padding length for RISC-V PCPU data. There was an additional 7 bytes of compiler-inserted padding at the end of the structure visible via 'ptype /o' in gdb.

svn commit: r364175 - svnadmin/conf

2020-08-12 Thread George V. Neville-Neil
Author: gnn Date: Wed Aug 12 18:35:21 2020 New Revision: 364175 URL: https://svnweb.freebsd.org/changeset/base/364175 Log: Restore Qing Li's commit bit gnn to rementor Approved by: core@ Modified: svnadmin/conf/access Modified: svnadmin/conf/access =

svn commit: r364174 - head/usr.sbin/crunch/crunchgen

2020-08-12 Thread Alex Richardson
Author: arichardson Date: Wed Aug 12 17:27:24 2020 New Revision: 364174 URL: https://svnweb.freebsd.org/changeset/base/364174 Log: Use env pwd instead of pwd in crunchgen.c In r364166 I changed /bin/pwd to pwd, but pwd can be shell builtin that may not correctly return a real path. To ens

svn commit: r364172 - head/sys/net

2020-08-12 Thread Mitchell Horne
Author: mhorne Date: Wed Aug 12 16:43:20 2020 New Revision: 364172 URL: https://svnweb.freebsd.org/changeset/base/364172 Log: Correctly set error in rt_mpath_unlink It is possible for rn_delete() to return NULL. If this happens, then set *perror to ESRCH, as is done in the rest of the fun

Re: svn commit: r364166 - head/usr.sbin/crunch/crunchgen

2020-08-12 Thread Rodney W. Grimes
> On 12 Aug 2020, at 17:10, Rodney W. Grimes wrote: > > > >> Author: arichardson > >> Date: Wed Aug 12 15:49:06 2020 > >> New Revision: 364166 > >> URL: https://svnweb.freebsd.org/changeset/base/364166 > >> > >> Log: > >> Fix crunchgen usage of mkstemp() > >> > >> On Glibc systems mkstemp can

Re: svn commit: r364166 - head/usr.sbin/crunch/crunchgen

2020-08-12 Thread Jessica Clarke
On 12 Aug 2020, at 17:10, Rodney W. Grimes wrote: > > [ Charset UTF-8 unsupported, converting... ] >> Author: arichardson >> Date: Wed Aug 12 15:49:06 2020 >> New Revision: 364166 >> URL: https://svnweb.freebsd.org/changeset/base/364166 >> >> Log: >> Fix crunchgen usage of mkstemp() >> >> On

svn commit: r364169 - stable/12/sys/netinet

2020-08-12 Thread Alexander Motin
Author: mav Date: Wed Aug 12 16:16:17 2020 New Revision: 364169 URL: https://svnweb.freebsd.org/changeset/base/364169 Log: MFC r356321 (by markj): Take the ifnet's address lock in igmp_v3_cancel_link_timers(). inm_rele_locked() may remove the multicast address associated with inm. Modifi

Re: svn commit: r364166 - head/usr.sbin/crunch/crunchgen

2020-08-12 Thread Rodney W. Grimes
[ Charset UTF-8 unsupported, converting... ] > Author: arichardson > Date: Wed Aug 12 15:49:06 2020 > New Revision: 364166 > URL: https://svnweb.freebsd.org/changeset/base/364166 > > Log: > Fix crunchgen usage of mkstemp() > > On Glibc systems mkstemp can only be used once with the same tem

svn commit: r364168 - head/sys/compat/linprocfs

2020-08-12 Thread Mark Johnston
Author: markj Date: Wed Aug 12 16:08:44 2020 New Revision: 364168 URL: https://svnweb.freebsd.org/changeset/base/364168 Log: linprocfs: Fix some inaccuracies in meminfo. - Fill out MemFree correctly. Delete an ancient comment suggesting that we don't want to advertise the true quantity

svn commit: r364167 - head/stand/common

2020-08-12 Thread Alex Richardson
Author: arichardson Date: Wed Aug 12 15:49:10 2020 New Revision: 364167 URL: https://svnweb.freebsd.org/changeset/base/364167 Log: Fix stand/newvers.sh with zsh in sh mode When building on macOS with sh==zsh, newvers.sh was producing an unterminated string literal due to \\n being turned

svn commit: r364166 - head/usr.sbin/crunch/crunchgen

2020-08-12 Thread Alex Richardson
Author: arichardson Date: Wed Aug 12 15:49:06 2020 New Revision: 364166 URL: https://svnweb.freebsd.org/changeset/base/364166 Log: Fix crunchgen usage of mkstemp() On Glibc systems mkstemp can only be used once with the same template string since it will be modified in-place and no longer

svn commit: r364165 - head/sys/net

2020-08-12 Thread Vincenzo Maffione
Author: vmaffione Date: Wed Aug 12 14:45:31 2020 New Revision: 364165 URL: https://svnweb.freebsd.org/changeset/base/364165 Log: iflib: netmap: improve rxsync to support IFLIB_HAS_RXCQ For drivers with IFLIB_HAS_RXCQ set, there is a separate completion queue. In this case, the netmap rxsy

svn commit: r364164 - head/sys/net

2020-08-12 Thread Vincenzo Maffione
Author: vmaffione Date: Wed Aug 12 14:17:38 2020 New Revision: 364164 URL: https://svnweb.freebsd.org/changeset/base/364164 Log: iflib: refactor netmap_fl_refill and fix off-by-one issue First, fix the initialization of the fl->ifl_rxd_idxs array, which was affected by an off-by-one bug.

svn commit: r364163 - in stable/11/sys: kern sys

2020-08-12 Thread Andrey V. Elsukov
Author: ae Date: Wed Aug 12 12:11:44 2020 New Revision: 364163 URL: https://svnweb.freebsd.org/changeset/base/364163 Log: MFC r363906: Add m__getjcl SDT probe. Modified: stable/11/sys/kern/kern_mbuf.c stable/11/sys/kern/uipc_mbuf.c stable/11/sys/sys/mbuf.h Directory Properties: stab

svn commit: r364162 - stable/11/sys/netpfil/ipfw/nat64

2020-08-12 Thread Andrey V. Elsukov
Author: ae Date: Wed Aug 12 12:08:50 2020 New Revision: 364162 URL: https://svnweb.freebsd.org/changeset/base/364162 Log: MFC r363888: Handle delayed checksums if needed in NAT64. Upper level protocols defer checksums calculation in hope we have checksums offloading in a network c

svn commit: r364161 - stable/11/sys/netinet6

2020-08-12 Thread Andrey V. Elsukov
Author: ae Date: Wed Aug 12 12:07:15 2020 New Revision: 364161 URL: https://svnweb.freebsd.org/changeset/base/364161 Log: MFC r363900: Fix typo. Modified: stable/11/sys/netinet6/in6_proto.c Directory Properties: stable/11/ (props changed) Modified: stable/11/sys/netinet6/in6_proto.c

svn commit: r364160 - stable/11/sbin/ipfw

2020-08-12 Thread Andrey V. Elsukov
Author: ae Date: Wed Aug 12 12:06:01 2020 New Revision: 364160 URL: https://svnweb.freebsd.org/changeset/base/364160 Log: MFC r363904: Fix SIGSEGV in ipfw(8) when NAT64 prefix length is omitted. Modified: stable/11/sbin/ipfw/nat64clat.c stable/11/sbin/ipfw/nat64stl.c Directory Propertie

svn commit: r364159 - in stable/12/sys: kern sys

2020-08-12 Thread Andrey V. Elsukov
Author: ae Date: Wed Aug 12 11:49:35 2020 New Revision: 364159 URL: https://svnweb.freebsd.org/changeset/base/364159 Log: MFC r363906: Add m__getjcl SDT probe. Modified: stable/12/sys/kern/kern_mbuf.c stable/12/sys/kern/uipc_mbuf.c stable/12/sys/sys/mbuf.h Directory Properties: stab

svn commit: r364158 - stable/12/sys/netpfil/ipfw/nat64

2020-08-12 Thread Andrey V. Elsukov
Author: ae Date: Wed Aug 12 11:48:19 2020 New Revision: 364158 URL: https://svnweb.freebsd.org/changeset/base/364158 Log: MFC r363888: Handle delayed checksums if needed in NAT64. Upper level protocols defer checksums calculation in hope we have checksums offloading in a network c

svn commit: r364157 - stable/12/sys/netinet6

2020-08-12 Thread Andrey V. Elsukov
Author: ae Date: Wed Aug 12 11:43:43 2020 New Revision: 364157 URL: https://svnweb.freebsd.org/changeset/base/364157 Log: MFC r363900: Fix typo. Modified: stable/12/sys/netinet6/in6_proto.c Directory Properties: stable/12/ (props changed) Modified: stable/12/sys/netinet6/in6_proto.c

svn commit: r364156 - stable/12/sbin/ipfw

2020-08-12 Thread Andrey V. Elsukov
Author: ae Date: Wed Aug 12 11:42:36 2020 New Revision: 364156 URL: https://svnweb.freebsd.org/changeset/base/364156 Log: MFC r363904: Fix SIGSEGV in ipfw(8) when NAT64 prefix length is omitted. Modified: stable/12/sbin/ipfw/nat64clat.c stable/12/sbin/ipfw/nat64stl.c Directory Propertie

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

2020-08-12 Thread Andriy Gapon
Author: avg Date: Wed Aug 12 11:37:28 2020 New Revision: 364155 URL: https://svnweb.freebsd.org/changeset/base/364155 Log: hook cp2112.4 to the build Reported by: 0mp MFC after:1 week X-MFC with: r364144 Modified: head/share/man/man4/Makefile Modified: head/share/man/man4/Mak

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

2020-08-12 Thread Andriy Gapon
Author: avg Date: Wed Aug 12 11:36:09 2020 New Revision: 364154 URL: https://svnweb.freebsd.org/changeset/base/364154 Log: hook gpiokeys.4 to the build Reported by: 0mp MFC after:3 days X-MFC with: r363905 Modified: head/share/man/man4/Makefile Modified: head/share/man/man4/M

svn commit: r364153 - in head: lib/libpmc sys/arm64/include sys/dev/hwpmc sys/sys

2020-08-12 Thread Andrew Turner
Author: andrew Date: Wed Aug 12 10:17:17 2020 New Revision: 364153 URL: https://svnweb.freebsd.org/changeset/base/364153 Log: Add support for Cortex-A76/Neoverse-N1 to hwpmc This adds support for the Cortex-A76 and Neoverse-N1 PMU counters to pmc. While here add more PMCR_IDCODE values

svn commit: r364152 - stable/11/usr.sbin/bsnmpd/tools/libbsnmptools

2020-08-12 Thread Eugene Grosbein
Author: eugen Date: Wed Aug 12 10:13:37 2020 New Revision: 364152 URL: https://svnweb.freebsd.org/changeset/base/364152 Log: MFC r363889: bsnmptools: make it print protocol errors to stderr instead of stdout Reviewed by: syrinx, bz Differential Revision:https://reviews.f

svn commit: r364151 - stable/12/usr.sbin/bsnmpd/tools/libbsnmptools

2020-08-12 Thread Eugene Grosbein
Author: eugen Date: Wed Aug 12 10:11:34 2020 New Revision: 364151 URL: https://svnweb.freebsd.org/changeset/base/364151 Log: MFC r363889: bsnmptools: make it print protocol errors to stderr instead of stdout Reviewed by: syrinx, bz Differential Revision:https://reviews.f

svn commit: r364150 - stable/12/lib/libc/gen

2020-08-12 Thread Pawel Biernacki
Author: kaktus Date: Wed Aug 12 10:03:10 2020 New Revision: 364150 URL: https://svnweb.freebsd.org/changeset/base/364150 Log: MFC userland part of r351729 Add sysctlbyname system call Modified: stable/12/lib/libc/gen/Symbol.map stable/12/lib/libc/gen/sysctlbyname.c Modified: stable/12

svn commit: r364149 - head/sys/arm/allwinner

2020-08-12 Thread Andriy Gapon
Author: avg Date: Wed Aug 12 09:57:28 2020 New Revision: 364149 URL: https://svnweb.freebsd.org/changeset/base/364149 Log: aw_cir: in the pulse encoding the actual length is one greater than value While here change type of some variables from long to int, it's sufficient. Also, add length

svn commit: r364148 - head/sys/arm/allwinner

2020-08-12 Thread Andriy Gapon
Author: avg Date: Wed Aug 12 09:56:21 2020 New Revision: 364148 URL: https://svnweb.freebsd.org/changeset/base/364148 Log: aw_cir: lower activation threshold to support NECx protocol In NECx the leading mark has length of 8T as opposed to 16T in NEC, where T is 562.5 us. So, 4.5 ms. O

svn commit: r364147 - head/sys/arm/allwinner

2020-08-12 Thread Andriy Gapon
Author: avg Date: Wed Aug 12 09:52:39 2020 New Revision: 364147 URL: https://svnweb.freebsd.org/changeset/base/364147 Log: aw_cir: minor cleanups MFC after:1 week Modified: head/sys/arm/allwinner/aw_cir.c Modified: head/sys/arm/allwinner/aw_cir.c

svn commit: r364146 - head/sys/arm/allwinner

2020-08-12 Thread Andriy Gapon
Author: avg Date: Wed Aug 12 09:52:12 2020 New Revision: 364146 URL: https://svnweb.freebsd.org/changeset/base/364146 Log: aw_cir: add support for allwinner,sun6i-a31-ir (found, e.g., on h3) MFC after:1 week Modified: head/sys/arm/allwinner/aw_cir.c Modified: head/sys/arm/allwinner/

svn commit: r364145 - head/sys/dev/gpio

2020-08-12 Thread Andriy Gapon
Author: avg Date: Wed Aug 12 09:49:25 2020 New Revision: 364145 URL: https://svnweb.freebsd.org/changeset/base/364145 Log: gpiokeys: add evdev support Only linux,code is supported as it maps 1:1 to evdev key codes. No reverse mapping for freebsd,code yet. Reviewed by: wulf MFC aft

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

2020-08-12 Thread Andriy Gapon
Author: avg Date: Wed Aug 12 09:42:05 2020 New Revision: 364144 URL: https://svnweb.freebsd.org/changeset/base/364144 Log: add a manual page for cp2112 MFC after:1 week Added: head/share/man/man4/cp2112.4 (contents, props changed) Added: head/share/man/man4/cp2112.4 ==

svn commit: r364143 - head/sys/dev/usb/misc

2020-08-12 Thread Andriy Gapon
Author: avg Date: Wed Aug 12 09:07:07 2020 New Revision: 364143 URL: https://svnweb.freebsd.org/changeset/base/364143 Log: cp2112: a number of cleanups and improvements - hoist all request / response structures from function level to top level - replace magic numeric literals with constan

svn commit: r364142 - stable/12/share/man/man7

2020-08-12 Thread Gordon Bergling
Author: gbe (doc committer) Date: Wed Aug 12 07:00:06 2020 New Revision: 364142 URL: https://svnweb.freebsd.org/changeset/base/364142 Log: MFC r363907: environ(7): Update the description and include some more environment variables - Add a better introduction to the DESCRIPTION section -