svn commit: r361239 - head

2020-05-18 Thread Kyle Evans
Author: kevans Date: Tue May 19 03:19:01 2020 New Revision: 361239 URL: https://svnweb.freebsd.org/changeset/base/361239 Log: Belated RELNOTES entry for r361238 This may get revised later if the larger change lands, but we should note this. Modified: head/RELNOTES Modified: head/RELNO

svn commit: r361238 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2020-05-18 Thread Kyle Evans
Author: kevans Date: Tue May 19 02:41:05 2020 New Revision: 361238 URL: https://svnweb.freebsd.org/changeset/base/361238 Log: zfs: reject read(2) of a dirfd with EISDIR This is independent of the recently-discussed global change, which is still in review/discussion stage. This is eff

svn commit: r361149 - head

2020-05-17 Thread Kyle Evans
Author: kevans Date: Mon May 18 01:48:55 2020 New Revision: 361149 URL: https://svnweb.freebsd.org/changeset/base/361149 Log: Revert r360833, r360882: certctl rehash in installworld This was solving the correct-ish problem in the wrong place. Noted by brooks; while he didn't request a pro

svn commit: r361148 - head/usr.sbin/certctl

2020-05-17 Thread Kyle Evans
Author: kevans Date: Mon May 18 01:35:44 2020 New Revision: 361148 URL: https://svnweb.freebsd.org/changeset/base/361148 Log: certctl: don't fall over flat with relative DESTDIR Up until now, all of our DESTDIR use has been with absolute paths. It turned out that the cd in/out dance we do

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

2020-05-15 Thread Kyle Evans
Author: kevans Date: Sat May 16 04:52:29 2020 New Revision: 361105 URL: https://svnweb.freebsd.org/changeset/base/361105 Log: procctl(2): correct a minor cut-n-pasto This is clearly describing PROC_PROTMAX_FORCE_DISABLE, rather than PROC_ASL_FORCE_DISABLE. Submitted by: sig...@gmail.

svn commit: r361065 - head/tests/sys/netpfil/pf/ioctl

2020-05-14 Thread Kyle Evans
Author: kevans Date: Thu May 14 23:20:58 2020 New Revision: 361065 URL: https://svnweb.freebsd.org/changeset/base/361065 Log: pf tests: fix up a couple WARNS= 6 nits common_init_tbl is only used within this single CU, so it should be marked static. WARNS=6 also complained about the v

svn commit: r361036 - head/usr.sbin/inetd

2020-05-14 Thread Kyle Evans
Author: kevans Date: Thu May 14 17:52:29 2020 New Revision: 361036 URL: https://svnweb.freebsd.org/changeset/base/361036 Log: inetd(8): Add comments to all examples Submitted by: debdrup (with some minor changes by kevans) Reviewed by: bcr (manpages) MFC after:3 days Differential

svn commit: r361023 - head/usr.sbin/certctl

2020-05-13 Thread Kyle Evans
Author: kevans Date: Thu May 14 03:30:27 2020 New Revision: 361023 URL: https://svnweb.freebsd.org/changeset/base/361023 Log: certctl: follow-up to r361022, prune blacklist as well Otherwise, removals from the blacklist may not get processed as they should. While we're here, restructur

svn commit: r361022 - head/usr.sbin/certctl

2020-05-13 Thread Kyle Evans
Author: kevans Date: Thu May 14 03:25:12 2020 New Revision: 361022 URL: https://svnweb.freebsd.org/changeset/base/361022 Log: certctl(8): don't completely nuke $CERTDESTDIR It's been reported/noted that a well-timed `certctl rehash` will completely obliterate $CERTDESTDIR, which may get u

svn commit: r361011 - in head/sys: ddb dev/amdtemp dev/nvdimm dev/ow net sys vm

2020-05-13 Thread Kyle Evans
Author: kevans Date: Wed May 13 18:07:37 2020 New Revision: 361011 URL: https://svnweb.freebsd.org/changeset/base/361011 Log: kernel: provide panicky version of __unreachable __builtin_unreachable doesn't raise any compile-time warnings/errors on its own, so problems with its usage can't

svn commit: r361000 - head/usr.sbin/inetd

2020-05-12 Thread Kyle Evans
Author: kevans Date: Wed May 13 02:17:27 2020 New Revision: 361000 URL: https://svnweb.freebsd.org/changeset/base/361000 Log: inetd(8): Provide HTTP proxy example using netcat One of the fortunes that are included in freebsd-tips talks about how the superserver can be used to proxy connec

Re: svn commit: r360833 - head

2020-05-12 Thread Kyle Evans
On Tue, May 12, 2020 at 5:16 PM Brooks Davis wrote: > > On Mon, May 11, 2020 at 01:45:14PM -0500, Kyle Evans wrote: > > On Mon, May 11, 2020 at 1:10 PM Brooks Davis wrote: > > > > > > On Sat, May 09, 2020 at 02:01:29AM +, Kyle Evans wrote: > > > >

Re: svn commit: r360833 - head

2020-05-11 Thread Kyle Evans
On Mon, May 11, 2020 at 1:10 PM Brooks Davis wrote: > > On Sat, May 09, 2020 at 02:01:29AM +, Kyle Evans wrote: > > Author: kevans > > Date: Sat May 9 02:01:29 2020 > > New Revision: 360833 > > URL: https://svnweb.freebsd.org/changeset/base/360833 > > &g

svn commit: r360882 - head

2020-05-10 Thread Kyle Evans
Author: kevans Date: Sun May 10 20:28:38 2020 New Revision: 360882 URL: https://svnweb.freebsd.org/changeset/base/360882 Log: buildworld: add back in missing semicolon if foo; then blah else blah; fi has a drastically different meaning than if foo; then blah; else blah; fi. Fix it. R

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

2020-05-09 Thread Kyle Evans
uld have been ${.CURDIR}/Makefile.local instead, to match the convention used in ports already for this kind of thing. Thoughts? Thanks, Kyle Evans ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To

svn commit: r360834 - releng/11.4/stand/lua

2020-05-08 Thread Kyle Evans
Author: kevans Date: Sat May 9 04:00:58 2020 New Revision: 360834 URL: https://svnweb.freebsd.org/changeset/base/360834 Log: MFS r360795: lualoader: fix loader.lua mis-merge This mis-merge came from r360599; r331321 introduced core.isUEFIBoot but will not get merged back to stable/11 due

svn commit: r360833 - head

2020-05-08 Thread Kyle Evans
Author: kevans Date: Sat May 9 02:01:29 2020 New Revision: 360833 URL: https://svnweb.freebsd.org/changeset/base/360833 Log: installworld: attempt a certctl rehash at the tail end This can be run as root or normal user with no problem; if they hadn't twisted the WITHOUT_CAROOT knob, we'l

svn commit: r360795 - stable/11/stand/lua

2020-05-07 Thread Kyle Evans
Author: kevans Date: Thu May 7 19:38:39 2020 New Revision: 360795 URL: https://svnweb.freebsd.org/changeset/base/360795 Log: lualoader: fix loader.lua mis-merge This mis-merge came from r360599; r331321 introduced core.isUEFIBoot but will not get merged back to stable/11 due to being som

svn commit: r360599 - in stable/11/stand: forth lua

2020-05-02 Thread Kyle Evans
Author: kevans Date: Sun May 3 04:03:05 2020 New Revision: 360599 URL: https://svnweb.freebsd.org/changeset/base/360599 Log: MFC r359371: loader: Fully reset terminal settings, not just colors Modified: stable/11/stand/forth/loader.4th stable/11/stand/forth/loader.rc stable/11/stand/fort

svn commit: r360598 - stable/11/stand/lua

2020-05-02 Thread Kyle Evans
Author: kevans Date: Sun May 3 03:56:17 2020 New Revision: 360598 URL: https://svnweb.freebsd.org/changeset/base/360598 Log: MFC r360199: menu.lua: Give names to menu entries Make menu customizations easier by naming the entries and using the names to build the table entries. Modified:

svn commit: r360597 - stable/11/stand/lua

2020-05-02 Thread Kyle Evans
Author: kevans Date: Sun May 3 03:54:49 2020 New Revision: 360597 URL: https://svnweb.freebsd.org/changeset/base/360597 Log: MFC r352601: loader_lua: lua color changes should end with reset The color change should have reset sequence, not switch to white. Modified: stable/11/stand/lua/c

svn commit: r360596 - in stable: 11/stand/defaults 11/stand/lua 12/stand/defaults 12/stand/lua

2020-05-02 Thread Kyle Evans
Author: kevans Date: Sun May 3 03:53:38 2020 New Revision: 360596 URL: https://svnweb.freebsd.org/changeset/base/360596 Log: MFC lualoader read-conf support: r360420-r360423, r360425, r360427, r360486, \r360505-r360506 r360420: lualoader config: don't call loader.getenv() as much

svn commit: r360596 - in stable: 11/stand/defaults 11/stand/lua 12/stand/defaults 12/stand/lua

2020-05-02 Thread Kyle Evans
Author: kevans Date: Sun May 3 03:53:38 2020 New Revision: 360596 URL: https://svnweb.freebsd.org/changeset/base/360596 Log: MFC lualoader read-conf support: r360420-r360423, r360425, r360427, r360486, \r360505-r360506 r360420: lualoader config: don't call loader.getenv() as much

svn commit: r360595 - in stable/12/usr.bin/diff: . tests

2020-05-02 Thread Kyle Evans
Author: kevans Date: Sun May 3 03:44:58 2020 New Revision: 360595 URL: https://svnweb.freebsd.org/changeset/base/360595 Log: MFC r360437: diff(1): don't reject specifying the same format multiple times This may happen, for instance, if one happens to have an alias of diff to diff -up and

svn commit: r360506 - head/stand/lua

2020-04-30 Thread Kyle Evans
Author: kevans Date: Thu Apr 30 21:04:39 2020 New Revision: 360506 URL: https://svnweb.freebsd.org/changeset/base/360506 Log: lualoader: config: improve readConfFiles, rename to readConf The previous interface was pretty bad, and required the caller to get some implementation details corr

svn commit: r360505 - head/stand/lua

2020-04-30 Thread Kyle Evans
Author: kevans Date: Thu Apr 30 20:58:58 2020 New Revision: 360505 URL: https://svnweb.freebsd.org/changeset/base/360505 Log: lualoader: config: add a table for restricted environment vars This new table should be used for transient values that don't need to end up in the loader environme

svn commit: r360496 - in stable/12/sys: conf modules/linux modules/linux64 modules/vmm

2020-04-30 Thread Kyle Evans
Author: kevans Date: Thu Apr 30 14:51:31 2020 New Revision: 360496 URL: https://svnweb.freebsd.org/changeset/base/360496 Log: MFC r360071-r360072: force -fcommon in kernel/modules where needed This contains some extra bits over the original commits, as things are slightly different in ear

svn commit: r360495 - in stable: 11 12

2020-04-30 Thread Kyle Evans
Author: kevans Date: Thu Apr 30 14:38:55 2020 New Revision: 360495 URL: https://svnweb.freebsd.org/changeset/base/360495 Log: MFC r355423: UPDATING: Add [less] long-belated note about certs in base While the interaction between this and the ETCSYMLINK option of security/ca_root_nss isn't

svn commit: r360495 - in stable: 11 12

2020-04-30 Thread Kyle Evans
Author: kevans Date: Thu Apr 30 14:38:55 2020 New Revision: 360495 URL: https://svnweb.freebsd.org/changeset/base/360495 Log: MFC r355423: UPDATING: Add [less] long-belated note about certs in base While the interaction between this and the ETCSYMLINK option of security/ca_root_nss isn't

svn commit: r360494 - in stable/11/sys: conf modules/linux modules/linux64 modules/vmm

2020-04-30 Thread Kyle Evans
Author: kevans Date: Thu Apr 30 13:48:58 2020 New Revision: 360494 URL: https://svnweb.freebsd.org/changeset/base/360494 Log: MFC r360071-r360072: force -fcommon for parts of kernel/kmods that need Note that this isn't a 1:1 MFC, as a couple more instances needed to be patched to force -f

svn commit: r360486 - head/stand/defaults

2020-04-29 Thread Kyle Evans
Author: kevans Date: Thu Apr 30 02:50:58 2020 New Revision: 360486 URL: https://svnweb.freebsd.org/changeset/base/360486 Log: loader.conf(5): document that loader_conf_files may be clobbered A future change in lualoader may take some liberties with the loader_conf_files in the name of eff

Re: svn commit: r360125 - in head/usr.bin/diff: . tests

2020-04-28 Thread Kyle Evans
On Tue, Apr 28, 2020 at 7:58 AM Kyle Evans wrote: > > On Tue, Apr 28, 2020 at 7:55 AM Jan Beich wrote: > > > > Gary Jennejohn writes: > > > > > On Tue, 28 Apr 2020 07:25:18 -0500 > > > Kyle Evans wrote: > > > > > >> On Tue, Apr 28,

svn commit: r360437 - in head/usr.bin/diff: . tests

2020-04-28 Thread Kyle Evans
Author: kevans Date: Tue Apr 28 14:33:33 2020 New Revision: 360437 URL: https://svnweb.freebsd.org/changeset/base/360437 Log: diff(1): don't reject specifying the same format multiple times This may happen, for instance, if one happens to have an alias of diff to diff -up and attempts to

Re: svn commit: r360125 - in head/usr.bin/diff: . tests

2020-04-28 Thread Kyle Evans
On Tue, Apr 28, 2020 at 7:55 AM Jan Beich wrote: > > Gary Jennejohn writes: > > > On Tue, 28 Apr 2020 07:25:18 -0500 > > Kyle Evans wrote: > > > >> On Tue, Apr 28, 2020 at 6:52 AM Jan Beich wrote: > >> > > >> > Kyle Evans writes: &g

Re: svn commit: r360125 - in head/usr.bin/diff: . tests

2020-04-28 Thread Kyle Evans
On Tue, Apr 28, 2020 at 6:52 AM Jan Beich wrote: > > Kyle Evans writes: > > > Author: kevans > > Date: Mon Apr 20 16:14:44 2020 > > New Revision: 360125 > > URL: https://svnweb.freebsd.org/changeset/base/360125 > > > > Log: > > diff(1): r

svn commit: r360427 - head/stand/lua

2020-04-27 Thread Kyle Evans
Author: kevans Date: Tue Apr 28 03:43:55 2020 New Revision: 360427 URL: https://svnweb.freebsd.org/changeset/base/360427 Log: config.lua(8): catch up to recently added hooks While we're here, let's stylize these as functions instead of just raw text. A future change may allow arbitrary da

svn commit: r360425 - head/stand/lua

2020-04-27 Thread Kyle Evans
Author: kevans Date: Tue Apr 28 02:13:17 2020 New Revision: 360425 URL: https://svnweb.freebsd.org/changeset/base/360425 Log: config.lua(8): "may should" is not proper grammar Reported by: rpokala X-MFC-With: r360421 Modified: head/stand/lua/config.lua.8 Modified: head/stand/lua/co

svn commit: r360423 - head/stand/lua

2020-04-27 Thread Kyle Evans
Author: kevans Date: Tue Apr 28 02:08:55 2020 New Revision: 360423 URL: https://svnweb.freebsd.org/changeset/base/360423 Log: lualoader: cli: clobber loader_conf_files before proceeding This makes sure that config.readConfFiles doesn't see a stale loader_conf_files from before, in case th

svn commit: r360422 - head/stand/lua

2020-04-27 Thread Kyle Evans
Author: kevans Date: Tue Apr 28 02:04:51 2020 New Revision: 360422 URL: https://svnweb.freebsd.org/changeset/base/360422 Log: lualoader: cli: add read-conf This is a straightforward match to the command used by many in forthloader; it uses the newly-exported config.readConfFiles() to make

svn commit: r360421 - head/stand/lua

2020-04-27 Thread Kyle Evans
Author: kevans Date: Tue Apr 28 02:03:03 2020 New Revision: 360421 URL: https://svnweb.freebsd.org/changeset/base/360421 Log: lualoader: config: start exporting readConfFiles In the process, change it slightly: readConfFiles will take a string like loader_conf_files in addition to the loa

svn commit: r360420 - head/stand/lua

2020-04-27 Thread Kyle Evans
Author: kevans Date: Tue Apr 28 01:39:34 2020 New Revision: 360420 URL: https://svnweb.freebsd.org/changeset/base/360420 Log: lualoader config: don't call loader.getenv() as much We don't actually need to fetch loader_conf_files as much as we do; we've already fetched it once at the begin

svn commit: r360407 - in stable: 11/usr.bin/diff 11/usr.bin/diff/tests 12/usr.bin/diff 12/usr.bin/diff/tests

2020-04-27 Thread Kyle Evans
Author: kevans Date: Mon Apr 27 22:50:08 2020 New Revision: 360407 URL: https://svnweb.freebsd.org/changeset/base/360407 Log: MFC r357875: diff: fix segfault with --tabsize and no/malformed argument --tabsize was previously listed as optional_argument, but didn't account for the optionali

svn commit: r360407 - in stable: 11/usr.bin/diff 11/usr.bin/diff/tests 12/usr.bin/diff 12/usr.bin/diff/tests

2020-04-27 Thread Kyle Evans
Author: kevans Date: Mon Apr 27 22:50:08 2020 New Revision: 360407 URL: https://svnweb.freebsd.org/changeset/base/360407 Log: MFC r357875: diff: fix segfault with --tabsize and no/malformed argument --tabsize was previously listed as optional_argument, but didn't account for the optionali

svn commit: r360406 - in stable: 11/lib/libc/sys 12/lib/libc/sys

2020-04-27 Thread Kyle Evans
Author: kevans Date: Mon Apr 27 22:43:24 2020 New Revision: 360406 URL: https://svnweb.freebsd.org/changeset/base/360406 Log: MFC r360182-r360183: kqueue(2): add note about EV_RECEIPT r360182: kqueue(2): add a note about EV_RECEIPT In the below-referenced PR, a case is attached of a

svn commit: r360406 - in stable: 11/lib/libc/sys 12/lib/libc/sys

2020-04-27 Thread Kyle Evans
Author: kevans Date: Mon Apr 27 22:43:24 2020 New Revision: 360406 URL: https://svnweb.freebsd.org/changeset/base/360406 Log: MFC r360182-r360183: kqueue(2): add note about EV_RECEIPT r360182: kqueue(2): add a note about EV_RECEIPT In the below-referenced PR, a case is attached of a

svn commit: r360405 - stable/11/usr.bin/diff

2020-04-27 Thread Kyle Evans
Author: kevans Date: Mon Apr 27 22:34:45 2020 New Revision: 360405 URL: https://svnweb.freebsd.org/changeset/base/360405 Log: MFC r356723-r356725: diff(1) return value checks r356723: mkstemp returns -1 r356724: asprintf returns -1, not an arbitrary value < 0. Also upon error the

svn commit: r360404 - stable/12/usr.bin/diff

2020-04-27 Thread Kyle Evans
Author: kevans Date: Mon Apr 27 22:33:32 2020 New Revision: 360404 URL: https://svnweb.freebsd.org/changeset/base/360404 Log: MFC r356723-r356725, r357649, r357652: diff(1) catch-up r356723: mkstemp returns -1 r356724: asprintf returns -1, not an arbitrary value < 0. Also upon erro

svn commit: r360403 - in stable/12/usr.bin/diff: . tests

2020-04-27 Thread Kyle Evans
Author: kevans Date: Mon Apr 27 22:32:16 2020 New Revision: 360403 URL: https://svnweb.freebsd.org/changeset/base/360403 Log: MFC r360125: diff(1): reject conflicting formatting options This matches GNU diff(1) behavior and, more importantly, eliminates any source of confusion if multiple

svn commit: r360401 - in stable/12: stand/defaults sys/kern sys/sys

2020-04-27 Thread Kyle Evans
Author: kevans Date: Mon Apr 27 22:29:24 2020 New Revision: 360401 URL: https://svnweb.freebsd.org/changeset/base/360401 Log: MFC r359953, r359980, r35: hostuuid preload r359953: kern uuid: break format validation out into a separate KPI This new KPI, validate_uuid, strictly vali

svn commit: r360400 - in stable: 11/sys/sys 12/sys/sys

2020-04-27 Thread Kyle Evans
Author: kevans Date: Mon Apr 27 22:27:46 2020 New Revision: 360400 URL: https://svnweb.freebsd.org/changeset/base/360400 Log: MFC r359954: sys/types.h: adjust #endif comment to match reality Modified: stable/12/sys/sys/types.h Directory Properties: stable/12/ (props changed) Changes in o

svn commit: r360400 - in stable: 11/sys/sys 12/sys/sys

2020-04-27 Thread Kyle Evans
Author: kevans Date: Mon Apr 27 22:27:46 2020 New Revision: 360400 URL: https://svnweb.freebsd.org/changeset/base/360400 Log: MFC r359954: sys/types.h: adjust #endif comment to match reality Modified: stable/11/sys/sys/types.h Directory Properties: stable/11/ (props changed) Changes in o

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

2020-04-27 Thread Kyle Evans
Author: kevans Date: Mon Apr 27 21:41:00 2020 New Revision: 360395 URL: https://svnweb.freebsd.org/changeset/base/360395 Log: MFC r353095, r355376: add root bundle r353095: caroot: commit initial bundle Interested users can blacklist any/all of these with certctl(8), examples: -

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

2020-04-27 Thread Kyle Evans
Author: kevans Date: Mon Apr 27 21:41:00 2020 New Revision: 360395 URL: https://svnweb.freebsd.org/changeset/base/360395 Log: MFC r353095, r355376: add root bundle r353095: caroot: commit initial bundle Interested users can blacklist any/all of these with certctl(8), examples: -

svn commit: r360394 - in stable: 11/usr.sbin/freebsd-update 12/usr.sbin/freebsd-update

2020-04-27 Thread Kyle Evans
Author: kevans Date: Mon Apr 27 21:39:01 2020 New Revision: 360394 URL: https://svnweb.freebsd.org/changeset/base/360394 Log: MFC r360287: freebsd-update: rehash certs With the inclusion of caroot bits, we'll need to also rehash on update as we do in mergemaster/etcupdate. If certctl

svn commit: r360394 - in stable: 11/usr.sbin/freebsd-update 12/usr.sbin/freebsd-update

2020-04-27 Thread Kyle Evans
Author: kevans Date: Mon Apr 27 21:39:01 2020 New Revision: 360394 URL: https://svnweb.freebsd.org/changeset/base/360394 Log: MFC r360287: freebsd-update: rehash certs With the inclusion of caroot bits, we'll need to also rehash on update as we do in mergemaster/etcupdate. If certctl

svn commit: r360391 - in stable/12: gnu/usr.bin/gdb share/mk sys/conf

2020-04-27 Thread Kyle Evans
Author: kevans Date: Mon Apr 27 19:49:35 2020 New Revision: 360391 URL: https://svnweb.freebsd.org/changeset/base/360391 Log: MFC r359702, r359774: enforce -fno-common for userland/kernel src builds r359702: Add -fno-common to all userland/kernel src builds -fno-common will become th

svn commit: r360390 - in stable: 11/usr.sbin/adduser 12/usr.sbin/adduser

2020-04-27 Thread Kyle Evans
Author: kevans Date: Mon Apr 27 19:29:48 2020 New Revision: 360390 URL: https://svnweb.freebsd.org/changeset/base/360390 Log: MFC r359642: adduser: allow standard IFS characters in passwords Notably, the default IFS contains space/tab, thus any leading/trailing whitespace characters tend

svn commit: r360390 - in stable: 11/usr.sbin/adduser 12/usr.sbin/adduser

2020-04-27 Thread Kyle Evans
Author: kevans Date: Mon Apr 27 19:29:48 2020 New Revision: 360390 URL: https://svnweb.freebsd.org/changeset/base/360390 Log: MFC r359642: adduser: allow standard IFS characters in passwords Notably, the default IFS contains space/tab, thus any leading/trailing whitespace characters tend

svn commit: r360383 - stable/12/usr.bin/systat

2020-04-27 Thread Kyle Evans
Author: kevans Date: Mon Apr 27 16:11:59 2020 New Revision: 360383 URL: https://svnweb.freebsd.org/changeset/base/360383 Log: MFC r340361, r345804: catch up on systat in head/ [Neither of these originally mine, but the latter commit referenced fixes an -fno-common issue and the former is

svn commit: r360382 - stable/12/contrib/dtc

2020-04-27 Thread Kyle Evans
Author: kevans Date: Mon Apr 27 16:09:03 2020 New Revision: 360382 URL: https://svnweb.freebsd.org/changeset/base/360382 Log: dtc: fix the -fno-common build This is a direct commit to stable/12, as GPL dtc has been removed in head. -fno-common will become the default in GCC10/LLVM11.

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

2020-04-24 Thread Kyle Evans
Author: kevans Date: Sat Apr 25 00:14:17 2020 New Revision: 360287 URL: https://svnweb.freebsd.org/changeset/base/360287 Log: freebsd-update: rehash certs With the inclusion of caroot bits, we'll need to also rehash on update as we do in mergemaster/etcupdate. If certctl's installed

svn commit: r360258 - in stable/12/sys: dev/altera/jtag_uart dev/bvm dev/cfe dev/ofw dev/rp dev/xen/console kern netgraph sys

2020-04-24 Thread Kyle Evans
Author: kevans Date: Fri Apr 24 13:31:22 2020 New Revision: 360258 URL: https://svnweb.freebsd.org/changeset/base/360258 Log: MFC r360051: tty: convert tty_lock_assert to tty_assert_locked A later change, currently being iterated on in D24459, will in-fact change the lock type to an sx so

svn commit: r360257 - stable/12/tests/sys/kqueue/libkqueue

2020-04-24 Thread Kyle Evans
Author: kevans Date: Fri Apr 24 13:29:08 2020 New Revision: 360257 URL: https://svnweb.freebsd.org/changeset/base/360257 Log: MFC r360033, r360108: better precision in kqueue timer tests r360033: tests: kqueue: use a more precise timer for the NOTE_ABSTIME test Originally noticed whi

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

2020-04-24 Thread Kyle Evans
Author: kevans Date: Fri Apr 24 13:25:02 2020 New Revision: 360256 URL: https://svnweb.freebsd.org/changeset/base/360256 Log: MFC r360140, r360155: kqueue timer/data fixes r360140: kqueue: fix conversion of timer data to sbintime This unbreaks the i386 kqueue timer tests after a rece

svn commit: r360251 - head

2020-04-24 Thread Kyle Evans
Author: kevans Date: Fri Apr 24 12:57:03 2020 New Revision: 360251 URL: https://svnweb.freebsd.org/changeset/base/360251 Log: UPDATING: Fix the date of the closefrom(2) entry Apologies; my internal calendar says it's still February, but that doesn't seem to match reality where we've appar

svn commit: r360250 - head

2020-04-24 Thread Kyle Evans
Author: kevans Date: Fri Apr 24 12:54:35 2020 New Revision: 360250 URL: https://svnweb.freebsd.org/changeset/base/360250 Log: UPDATING: add a note about closefrom(2) marked COMPAT12 Some of the consumers in-base may make it enticing enough to ensure that COMPAT_FREEBSD12, which is notably

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

2020-04-23 Thread Kyle Evans
Author: kevans Date: Fri Apr 24 01:30:33 2020 New Revision: 360237 URL: https://svnweb.freebsd.org/changeset/base/360237 Log: sysent: re-roll after 360236 (AUE_CLOSERANGE used) Modified: head/sys/compat/freebsd32/freebsd32_sysent.c head/sys/kern/init_sysent.c head/sys/sys/sysproto.h Modi

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

2020-04-23 Thread Kyle Evans
Author: kevans Date: Fri Apr 24 01:30:00 2020 New Revision: 360236 URL: https://svnweb.freebsd.org/changeset/base/360236 Log: close_range(2): use newly assigned AUE_CLOSERANGE Modified: head/sys/compat/freebsd32/syscalls.master head/sys/kern/syscalls.master Modified: head/sys/compat/freebs

svn commit: r360235 - head/sys/bsm

2020-04-23 Thread Kyle Evans
Author: kevans Date: Fri Apr 24 01:27:25 2020 New Revision: 360235 URL: https://svnweb.freebsd.org/changeset/base/360235 Log: bsm: add AUE_CLOSERANGE AUE_CLOSERANGE has been accepted upstream as 43265; AUE_REALPATHAT has now been upstreamed. Modified: head/sys/bsm/audit_kevents.h Modi

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

2020-04-21 Thread Kyle Evans
Author: kevans Date: Wed Apr 22 04:05:02 2020 New Revision: 360183 URL: https://svnweb.freebsd.org/changeset/base/360183 Log: kqueue(2): de-vandalize the random sentence in the middle A last minute change appears to have inadvertently vandalized unrelated parts of the manpage with the dat

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

2020-04-21 Thread Kyle Evans
Author: kevans Date: Wed Apr 22 03:45:52 2020 New Revision: 360182 URL: https://svnweb.freebsd.org/changeset/base/360182 Log: kqueue(2): add a note about EV_RECEIPT In the below-referenced PR, a case is attached of a simple reproducer that exhibits suboptimal behavior: EVFILT_READ and EVF

svn commit: r360155 - head/sys/sys

2020-04-21 Thread Kyle Evans
Author: kevans Date: Tue Apr 21 16:13:22 2020 New Revision: 360155 URL: https://svnweb.freebsd.org/changeset/base/360155 Log: kevent32: fix the split of data into data1/data2 The current situation results in intermittent breakage if data gets split up with the sign bit set on the data1 ha

svn commit: r360140 - head/sys/kern

2020-04-20 Thread Kyle Evans
Author: kevans Date: Tue Apr 21 03:57:30 2020 New Revision: 360140 URL: https://svnweb.freebsd.org/changeset/base/360140 Log: kqueue: fix conversion of timer data to sbintime This unbreaks the i386 kqueue timer tests after a recent change switched NOTE_ABSTIME over to using microseconds.

Re: svn commit: r360068 - in head/sys: kern net sys

2020-04-20 Thread Kyle Evans
On Mon, Apr 20, 2020 at 9:14 PM Kyle Evans wrote: > > On Mon, Apr 20, 2020 at 8:15 PM Eric van Gyzen wrote: > > > > >>>> + sz = asprintf(&buf, M_TEMP, "%s-%s-%s", uuid, if_name(ifp), > > >>>> + jailname); > > >>&g

Re: svn commit: r360068 - in head/sys: kern net sys

2020-04-20 Thread Kyle Evans
ece of data separately. > > For bonus points, use a single char[] to save stack space, too. Maybe > use a union, for legibility, and to ensure the proper size without ugly > assertions. > To be honest, I'd be more inclined to just revert

svn commit: r360125 - in head/usr.bin/diff: . tests

2020-04-20 Thread Kyle Evans
Author: kevans Date: Mon Apr 20 16:14:44 2020 New Revision: 360125 URL: https://svnweb.freebsd.org/changeset/base/360125 Log: diff(1): reject conflicting formatting options This matches GNU diff(1) behavior and, more importantly, eliminates any source of confusion if multiple formatting o

svn commit: r360108 - head/tests/sys/kqueue/libkqueue

2020-04-19 Thread Kyle Evans
Author: kevans Date: Mon Apr 20 00:47:28 2020 New Revision: 360108 URL: https://svnweb.freebsd.org/changeset/base/360108 Log: tests: kqueue: fix some issues with now() on ILP32 platforms There were ultimately two separate problems here: - a 32-bit long cannot represent microseconds since

Re: svn commit: r360102 - in head: libexec/rc/rc.d share/mk tools/build/mk

2020-04-19 Thread Kyle Evans
On Sun, Apr 19, 2020 at 3:05 PM Cy Schubert wrote: > > In message om> > , Kyle Evans writes: > > On Sun, Apr 19, 2020 at 12:01 PM Cy Schubert wrote: > > > > > > Author: cy > > > Date: Sun Apr 19 17:01:21 2020 > > > New Revision: 360102 >

Re: svn commit: r360102 - in head: libexec/rc/rc.d share/mk tools/build/mk

2020-04-19 Thread Kyle Evans
ms to be wrong, looking at more context. It's setting up a MK_KERBEROS_SCRIPTS_SUPPORT option... I'm kinda guessing what you intended is what the other commentary on this has been about -- defaulting KERBEROS_SCRIPTS to ON unless KERBEROS is OFF. Just moving it up to the __DEFAULT_DEPEND

svn commit: r360051 - in head/sys: dev/altera/jtag_uart dev/bvm dev/cfe dev/ofw dev/rp dev/xen/console kern netgraph sys

2020-04-17 Thread Kyle Evans
Author: kevans Date: Fri Apr 17 18:34:49 2020 New Revision: 360051 URL: https://svnweb.freebsd.org/changeset/base/360051 Log: tty: convert tty_lock_assert to tty_assert_locked to hide lock type A later change, currently being iterated on in D24459, will in-fact change the lock type to an

Re: svn commit: r360033 - head/tests/sys/kqueue/libkqueue

2020-04-16 Thread Kyle Evans
On Thu, Apr 16, 2020 at 9:33 PM Ian Lepore wrote: > > On Fri, 2020-04-17 at 02:22 +, Kyle Evans wrote: > > Author: kevans > > Date: Fri Apr 17 02:22:15 2020 > > New Revision: 360033 > > URL: https://svnweb.freebsd.org/changeset/base/360033 > > > > Lo

svn commit: r360033 - head/tests/sys/kqueue/libkqueue

2020-04-16 Thread Kyle Evans
Author: kevans Date: Fri Apr 17 02:22:15 2020 New Revision: 360033 URL: https://svnweb.freebsd.org/changeset/base/360033 Log: tests: kqueue: use a more precise timer for the NOTE_ABSTIME test Originally noticed while attempting to run the kqueue tests under qemu-user-static, this apparent

svn commit: r360031 - head/sys/security/audit

2020-04-16 Thread Kyle Evans
Author: kevans Date: Fri Apr 17 02:09:31 2020 New Revision: 360031 URL: https://svnweb.freebsd.org/changeset/base/360031 Log: audit_canon_path_vp: don't panic if cdir == NULL cdir may have simply failed to resolve (e.g. fget_cap failure in namei leading to NULL dp passed to AUDIT_ARG_UPAT

svn commit: r359999 - in head: stand/defaults sys/kern

2020-04-15 Thread Kyle Evans
Author: kevans Date: Thu Apr 16 00:54:06 2020 New Revision: 35 URL: https://svnweb.freebsd.org/changeset/base/35 Log: Preload hostuuid for early-boot use prison0's hostuuid will get set by the hostid rc script, either after generating it and saving it to /etc/hostid or by simply r

Re: svn commit: r359987 - in head/sys: amd64/ia32 amd64/linux32 compat/freebsd32 kern sys

2020-04-15 Thread Kyle Evans
dep.c:1174:15: error: incompatible pointer to integer conversion assigning to 'int' from 'void *' [-Werror,-Wint-conversion] 18:28:51 regs->tf_ebx = imgp->ps_strings; 18:28:51 ^ Thanks, Kyle Evans ___

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

2020-04-15 Thread Kyle Evans
Author: kevans Date: Wed Apr 15 18:39:12 2020 New Revision: 359980 URL: https://svnweb.freebsd.org/changeset/base/359980 Log: validate_uuid: absorb the rest of parse_uuid with a flags arg This makes the naming annoyance (validate_uuid vs. parse_uuid) less of an issue and centralizes all o

Re: svn commit: r359945 - in head: lib/geom/eli sys/geom/eli

2020-04-15 Thread Kyle Evans
On Wed, Apr 15, 2020 at 1:24 PM John Baldwin wrote: > > On 4/15/20 10:55 AM, Kyle Evans wrote: > > On Tue, Apr 14, 2020 at 7:15 PM John Baldwin wrote: > >> > >> Author: jhb > >> Date: Wed Apr 15 00:14:50 2020 > >> New Revision: 359945 > >&

Re: svn commit: r359945 - in head: lib/geom/eli sys/geom/eli

2020-04-15 Thread Kyle Evans
mount of noise: In file included from /usr/src/sys/geom/eli/g_eli_crypto.c:46: /usr/src/sys/geom/eli/g_eli.h:511:1: warning: unused function 'eli_metadata_crypto_supported' [-Wunused-function] eli_metadata_crypto_supported(const struct g_eli_metadata *md) (repeat for g_eli_hmac.c, g_e

svn commit: r359954 - head/sys/sys

2020-04-14 Thread Kyle Evans
Author: kevans Date: Wed Apr 15 04:03:46 2020 New Revision: 359954 URL: https://svnweb.freebsd.org/changeset/base/359954 Log: sys/types.h: adjust #endif comment to match reality Submitted by: sigsys gmail com Modified: head/sys/sys/types.h Modified: head/sys/sys/types.h

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

2020-04-14 Thread Kyle Evans
Author: kevans Date: Wed Apr 15 03:59:26 2020 New Revision: 359953 URL: https://svnweb.freebsd.org/changeset/base/359953 Log: kern uuid: break format validation out into a separate KPI This new KPI, validate_uuid, strictly validates the formatting of the input UUID and, optionally, popula

Re: svn commit: r359944 - head/tests/sys/audit

2020-04-14 Thread Kyle Evans
On Tue, Apr 14, 2020 at 7:21 PM Alan Somers wrote: > > On Tue, Apr 14, 2020 at 5:36 PM Kyle Evans wrote: >> >> Author: kevans >> Date: Tue Apr 14 23:36:03 2020 >> New Revision: 359944 >> URL: https://svnweb.freebsd.org/changeset/base/359944 >> >>

svn commit: r359944 - head/tests/sys/audit

2020-04-14 Thread Kyle Evans
Author: kevans Date: Tue Apr 14 23:36:03 2020 New Revision: 359944 URL: https://svnweb.freebsd.org/changeset/base/359944 Log: tests: audit: mark closefrom test an expected fail for now closefrom has been converted to close_range internally; remediation is underway for this, marking it as

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

2020-04-14 Thread Kyle Evans
Author: kevans Date: Tue Apr 14 23:24:24 2020 New Revision: 359943 URL: https://svnweb.freebsd.org/changeset/base/359943 Log: closefrom: clamp lowfd to >= 0; close_range's parameters are unsigned. Pointy hat: kevans Reported by: CI (lwhsu) Modified: head/lib/libc/sys/closefrom.c Mo

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

2020-04-14 Thread Kyle Evans
Author: kevans Date: Tue Apr 14 18:11:26 2020 New Revision: 359931 URL: https://svnweb.freebsd.org/changeset/base/359931 Log: sysent: re-roll after r359930 Modified: head/sys/compat/freebsd32/freebsd32_syscall.h head/sys/compat/freebsd32/freebsd32_syscalls.c head/sys/compat/freebsd32/free

svn commit: r359930 - in head: lib/libc/include lib/libc/sys sys/compat/freebsd32 sys/kern tools/build

2020-04-14 Thread Kyle Evans
Tue Apr 14 18:07:42 2020 (r359930) @@ -0,0 +1,47 @@ +/* + * SPDX-License-Identifier: BSD-2-Clause-FreeBSD + * + * Copyright (c) 2020 Kyle Evans + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following

svn commit: r359918 - in head: sys/kern tests/sys/kern

2020-04-14 Thread Kyle Evans
Author: kevans Date: Tue Apr 14 13:32:03 2020 New Revision: 359918 URL: https://svnweb.freebsd.org/changeset/base/359918 Log: posixshm: fix counting of writable mappings Similar to mmap'ing vnodes, posixshm should count any mapping where maxprot contains VM_PROT_WRITE (i.e. fd opened r/w

svn commit: r359896 - head/tools/build

2020-04-13 Thread Kyle Evans
Author: kevans Date: Mon Apr 13 20:00:44 2020 New Revision: 359896 URL: https://svnweb.freebsd.org/changeset/base/359896 Log: depend-cleanup: fix typo, ^/lib/libc/sys/Makefile.inc generates .S stubs Pointy hat: kevans Modified: head/tools/build/depend-cleanup.sh Modified: head/tools/b

svn commit: r359895 - in head: . tools/build

2020-04-13 Thread Kyle Evans
Author: kevans Date: Mon Apr 13 19:50:47 2020 New Revision: 359895 URL: https://svnweb.freebsd.org/changeset/base/359895 Log: Move shm_open dependency cleanup into a new home r359461 introduced this nifty script to centralize these things, so add shm_open.c there to remove a total of one

svn commit: r359891 - in head: sys/kern tests/sys/file

2020-04-13 Thread Kyle Evans
Author: kevans Date: Mon Apr 13 17:55:31 2020 New Revision: 359891 URL: https://svnweb.freebsd.org/changeset/base/359891 Log: close_range/closefrom: fix regression from close_range introduction close_range will clamp the range between [0, fdp->fd_lastfile], but failed to take into account

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

2020-04-13 Thread Kyle Evans
Author: kevans Date: Mon Apr 13 15:59:15 2020 New Revision: 359865 URL: https://svnweb.freebsd.org/changeset/base/359865 Log: libc: remove shm_open(2)'s compat fallback This had been introduced to ease any pain for using slightly older kernels with a newer libc, e.g., for bisecting a kern

<    1   2   3   4   5   6   7   8   9   10   >