svn commit: r364186 - head/sbin/ifconfig

2020-08-13 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: r364193 - head/sys/riscv/riscv

2020-08-13 Thread Mitchell Horne
Author: mhorne Date: Thu Aug 13 14:21:05 2020 New Revision: 364193 URL: https://svnweb.freebsd.org/changeset/base/364193 Log: Enable interrupts while handling traps I observed hangs post-r362977 in QEMU with -smp 2, in which one thread would acquire write access to an rm_lock

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

2020-08-13 Thread Jessica Clarke
On 13 Aug 2020, at 16:33, Ian Lepore wrote: > On Wed, 2020-08-12 at 09:24 -0700, Rodney W. Grimes wrote: >>> On 12 Aug 2020, at 17:10, Rodney W. Grimes < >>> free...@gndrsh.dnsmgr.net> wrote: > Author: arichardson > Date: Wed Aug 12 15:49:06 2020 > New Revision: 364166 >

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

2020-08-13 Thread Mitchell Horne
Author: mhorne Date: Thu Aug 13 14:17:36 2020 New Revision: 364192 URL: https://svnweb.freebsd.org/changeset/base/364192 Log: Small fixes in locore.S - Properly set up the frame pointer - Hang if we return from mi_startup - Whitespace Clearing the frame pointer marks the end of

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

2020-08-13 Thread Ian Lepore
On Wed, 2020-08-12 at 09:24 -0700, Rodney W. Grimes wrote: > > On 12 Aug 2020, at 17:10, Rodney W. Grimes < > > free...@gndrsh.dnsmgr.net> wrote: > > > > > > > Author: arichardson > > > > Date: Wed Aug 12 15:49:06 2020 > > > > New Revision: 364166 > > > > URL:

svn commit: r364191 - head/share/mk

2020-08-13 Thread Alex Richardson
Author: arichardson Date: Thu Aug 13 14:14:51 2020 New Revision: 364191 URL: https://svnweb.freebsd.org/changeset/base/364191 Log: Make bsd.linker.mk work with the MacOS linker This is not strictly required for crossbuilding but having lots of warnings from bsd.linker.mk in the output

svn commit: r364190 - head/tools/build

2020-08-13 Thread Alex Richardson
Author: arichardson Date: Thu Aug 13 14:14:46 2020 New Revision: 364190 URL: https://svnweb.freebsd.org/changeset/base/364190 Log: Add pwd to the list of tools that are linked to $WORLDTMP/legacy After r364166 and r364174, crunchgen needs a pwd binary in $PATH instead of using a

svn commit: r364187 - head/sys/kern

2020-08-13 Thread Mateusz Guzik
Author: mjg Date: Thu Aug 13 10:24:45 2020 New Revision: 364187 URL: https://svnweb.freebsd.org/changeset/base/364187 Log: vfs: add missing pwd_drop on error in namei_setup Reported by: pho Modified: head/sys/kern/vfs_lookup.c Modified: head/sys/kern/vfs_lookup.c

svn commit: r364202 - in head/sys/net: . route

2020-08-13 Thread Alexander V. Chernikov
Author: melifaro Date: Thu Aug 13 18:35:29 2020 New Revision: 364202 URL: https://svnweb.freebsd.org/changeset/base/364202 Log: Move rtzone handling code to net/route_ctl.c After moving the route control plane code from net/route.c, all rtzone users ended up being in net/route_ctl.c.

Re: svn commit: r364190 - head/tools/build

2020-08-13 Thread Rodney W. Grimes
> Author: arichardson > Date: Thu Aug 13 14:14:46 2020 > New Revision: 364190 > URL: https://svnweb.freebsd.org/changeset/base/364190 > > Log: > Add pwd to the list of tools that are linked to $WORLDTMP/legacy Since "sh" is already in this list, and our "sh" has a builtin pwd that does the

svn commit: r364195 - head/sys/netinet

2020-08-13 Thread Richard Scheffenegger
Author: rscheff Date: Thu Aug 13 16:30:09 2020 New Revision: 364195 URL: https://svnweb.freebsd.org/changeset/base/364195 Log: Improve SACK support code for RFC6675 and PRR Adding proper accounting of sacked_bytes and (per-ACK) delivered data to the SACK scoreboard. This will allow

svn commit: r364196 - head/sys/netinet/cc

2020-08-13 Thread Richard Scheffenegger
Author: rscheff Date: Thu Aug 13 16:38:51 2020 New Revision: 364196 URL: https://svnweb.freebsd.org/changeset/base/364196 Log: TCP Cubic: After leaving slowstart fix unintended cwnd jump. Initializing K to zero in D23655 introduced a miscalculation, where cwnd would suddenly jump to

svn commit: r364197 - head/sys/netinet/cc

2020-08-13 Thread Richard Scheffenegger
Author: rscheff Date: Thu Aug 13 16:45:55 2020 New Revision: 364197 URL: https://svnweb.freebsd.org/changeset/base/364197 Log: TCP Cubic: Have Fast Convergence Heuristic work for ECN, and align concave region The Cubic concave region was not aligned nicely for the very first exit from

Re: svn commit: r364190 - head/tools/build

2020-08-13 Thread Jessica Clarke
On 13 Aug 2020, at 17:22, Rodney W. Grimes wrote: > >> Author: arichardson >> Date: Thu Aug 13 14:14:46 2020 >> New Revision: 364190 >> URL: https://svnweb.freebsd.org/changeset/base/364190 >> >> Log: >> Add pwd to the list of tools that are linked to $WORLDTMP/legacy > > Since "sh" is

Re: svn commit: r364190 - head/tools/build

2020-08-13 Thread Alexander Richardson
On Thu, 13 Aug 2020 at 17:28, Jessica Clarke wrote: > > On 13 Aug 2020, at 17:22, Rodney W. Grimes wrote: > > > >> Author: arichardson > >> Date: Thu Aug 13 14:14:46 2020 > >> New Revision: 364190 > >> URL: https://svnweb.freebsd.org/changeset/base/364190 > >> > >> Log: > >> Add pwd to the list

svn commit: r364218 - head/secure/lib/libssl

2020-08-13 Thread John Baldwin
Author: jhb Date: Thu Aug 13 20:28:35 2020 New Revision: 364218 URL: https://svnweb.freebsd.org/changeset/base/364218 Log: Fix a typo in the cpp macro defined for PIC. In practice this isn't used in OpenSSL outside of some sparc-specific code. Reviewed by: delphij Differential

Re: svn commit: r364219 - in head: share/man/man9 sys/conf sys/contrib/pcg-c/include sys/kern sys/libkern sys/sys

2020-08-13 Thread Mateusz Guzik
I have trouble deciphering. Is this callable from interrupt context? If not, the code should assert it's not executing in one. If yes, it should probably just sched_pin. On 8/13/20, Conrad Meyer wrote: > Author: cem > Date: Thu Aug 13 20:48:14 2020 > New Revision: 364219 > URL:

svn commit: r364219 - in head: share/man/man9 sys/conf sys/contrib/pcg-c/include sys/kern sys/libkern sys/sys

2020-08-13 Thread Conrad Meyer
Author: cem Date: Thu Aug 13 20:48:14 2020 New Revision: 364219 URL: https://svnweb.freebsd.org/changeset/base/364219 Log: Add prng(9) API Add prng(9) as a replacement for random(9) in the kernel. There are two major differences from random(9) and random(3): - General prng(9)

Re: svn commit: r364219 - in head: share/man/man9 sys/conf sys/contrib/pcg-c/include sys/kern sys/libkern sys/sys

2020-08-13 Thread Conrad Meyer
On Thu, Aug 13, 2020 at 2:06 PM Mateusz Guzik wrote: > > I have trouble deciphering. Is this callable from interrupt context? > If not, the code should assert it's not executing in one. If yes, it > should probably just sched_pin. It is not callable from interrupt context. If you know a way to

svn commit: r364221 - in head/lib/libbsnmp: . tests

2020-08-13 Thread Bryan Drewery
Author: bdrewery Date: Thu Aug 13 22:42:24 2020 New Revision: 364221 URL: https://svnweb.freebsd.org/changeset/base/364221 Log: Add test to for FreeBSD-SA-19:20.bsnmp Submitted by: Darrick Lew Reviewed by: cem Sponsored by: Dell EMC Differential Revision:

svn commit: r364222 - in head: lib/liblua libexec/flua

2020-08-13 Thread Ed Maste
Author: emaste Date: Thu Aug 13 23:13:05 2020 New Revision: 364222 URL: https://svnweb.freebsd.org/changeset/base/364222 Log: flua: support "require" for binary objects in the base system Export symbols from flua, and enable dlopen. Sponsored by: The FreeBSD Foundation Differential

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

2020-08-13 Thread Bryan Drewery
Author: bdrewery Date: Fri Aug 14 00:18:18 2020 New Revision: 364223 URL: https://svnweb.freebsd.org/changeset/base/364223 Log: syslog(3): Send proper NILVALUE if gethostname(3) fails. RFC5424 defines NILVALUE as '-'. Replace its usage with a macro and separate out the fields to be more

svn commit: r364220 - head/sys/net

2020-08-13 Thread Bryan Drewery
Author: bdrewery Date: Thu Aug 13 22:06:27 2020 New Revision: 364220 URL: https://svnweb.freebsd.org/changeset/base/364220 Log: lagg: Avoid adding a port to a lagg device being destroyed. The lagg_clone_destroy() handles detach and waiting for ifconfig callers to drain already. This

Re: svn commit: r364221 - in head/lib/libbsnmp: . tests

2020-08-13 Thread Rodney W. Grimes
> Author: bdrewery > Date: Thu Aug 13 22:42:24 2020 > New Revision: 364221 > URL: https://svnweb.freebsd.org/changeset/base/364221 > > Log: > Add test to for FreeBSD-SA-19:20.bsnmp > > Submitted by: Darrick Lew > Reviewed by:cem > Sponsored by: Dell EMC >

Re: svn commit: r364222 - in head: lib/liblua libexec/flua

2020-08-13 Thread Oleksandr Tymoshenko
Ed Maste (ema...@freebsd.org) wrote: > Author: emaste > Date: Thu Aug 13 23:13:05 2020 > New Revision: 364222 > URL: https://svnweb.freebsd.org/changeset/base/364222 > > Log: > flua: support "require" for binary objects in the base system > > Export symbols from flua, and enable dlopen. >

svn commit: r364226 - in head: lib/liblua libexec/flua

2020-08-13 Thread Kyle Evans
Author: kevans Date: Fri Aug 14 02:22:19 2020 New Revision: 364226 URL: https://svnweb.freebsd.org/changeset/base/364226 Log: flua: don't allow dlopen, et al., for bootstrap flua There are some logistics issues that need to be sorted out here before we can actually allow this to work.

svn commit: r364227 - in head: lib/liblua libexec/flua

2020-08-13 Thread Kyle Evans
Author: kevans Date: Fri Aug 14 02:40:17 2020 New Revision: 364227 URL: https://svnweb.freebsd.org/changeset/base/364227 Log: Properly disable LUA_USE_DLOPEN for bootstrap flua flua does have some specific bits that will include luaconf.h, but the definition of LUA_USE_DLOPEN for those

Re: svn commit: r364222 - in head: lib/liblua libexec/flua

2020-08-13 Thread Ed Maste
On Thu, 13 Aug 2020 at 20:39, Oleksandr Tymoshenko wrote: > > Hi Ed, > > This change breaks the build. flua segfaults when it is called during > libifconfig build. Sorry about that - thanks for the report, and thanks to kevans for the fix. ___