Re: svn commit: r363263 - in head/lib/csu: . common

2021-02-26 Thread Kyle Evans
e into a separate file that is linked into > *crt1.o the same as crtbrand.S was before. crtbrand.o is now linked > into crti.o on all platforms in addition to *crt1.o. > This is pretty handy; any chance we can backport this series for 12.3? Thanks, Kyle Evans

Re: svn commit: r365619 - in stable/12/sys: conf sys

2021-01-14 Thread Kyle Evans
a -PRERELEASE build is still along -STABLE. Thanks, Kyle Evans > Modified: > stable/12/sys/conf/newvers.sh > stable/12/sys/sys/param.h > > Modified: stable/12/sys/conf/newvers.sh > == > --- stab

Re: svn commit: r368181 - in stable/12/sys/netinet: . tcp_stacks

2021-01-13 Thread Kyle Evans
On Wed, Jan 13, 2021 at 4:57 PM Michael Tuexen wrote: > > > On 13. Jan 2021, at 16:33, Kyle Evans wrote: > > > > On Wed, Jan 13, 2021 at 9:31 AM Michael Tuexen wrote: > >> > >>> On 13. Jan 2021, at 16:16, Kyle Evans wrote: > >>>

Re: svn commit: r368181 - in stable/12/sys/netinet: . tcp_stacks

2021-01-13 Thread Kyle Evans
On Wed, Jan 13, 2021 at 9:31 AM Michael Tuexen wrote: > > > On 13. Jan 2021, at 16:16, Kyle Evans wrote: > > > > On Wed, Jan 6, 2021 at 9:01 AM Kyle Evans wrote: > >> > >> On Mon, Nov 30, 2020 at 3:45 AM Michael Tuexen wrote: > >>> > &

Re: svn commit: r368181 - in stable/12/sys/netinet: . tcp_stacks

2021-01-13 Thread Kyle Evans
On Wed, Jan 6, 2021 at 9:01 AM Kyle Evans wrote: > > On Mon, Nov 30, 2020 at 3:45 AM Michael Tuexen wrote: > > > > Author: tuexen > > Date: Mon Nov 30 09:45:44 2020 > > New Revision: 368181 > > URL: https://svnweb.freebsd.org/changeset/base/368181 > >

Re: svn commit: r368181 - in stable/12/sys/netinet: . tcp_stacks

2021-01-06 Thread Kyle Evans
repeatedly on recent -CURRENT while 12.2 observes an EPIPE almost immediately: https://people.freebsd.org/~kevans/tcpr.c root@viper:~/grep# sockstat -s | grep 8993 root a.out 80831 4 tcp4 127.0.0.1:8993*:* LISTEN root a.out 80831 5 tcp4 127.0.0.1:8993

Re: svn commit: r368820 - head

2020-12-21 Thread Kyle Evans
On Mon, Dec 21, 2020 at 8:24 AM Rodney W. Grimes wrote: > > > On Sun, 20 Dec 2020 15:46:12 +0100 > > "Hartmann, O." wrote: > > > > > On Sun, 20 Dec 2020 02:59:44 + (UTC) > > > Li-Wen Hsu wrote: > > > > > > > Author: lwhsu > > > > Date: Sun Dec 20 02:59:44 2020 > > > > New Revision: 368820 >

svn commit: r368779 - head/sys/kern

2020-12-18 Thread Kyle Evans
Author: kevans Date: Sat Dec 19 03:30:06 2020 New Revision: 368779 URL: https://svnweb.freebsd.org/changeset/base/368779 Log: kern: cpuset: allow jails to modify child jails' roots This partially lifts a restriction imposed by r191639 ("Prevent a superuser inside a jail from modifying the

Re: svn commit: r368721 - head/stand/efi/loader

2020-12-17 Thread Kyle Evans
On Thu, Dec 17, 2020 at 1:47 PM Andrew Gallatin wrote: > > On 12/17/20 12:02 PM, Warner Losh wrote: > > Author: imp > > Date: Thu Dec 17 17:02:09 2020 > > New Revision: 368721 > > URL: > > https://urldefense.com/v3/__https://svnweb.freebsd.org/changeset/base/368721__;!!OToaGQ!5c1mLnhtRtEV6Cv_MTWp

svn commit: r368729 - in head: stand/lua tools/boot

2020-12-17 Thread Kyle Evans
Author: kevans Date: Thu Dec 17 18:29:30 2020 New Revision: 368729 URL: https://svnweb.freebsd.org/changeset/base/368729 Log: lualoader: fix lua-lint run luacheck rightfully complains that i is unused in the show-module-options loop at the end (it was used for some debugging in the proces

svn commit: r368728 - head/stand/lua

2020-12-17 Thread Kyle Evans
Author: kevans Date: Thu Dec 17 18:24:36 2020 New Revision: 368728 URL: https://svnweb.freebsd.org/changeset/base/368728 Log: lualoader: cli: provide a show-module-options loader command This effectively dumps everything lualoader knows about to the console using the libsa pager; that par

Re: svn commit: r368713 - head/usr.sbin/freebsd-update

2020-12-16 Thread Kyle Evans
On Wed, Dec 16, 2020 at 9:43 PM Kyle Evans wrote: > > Author: kevans > Date: Thu Dec 17 03:42:54 2020 > New Revision: 368713 > URL: https://svnweb.freebsd.org/changeset/base/368713 > > Log: > freebsd-update: unconditionally regenerate passwd/login.conf files > >

svn commit: r368713 - head/usr.sbin/freebsd-update

2020-12-16 Thread Kyle Evans
Author: kevans Date: Thu Dec 17 03:42:54 2020 New Revision: 368713 URL: https://svnweb.freebsd.org/changeset/base/368713 Log: freebsd-update: unconditionally regenerate passwd/login.conf files The existing logic is nice in theory, but in practice freebsd-update will not preserve the times

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

2020-12-15 Thread Kyle Evans
Author: kevans Date: Tue Dec 15 21:54:31 2020 New Revision: 368683 URL: https://svnweb.freebsd.org/changeset/base/368683 Log: MFC r368326: kern: soclose: don't sleep on SO_LINGER w/ timeout=0 This is a valid scenario that's handled in the various protocol layers where it makes sense (e.g.

svn commit: r368682 - stable/12/sbin/bectl

2020-12-15 Thread Kyle Evans
Author: kevans Date: Tue Dec 15 21:53:54 2020 New Revision: 368682 URL: https://svnweb.freebsd.org/changeset/base/368682 Log: MFC r368388: bectl: simplify the tail end of the jail cmd This has already confused me once (and I'm pretty sure I wrote it), so let's clarify: unjailing after the

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

2020-12-15 Thread Kyle Evans
Author: kevans Date: Tue Dec 15 21:53:15 2020 New Revision: 368681 URL: https://svnweb.freebsd.org/changeset/base/368681 Log: MFC r368462: cpuset_set{affinity,domain}: do not allow empty masks cpuset_modify() would not currently catch this, because it only checks that the new mask is a su

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

2020-12-15 Thread Kyle Evans
Author: kevans Date: Tue Dec 15 21:52:31 2020 New Revision: 368680 URL: https://svnweb.freebsd.org/changeset/base/368680 Log: MFC r368461: kern: cpuset: resolve race between cpuset_lookup/cpuset_rel The race plays out like so between threads A and B: 1. A ref's cpuset 10 2. B does a

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

2020-12-15 Thread Kyle Evans
Author: kevans Date: Tue Dec 15 21:51:45 2020 New Revision: 368679 URL: https://svnweb.freebsd.org/changeset/base/368679 Log: MFC r368460: kern: cpuset: plug a unr leak cpuset_rel_defer() is supposed to be functionally equivalent to cpuset_rel() but with anything that might sleep deferred

svn commit: r368678 - in stable: 11/secure/caroot/blacklisted 11/secure/caroot/trusted 12/secure/caroot/blacklisted 12/secure/caroot/trusted

2020-12-15 Thread Kyle Evans
Author: kevans Date: Tue Dec 15 21:50:05 2020 New Revision: 368678 URL: https://svnweb.freebsd.org/changeset/base/368678 Log: MFC r368555: caroot: update bundle Summary: - One (1) added - Ten (10) removed Added: stable/12/secure/caroot/blacklisted/GeoTrust_Global_CA.pem - copied

svn commit: r368678 - in stable: 11/secure/caroot/blacklisted 11/secure/caroot/trusted 12/secure/caroot/blacklisted 12/secure/caroot/trusted

2020-12-15 Thread Kyle Evans
Author: kevans Date: Tue Dec 15 21:50:05 2020 New Revision: 368678 URL: https://svnweb.freebsd.org/changeset/base/368678 Log: MFC r368555: caroot: update bundle Summary: - One (1) added - Ten (10) removed Added: stable/11/secure/caroot/blacklisted/GeoTrust_Global_CA.pem - copied

svn commit: r368591 - in head/stand: common liblua

2020-12-12 Thread Kyle Evans
s SRCS+= lfs.c Added: head/stand/liblua/lpager.c == --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/stand/liblua/lpager.c Sat Dec 12 21:25:38 2020(r368591) @@ -0,0 +1,89 @@ +/*- + * Copyright (c) 2020 Kyle E

svn commit: r368579 - head/stand/lua

2020-12-12 Thread Kyle Evans
Author: kevans Date: Sat Dec 12 14:53:34 2020 New Revision: 368579 URL: https://svnweb.freebsd.org/changeset/base/368579 Log: lualoader: config: fix module enabled check A last minute rewrite left this logically wrong; if it's present in modules_blacklist, then we do not load it. Modifie

Re: svn commit: r368575 - head/stand/lua

2020-12-12 Thread Kyle Evans
On Sat, Dec 12, 2020 at 8:17 AM Toomas Soome wrote: > > On 12. Dec 2020, at 16:10, Kyle Evans wrote: > > > > On Sat, Dec 12, 2020 at 1:35 AM Toomas Soome wrote: > >> > >> How about ’show-module-options’? > >> > >> rgds, > >> tooma

Re: svn commit: r368575 - head/stand/lua

2020-12-12 Thread Kyle Evans
On Sat, Dec 12, 2020 at 1:35 AM Toomas Soome wrote: > > How about ’show-module-options’? > > rgds, > toomas > I missed that one. My 4th is a bit rusty, but it looks like this should just be enumerating over config's local modules table and dumping everything in sigh

svn commit: r368575 - head/stand/lua

2020-12-11 Thread Kyle Evans
Author: kevans Date: Sat Dec 12 05:57:42 2020 New Revision: 368575 URL: https://svnweb.freebsd.org/changeset/base/368575 Log: lualoader: provide module-manipulation commands Specifically, we have: - enable-module - disable-module - toggle-module These can be used to add/remove mo

svn commit: r368555 - in head/secure/caroot: blacklisted trusted

2020-12-11 Thread Kyle Evans
Author: kevans Date: Fri Dec 11 18:14:43 2020 New Revision: 368555 URL: https://svnweb.freebsd.org/changeset/base/368555 Log: caroot: update bundle Summary: - One (1) added - Ten (10) removed MFC after:3 days Added: head/secure/caroot/blacklisted/GeoTrust_Global_CA.pem

svn commit: r368549 - head/share/man/man5

2020-12-10 Thread Kyle Evans
Author: kevans Date: Fri Dec 11 04:02:19 2020 New Revision: 368549 URL: https://svnweb.freebsd.org/changeset/base/368549 Log: src.conf(5): regenerate after WITHOUT_GNU_GREP became default Modified: head/share/man/man5/src.conf.5 Modified: head/share/man/man5/src.conf.5 ==

svn commit: r368548 - head/share/mk

2020-12-10 Thread Kyle Evans
Author: kevans Date: Fri Dec 11 03:59:41 2020 New Revision: 368548 URL: https://svnweb.freebsd.org/changeset/base/368548 Log: Flip the GNU_GREP default to OFF bsdgrep was made the default in r368439. Stop building gnugrep entirely as the natural next step towards removal. Modified: hea

svn commit: r368487 - head/sys/netgraph

2020-12-09 Thread Kyle Evans
Author: kevans Date: Wed Dec 9 15:28:56 2020 New Revision: 368487 URL: https://svnweb.freebsd.org/changeset/base/368487 Log: netgraph: macfilter: small fixes Two issues: - The DEBUG macro defined is in direct conflict with the DEBUG kernel option, which broke the -LINT build[0] - B

svn commit: r368483 - head/usr.bin/grep

2020-12-08 Thread Kyle Evans
482) +++ head/usr.bin/grep/queue.c Wed Dec 9 05:27:45 2020(r368483) @@ -6,6 +6,7 @@ * * Copyright (c) 1999 James Howard and Dag-Erling Coïdan Smørgrav * All rights reserved. + * Copyright (c) 2020 Kyle Evans * * Redistribution and use in source and binary forms, with or wit

svn commit: r368482 - head/usr.bin/grep/tests

2020-12-08 Thread Kyle Evans
Author: kevans Date: Wed Dec 9 05:12:04 2020 New Revision: 368482 URL: https://svnweb.freebsd.org/changeset/base/368482 Log: grep: tests: stop expecting a failure of gnuext w/ bsdgrep libregex now supports these and we no longer offer to not link against libregex. Modified: head/usr.b

svn commit: r368481 - in head/usr.bin: kdump truss

2020-12-08 Thread Kyle Evans
Author: kevans Date: Wed Dec 9 03:24:09 2020 New Revision: 368481 URL: https://svnweb.freebsd.org/changeset/base/368481 Log: kdump/truss: decode new _umtx_op flags In both cases, print the flag bits first followed by the command. Output now looks something like this: (ktrace) _

svn commit: r368480 - head/lib/libsysdecode

2020-12-08 Thread Kyle Evans
Author: kevans Date: Wed Dec 9 03:22:44 2020 New Revision: 368480 URL: https://svnweb.freebsd.org/changeset/base/368480 Log: libsysdecode: decode _UMTX_OP flags Assume that UMTX_OP with a double underbar following is a flag, while any underbar+alphanumeric combination immeiately followin

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

2020-12-08 Thread Kyle Evans
Author: kevans Date: Wed Dec 9 03:20:51 2020 New Revision: 368479 URL: https://svnweb.freebsd.org/changeset/base/368479 Log: _umtx_op(2): document recent addition of 32bit compat flags This was part of D27325. Reviewed by: kib Modified: head/lib/libc/sys/_umtx_op.2 Modified: head

Re: svn commit: r368439 - head/share/mk

2020-12-08 Thread Kyle Evans
On Tue, Dec 8, 2020 at 8:05 AM Kyle Evans wrote: > > Author: kevans > Date: Tue Dec 8 14:05:25 2020 > New Revision: 368439 > URL: https://svnweb.freebsd.org/changeset/base/368439 > > Log: > src.opts.mk: switch to bsdgrep as /usr/bin/grep > > [.. snip ...] > &g

svn commit: r368462 - head/sys/kern

2020-12-08 Thread Kyle Evans
Author: kevans Date: Tue Dec 8 18:47:22 2020 New Revision: 368462 URL: https://svnweb.freebsd.org/changeset/base/368462 Log: cpuset_set{affinity,domain}: do not allow empty masks cpuset_modify() would not currently catch this, because it only checks that the new mask is a subset of the r

svn commit: r368461 - head/sys/kern

2020-12-08 Thread Kyle Evans
Author: kevans Date: Tue Dec 8 18:45:47 2020 New Revision: 368461 URL: https://svnweb.freebsd.org/changeset/base/368461 Log: kern: cpuset: resolve race between cpuset_lookup/cpuset_rel The race plays out like so between threads A and B: 1. A ref's cpuset 10 2. B does a lookup of cpu

svn commit: r368460 - head/sys/kern

2020-12-08 Thread Kyle Evans
Author: kevans Date: Tue Dec 8 18:44:06 2020 New Revision: 368460 URL: https://svnweb.freebsd.org/changeset/base/368460 Log: kern: cpuset: plug a unr leak cpuset_rel_defer() is supposed to be functionally equivalent to cpuset_rel() but with anything that might sleep deferred until cpus

svn commit: r368440 - head/share/man/man5

2020-12-08 Thread Kyle Evans
Author: kevans Date: Tue Dec 8 14:05:54 2020 New Revision: 368440 URL: https://svnweb.freebsd.org/changeset/base/368440 Log: src.conf(5): regen after r368439 (WITH_BSD_GREP default) Modified: head/share/man/man5/src.conf.5 Modified: head/share/man/man5/src.conf.5 ===

svn commit: r368439 - head/share/mk

2020-12-08 Thread Kyle Evans
Author: kevans Date: Tue Dec 8 14:05:25 2020 New Revision: 368439 URL: https://svnweb.freebsd.org/changeset/base/368439 Log: src.opts.mk: switch to bsdgrep as /usr/bin/grep This has been years in the making, and we all knew it was bound to happen some day. Switch to the BSDL grep impleme

Re: svn commit: r368005 - in head: lib/libprocstat share/man/man4 sys/opencrypto sys/sys tools/tools/crypto usr.bin/procstat

2020-12-07 Thread Kyle Evans
On Mon, Dec 7, 2020 at 2:41 PM John Baldwin wrote: > > On 12/7/20 12:37 PM, Kyle Evans wrote: > > On Mon, Dec 7, 2020 at 2:36 PM John Baldwin wrote: > >> > >> qemu-user uses this flag? What on earth can it be using it for? > >> > > > > It was

Re: svn commit: r368005 - in head: lib/libprocstat share/man/man4 sys/opencrypto sys/sys tools/tools/crypto usr.bin/procstat

2020-12-07 Thread Kyle Evans
On Mon, Dec 7, 2020 at 2:36 PM John Baldwin wrote: > > On 12/7/20 11:11 AM, Kyle Evans wrote: > > On Mon, Dec 7, 2020 at 12:58 PM John Baldwin wrote: > >> > >> On 12/6/20 8:51 PM, Steve Wills wrote: > >>> Hi, > >>> > >>> On 11

Re: svn commit: r368005 - in head: lib/libprocstat share/man/man4 sys/opencrypto sys/sys tools/tools/crypto usr.bin/procstat

2020-12-07 Thread Kyle Evans
prior. =-( I'm kind of leaning towards trying to shoehorn a qemu-user-static build into ci.f.o somewhere, though, since it's used as a part of producing some of the weekly snapshot images and digs pretty deeply in other areas. I've got a Cirrus config for qemu-user-static and

svn commit: r368392 - head/usr.bin/grep

2020-12-06 Thread Kyle Evans
Author: kevans Date: Sun Dec 6 17:45:42 2020 New Revision: 368392 URL: https://svnweb.freebsd.org/changeset/base/368392 Log: bsdgrep: don't link against libregex for bootstrap r368355 removed the GNU_GREP_COMPAT knob (off by default) and forgot that bsdgrep may be built/used for bootstra

svn commit: r368388 - head/sbin/bectl

2020-12-06 Thread Kyle Evans
Author: kevans Date: Sun Dec 6 15:58:50 2020 New Revision: 368388 URL: https://svnweb.freebsd.org/changeset/base/368388 Log: bectl: simplify the tail end of the jail cmd This has already confused me once (and I'm pretty sure I wrote it), so let's clarify: unjailing after the command has

svn commit: r368371 - in head/contrib/netbsd-tests/lib/libc/regex: . data

2020-12-05 Thread Kyle Evans
Author: kevans Date: Sat Dec 5 14:38:46 2020 New Revision: 368371 URL: https://svnweb.freebsd.org/changeset/base/368371 Log: libc: regex: partial revert of r368358 Part of the libregex functionality leaked into the tests it shares with the standard regex(3). Introduce a P flag to set the

svn commit: r368359 - head/lib/libc/regex

2020-12-04 Thread Kyle Evans
Author: kevans Date: Sat Dec 5 03:18:48 2020 New Revision: 368359 URL: https://svnweb.freebsd.org/changeset/base/368359 Log: libc: regex: retire internal EMPTBR ("Empty branch present") It was realized just a little too late that this was a hack that belonged in individual regex(3)-using

svn commit: r368358 - in head: contrib/netbsd-tests/lib/libc/regex/data lib/libc/regex lib/libregex/tests

2020-12-04 Thread Kyle Evans
Author: kevans Date: Sat Dec 5 03:16:05 2020 New Revision: 368358 URL: https://svnweb.freebsd.org/changeset/base/368358 Log: libregex: implement \b and \B (word boundary, not word boundary) This is the last of the needed GNU expressions before we can unleash bsdgrep by default. \b is eff

svn commit: r368357 - in head/lib: libc/regex libregex/tests

2020-12-04 Thread Kyle Evans
Author: kevans Date: Sat Dec 5 03:13:47 2020 New Revision: 368357 URL: https://svnweb.freebsd.org/changeset/base/368357 Log: libregex: implement \` and \' (begin-of-subj, end-of-subj) These are GNU extensions, generally equivalent to ^ and $ except that the new syntax will not match begi

svn commit: r368356 - head/lib/libc/regex

2020-12-04 Thread Kyle Evans
Author: kevans Date: Sat Dec 5 02:23:11 2020 New Revision: 368356 URL: https://svnweb.freebsd.org/changeset/base/368356 Log: libc: regex: factor out ISBOW/ISEOW macros These will be reused for \b (word boundary, which matches both sides). No functional change. Modified: head/lib/li

svn commit: r368355 - in head: share/mk tools/build/options usr.bin/grep

2020-12-04 Thread Kyle Evans
Author: kevans Date: Sat Dec 5 02:21:58 2020 New Revision: 368355 URL: https://svnweb.freebsd.org/changeset/base/368355 Log: Retire GNU_GREP_COMPAT knob This was introduced and then disabled by default primarily to avoid dealing with bugs in libgnuregex. rS363823 switched to using libreg

svn commit: r368333 - head/gnu/lib

2020-12-04 Thread Kyle Evans
Author: kevans Date: Fri Dec 4 15:21:12 2020 New Revision: 368333 URL: https://svnweb.freebsd.org/changeset/base/368333 Log: gnu: don't build libgnuregex for WITH_GNU_GREP_COMPAT bsdgrep switched over to libregex back in r363823 to fill WITH_GNU_GREP_COMPAT, since libgnuregex in base is

Re: svn commit: r368326 - head/sys/kern

2020-12-03 Thread Kyle Evans
On Thu, Dec 3, 2020 at 10:40 PM Kyle Evans wrote: > > Author: kevans > Date: Fri Dec 4 04:39:48 2020 > New Revision: 368326 > URL: https://svnweb.freebsd.org/changeset/base/368326 > > Log: > kern: soclose: don't sleep on SO_LINGER w/ timeout=0 > > This is

svn commit: r368326 - head/sys/kern

2020-12-03 Thread Kyle Evans
Author: kevans Date: Fri Dec 4 04:39:48 2020 New Revision: 368326 URL: https://svnweb.freebsd.org/changeset/base/368326 Log: kern: soclose: don't sleep on SO_LINGER w/ timeout=0 This is a valid scenario that's handled in the various protocol layers where it makes sense (e.g., tcp_disconn

svn commit: r368325 - in stable/12: lib/libc/sys lib/libthr/tests sys/kern

2020-12-03 Thread Kyle Evans
tx_op_test.c) @@ -0,0 +1,108 @@ +/*- + * SPDX-License-Identifier: BSD-2-Clause + * + * Copyright (c) 2020 Kyle Evans + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistrib

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

2020-12-03 Thread Kyle Evans
Author: kevans Date: Fri Dec 4 02:28:45 2020 New Revision: 368324 URL: https://svnweb.freebsd.org/changeset/base/368324 Log: MFC r368009-r368010: kern: cpuset: minor improvements r368009: kern: cpuset: allow cpuset_create() to take an allocated *setp Currently, it must always alloca

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

2020-12-03 Thread Kyle Evans
Author: kevans Date: Fri Dec 4 02:20:41 2020 New Revision: 368323 URL: https://svnweb.freebsd.org/changeset/base/368323 Log: MFC r368006: kern: never restart syscalls calling closefp(), e.g. close(2) All paths leading into closefp() will either replace or remove the fd from the filedesc

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

2020-12-03 Thread Kyle Evans
Author: kevans Date: Fri Dec 4 02:19:45 2020 New Revision: 368322 URL: https://svnweb.freebsd.org/changeset/base/368322 Log: MFC r367944: cpuset_setproc: use the appropriate parent for new anon. sets As far as I can tell, this has been the case since initially committed in 2008. cpuset_

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

2020-12-03 Thread Kyle Evans
Author: kevans Date: Fri Dec 4 02:18:40 2020 New Revision: 368321 URL: https://svnweb.freebsd.org/changeset/base/368321 Log: MFC r368116: kern: cpuset: drop the lock to allocate domainsets Restructure the loop a little bit to make it a little more clear how it really operates: we never a

Re: svn commit: r368197 - head/sbin/bectl

2020-12-02 Thread Kyle Evans
On Wed, Dec 2, 2020 at 1:12 PM Gleb Smirnoff wrote: > > Kyle, > > On Wed, Dec 02, 2020 at 12:08:43PM -0600, Kyle Evans wrote: > K> > K> This should be gated on !cmd->silent, because some paths have > K> > K> consumers that are specifically designed to not

Re: svn commit: r368197 - head/sbin/bectl

2020-12-02 Thread Kyle Evans
On Wed, Dec 2, 2020 at 12:02 PM Gleb Smirnoff wrote: > > Kyle, > > On Mon, Nov 30, 2020 at 08:28:58PM -0600, Kyle Evans wrote: > K> > Log: > K> > Print at least something when failing. > K> > > K> > Modified: > K> > head/sbin/bectl/be

Re: svn commit: r368163 - in head: sbin/ifconfig sys/dev/if_wg sys/dev/if_wg/include sys/dev/if_wg/include/crypto sys/dev/if_wg/include/sys sys/dev/if_wg/include/zinc sys/dev/if_wg/module sys/dev/if_w

2020-12-01 Thread Kyle Evans
On Tue, Dec 1, 2020 at 7:39 AM O. Hartmann wrote: > > On Sun, 29 Nov 2020 19:38:04 + (UTC) > Matt Macy wrote: > > > Author: mmacy > > Date: Sun Nov 29 19:38:03 2020 > > New Revision: 368163 > > URL: https://svnweb.freebsd.org/changeset/base/368163 > > > > Log: > > Import kernel WireGuard su

Re: svn commit: r368197 - head/sbin/bectl

2020-11-30 Thread Kyle Evans
d.\n", > + root != NULL ? root : ""); > return (-1); > + } > > libbe_print_on_error(be, !cmd->silent); > This should be gated on !cmd->silent, because some paths have consumers that are specifically designed to no

svn commit: r368116 - head/sys/kern

2020-11-27 Thread Kyle Evans
Author: kevans Date: Sat Nov 28 01:21:11 2020 New Revision: 368116 URL: https://svnweb.freebsd.org/changeset/base/368116 Log: kern: cpuset: drop the lock to allocate domainsets Restructure the loop a little bit to make it a little more clear how it really operates: we never allocate any d

svn commit: r368011 - head/sys/kern

2020-11-24 Thread Kyle Evans
Author: kevans Date: Wed Nov 25 03:14:25 2020 New Revision: 368011 URL: https://svnweb.freebsd.org/changeset/base/368011 Log: kern: cpuset: properly rebase when attaching to a jail The current logic is a fine choice for a system administrator modifying process cpusets or a process creatin

svn commit: r368010 - head/sys/kern

2020-11-24 Thread Kyle Evans
Author: kevans Date: Wed Nov 25 02:12:24 2020 New Revision: 368010 URL: https://svnweb.freebsd.org/changeset/base/368010 Log: kern: cpuset: rename _cpuset_create() to cpuset_init() cpuset_init() is better descriptor for what the function actually does. The name was previously taken by a s

svn commit: r368009 - head/sys/kern

2020-11-24 Thread Kyle Evans
Author: kevans Date: Wed Nov 25 01:42:32 2020 New Revision: 368009 URL: https://svnweb.freebsd.org/changeset/base/368009 Log: kern: cpuset: allow cpuset_create() to take an allocated *setp Currently, it must always allocate a new set to be used for passing to _cpuset_create, but it doesn'

svn commit: r368006 - head/sys/kern

2020-11-24 Thread Kyle Evans
Author: kevans Date: Wed Nov 25 01:08:57 2020 New Revision: 368006 URL: https://svnweb.freebsd.org/changeset/base/368006 Log: kern: never restart syscalls calling closefp(), e.g. close(2) All paths leading into closefp() will either replace or remove the fd from the filedesc table, and cl

svn commit: r367944 - head/sys/kern

2020-11-22 Thread Kyle Evans
Author: kevans Date: Mon Nov 23 02:49:53 2020 New Revision: 367944 URL: https://svnweb.freebsd.org/changeset/base/367944 Log: cpuset_setproc: use the appropriate parent for new anonymous sets As far as I can tell, this has been the case since initially committed in 2008. cpuset_setproc i

svn commit: r367943 - in head/sys: compat/freebsd32 kern

2020-11-22 Thread Kyle Evans
Author: kevans Date: Mon Nov 23 00:58:14 2020 New Revision: 367943 URL: https://svnweb.freebsd.org/changeset/base/367943 Log: freebsd32: take the _umtx_op struct definitions back Providing these in freebsd32.h facilitates local testing/measuring of the structs rather than forcing one to l

svn commit: r367942 - head/sys/kern

2020-11-22 Thread Kyle Evans
Author: kevans Date: Mon Nov 23 00:33:06 2020 New Revision: 367942 URL: https://svnweb.freebsd.org/changeset/base/367942 Log: kern: dup: do not assume oldfde is valid oldfde may be invalidated if the table has grown due to the operation that we're performing, either via fdalloc() or a dir

Re: svn commit: r367928 - in head/sys: compat/freebsd32 kern sys

2020-11-22 Thread Kyle Evans
On Sun, Nov 22, 2020 at 1:55 AM Konstantin Belousov wrote: > > On Sun, Nov 22, 2020 at 05:34:51AM +, Kyle Evans wrote: > > Author: kevans > > Date: Sun Nov 22 05:34:51 2020 > > New Revision: 367928 > > URL: https://svnweb.freebsd.org/changeset/base/367928 >

Re: svn commit: r367927 - in head: sys/kern tests/sys/kern

2020-11-22 Thread Kyle Evans
On Sun, Nov 22, 2020 at 11:25 AM Kyle Evans wrote: > > On Sun, Nov 22, 2020 at 10:36 AM Kyle Evans wrote: > > > > On Sun, Nov 22, 2020 at 9:54 AM Guy Yur wrote: > > > > > > On 22/11/20 7:00 am, Robert Wing wrote: > > > > Author: rew > > &

Re: svn commit: r367927 - in head: sys/kern tests/sys/kern

2020-11-22 Thread Kyle Evans
On Sun, Nov 22, 2020 at 10:36 AM Kyle Evans wrote: > > On Sun, Nov 22, 2020 at 9:54 AM Guy Yur wrote: > > > > On 22/11/20 7:00 am, Robert Wing wrote: > > > Author: rew > > > Date: Sun Nov 22 05:00:28 2020 > > > New Revision: 367927 > > >

Re: svn commit: r367927 - in head: sys/kern tests/sys/kern

2020-11-22 Thread Kyle Evans
p2 (2, bad_fd); >dup2 (2, -1); >dup2 (2, 255); >dup2 (2, 256); >return 0; > } > Whoops. =\ It looks like kern_dup grows the file table but assumes that it can continue using oldfe that it fetched from the now-freed table. I suspect we just need to refetch oldfde

Re: svn commit: r367929 - head/sys/dev/isp

2020-11-22 Thread Kyle Evans
On Sat, Nov 21, 2020 at 11:43 PM Alexander Motin wrote: > > Author: mav > Date: Sun Nov 22 05:42:52 2020 > New Revision: 367929 > URL: https://svnweb.freebsd.org/changeset/base/367929 > > Log: > Fix build after 367926. > > Option ISP_TARGET_MODE is evil. > The LINT build appears to be broken

Re: svn commit: r367930 - in head/sys: kern sys

2020-11-21 Thread Kyle Evans
On Sat, Nov 21, 2020 at 11:47 PM Kyle Evans wrote: > > Author: kevans > Date: Sun Nov 22 05:47:45 2020 > New Revision: 367930 > URL: https://svnweb.freebsd.org/changeset/base/367930 > > Log: > [2/2] _umtx_op: introduce 32-bit/i386 flags for operations > > Thi

svn commit: r367930 - in head/sys: kern sys

2020-11-21 Thread Kyle Evans
Author: kevans Date: Sun Nov 22 05:47:45 2020 New Revision: 367930 URL: https://svnweb.freebsd.org/changeset/base/367930 Log: [2/2] _umtx_op: introduce 32-bit/i386 flags for operations This patch takes advantage of the consolidation that happened to provide two flags that can be used with

svn commit: r367928 - in head/sys: compat/freebsd32 kern sys

2020-11-21 Thread Kyle Evans
Author: kevans Date: Sun Nov 22 05:34:51 2020 New Revision: 367928 URL: https://svnweb.freebsd.org/changeset/base/367928 Log: _umtx_op: move compat32 definitions back in These are reasonably compact, and a future commit will blur the compat32 lines by supporting 32-bit operations with the

Re: svn commit: r367744 - in head/sys: compat/freebsd32 kern sys

2020-11-18 Thread Kyle Evans
On Tue, Nov 17, 2020 at 1:51 PM Brooks Davis wrote: > > On Tue, Nov 17, 2020 at 11:59:50AM -0600, Kyle Evans wrote: > > On Tue, Nov 17, 2020 at 11:11 AM Brooks Davis wrote: > > > > > > On Tue, Nov 17, 2020 at 03:36:58AM +, Kyle Evans wrote: > > >

svn commit: r367783 - head/sys/kern

2020-11-17 Thread Kyle Evans
Author: kevans Date: Wed Nov 18 03:30:31 2020 New Revision: 367783 URL: https://svnweb.freebsd.org/changeset/base/367783 Log: _umtx_op: fix robust lists after r367744 A copy-pasto left us copying in 24-bytes at the address of the rb pointer instead of the intended target. Reported by

Re: svn commit: r367744 - in head/sys: compat/freebsd32 kern sys

2020-11-17 Thread Kyle Evans
On Tue, Nov 17, 2020 at 11:11 AM Brooks Davis wrote: > > On Tue, Nov 17, 2020 at 03:36:58AM +, Kyle Evans wrote: > > Modified: head/sys/compat/freebsd32/freebsd32.h > > == > > --- head/sys/comp

svn commit: r367746 - head/sys/kern

2020-11-16 Thread Kyle Evans
Author: kevans Date: Tue Nov 17 04:22:10 2020 New Revision: 367746 URL: https://svnweb.freebsd.org/changeset/base/367746 Log: Fix !COMPAT_FREEBSD32 kernel build One of the last shifts inadvertently moved these static assertions out of a COMPAT_FREEBSD32 block, which the relevant definitio

svn commit: r367745 - head/sys/sys

2020-11-16 Thread Kyle Evans
Author: kevans Date: Tue Nov 17 04:06:35 2020 New Revision: 367745 URL: https://svnweb.freebsd.org/changeset/base/367745 Log: sys/proc.h: improve comment for new TDP2 flag This was suggested by kib and integrated locally, but somehow did not make it into the committed version. Modified:

svn commit: r367744 - in head/sys: compat/freebsd32 kern sys

2020-11-16 Thread Kyle Evans
Author: kevans Date: Tue Nov 17 03:36:58 2020 New Revision: 367744 URL: https://svnweb.freebsd.org/changeset/base/367744 Log: umtx_op: reduce redundancy required for compat32 All of the compat32 variants are substantially the same, save for copyin/copyout (mostly). Apply the same kind of

svn commit: r367743 - in head: lib/libthr/tests sys/kern

2020-11-16 Thread Kyle Evans
Nov 17 03:34:01 2020 (r367743) @@ -0,0 +1,108 @@ +/*- + * SPDX-License-Identifier: BSD-2-Clause + * + * Copyright (c) 2020 Kyle Evans + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + *

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

2020-11-16 Thread Kyle Evans
Author: kevans Date: Tue Nov 17 03:26:56 2020 New Revision: 367742 URL: https://svnweb.freebsd.org/changeset/base/367742 Log: _umtx_op: document UMTX_OP_SEM2_WAIT copyout behavior This clever technique to get a time remaining back was added to support sem_clockwait_np. Reviewed by: k

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

2020-11-14 Thread Kyle Evans
Author: kevans Date: Sat Nov 14 20:45:12 2020 New Revision: 367699 URL: https://svnweb.freebsd.org/changeset/base/367699 Log: MFC r366231: Address whitespace nits in subr_rtc.c These were separated out from a nearby patch from Andrew Gierth. Modified: stable/12/sys/kern/subr_rtc.c Direct

svn commit: r367698 - stable/12/release/packages

2020-11-14 Thread Kyle Evans
Author: kevans Date: Sat Nov 14 20:44:34 2020 New Revision: 367698 URL: https://svnweb.freebsd.org/changeset/base/367698 Log: MFC r365883: pkgbase: use consistent annotation for object keys Everywhere else we use objects ("scripts", generally) we do specify the optional colon. Be consiste

svn commit: r367688 - head

2020-11-14 Thread Kyle Evans
Author: kevans Date: Sat Nov 14 18:06:35 2020 New Revision: 367688 URL: https://svnweb.freebsd.org/changeset/base/367688 Log: Makefile: re-wordsmith the blurb about xtoolchain ports The new version only includes a specific version once, and uses the one that's currently advised by tinderb

Re: svn commit: r367678 - head/usr.sbin/freebsd-update

2020-11-14 Thread Kyle Evans
On Sat, Nov 14, 2020 at 11:20 AM Mateusz Piotrowski <0...@freebsd.org> wrote: > > Hello Rodney, > > On 11/14/20 4:59 PM, Rodney W. Grimes wrote: > >> Author: 0mp (doc,ports committer) > >> Date: Sat Nov 14 13:07:41 2020 > >> New Revision: 367678 > >> URL: https://svnweb.freebsd.org/changeset/base/3

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

2020-11-14 Thread Kyle Evans
Author: kevans Date: Sat Nov 14 15:33:39 2020 New Revision: 367684 URL: https://svnweb.freebsd.org/changeset/base/367684 Log: MFC r367604: umtx: drop incorrect timespec32 definition This works for amd64, but none others -- drop it, because we already have a proper definition in sys/compat

svn commit: r367683 - stable/12/lib/libbe

2020-11-14 Thread Kyle Evans
Author: kevans Date: Sat Nov 14 15:26:18 2020 New Revision: 367683 URL: https://svnweb.freebsd.org/changeset/base/367683 Log: MFC r366819: libbe(3): const'ify a couple arguments libbe will never need to mutate these as we either process them into a local buffer or we just don't touch them

svn commit: r367682 - in stable/12: lib/libbe tools/build/mk

2020-11-14 Thread Kyle Evans
Author: kevans Date: Sat Nov 14 15:21:20 2020 New Revision: 367682 URL: https://svnweb.freebsd.org/changeset/base/367682 Log: MFC r366820-r366821: libbe(3) documentation improvements r366820: libbe(3): document be_snapshot() While toying around with lua bindings for libbe(3), I disco

svn commit: r367681 - in stable/12/contrib/lua: . doc src

2020-11-14 Thread Kyle Evans
Author: kevans Date: Sat Nov 14 15:19:36 2020 New Revision: 367681 URL: https://svnweb.freebsd.org/changeset/base/367681 Log: MFC r366769: MFC r366760: lua: update to 5.3.6 This release contains some minor bugfixes; notably: - 2x minor Makefile fixes (not used in base) - Long brackets w

svn commit: r367667 - stable/12/lib/libc/stdlib

2020-11-13 Thread Kyle Evans
Author: kevans Date: Sat Nov 14 02:11:56 2020 New Revision: 367667 URL: https://svnweb.freebsd.org/changeset/base/367667 Log: MFC r366770: libc: typo fix (s/involes/involves) Modified: stable/12/lib/libc/stdlib/bsearch.c Directory Properties: stable/12/ (props changed) Modified: stable/1

svn commit: r367666 - in stable/12: . stand/lua

2020-11-13 Thread Kyle Evans
=== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ stable/12/stand/lua/gfx-beastie.lua Sat Nov 14 02:11:04 2020 (r367666, copy of r366435, head/stand/lua/gfx-beastie.lua) @@ -0,0 +1,55 @@ +-- +-- SPDX-License-Identifier: BSD-2-Clause-FreeBSD +-- +-- Copyright

svn commit: r367665 - stable/12

2020-11-13 Thread Kyle Evans
Author: kevans Date: Sat Nov 14 02:03:34 2020 New Revision: 367665 URL: https://svnweb.freebsd.org/changeset/base/367665 Log: MFC r366275: Makefile.inc1: sysent: parallel subordinate sysent targets makesyscalls.lua (and indeed makesyscalls.sh) are both safe to be run in parallel, so let's

svn commit: r367664 - stable/12/usr.sbin/ngctl

2020-11-13 Thread Kyle Evans
Author: kevans Date: Sat Nov 14 02:00:50 2020 New Revision: 367664 URL: https://svnweb.freebsd.org/changeset/base/367664 Log: MFC r366430: ngctl: add -c (compact output) for the dot command The output of "ngctl dot" is suitable for small netgraph networks. Even moderate complex netgraph s

svn commit: r367663 - stable/12/sys/dev/vt

2020-11-13 Thread Kyle Evans
Author: kevans Date: Sat Nov 14 01:58:33 2020 New Revision: 367663 URL: https://svnweb.freebsd.org/changeset/base/367663 Log: MFC r367448: vt: resolve conflict between VT_ALT_TO_ESC_HACK and DBG When using the ALT+CTRL+ESC sequence to break into kdb, the keyboard is completely borked when

  1   2   3   4   5   6   7   8   9   10   >