svn commit: r356510 - in head: lib/libc/sys sys/kern sys/sys

2020-01-08 Thread Kyle Evans
Author: kevans Date: Wed Jan 8 19:05:32 2020 New Revision: 356510 URL: https://svnweb.freebsd.org/changeset/base/356510 Log: posix_fallocate: push vnop implementation into the fileop layer This opens the door for other descriptor types to implement posix_fallocate(2) as needed. Revi

svn commit: r356511 - head/sys/sys

2020-01-08 Thread Kyle Evans
Author: kevans Date: Wed Jan 8 19:06:22 2020 New Revision: 356511 URL: https://svnweb.freebsd.org/changeset/base/356511 Log: Bump __FreeBSD_version after r356510 linuxkpi kmod would need to rebuilt at a minimum; fileops layout has changed. Modified: head/sys/sys/param.h Modified: hea

svn commit: r356512 - in head: sys/kern tests/sys/posixshm

2020-01-08 Thread Kyle Evans
Author: kevans Date: Wed Jan 8 19:08:44 2020 New Revision: 356512 URL: https://svnweb.freebsd.org/changeset/base/356512 Log: posixshm: implement posix_fallocate(2) Linux expects to be able to use posix_fallocate(2) on a memfd. Other places would use this with shm_open(2) to act as a smar

svn commit: r356536 - head/sys/net

2020-01-08 Thread Kyle Evans
Author: kevans Date: Thu Jan 9 03:52:50 2020 New Revision: 356536 URL: https://svnweb.freebsd.org/changeset/base/356536 Log: if_vmove: return proper error status if_vmove can fail if it lost a race and the vnet's already been moved. The callers (and their callers) can generally cope with

svn commit: r356537 - head/sys/kern

2020-01-08 Thread Kyle Evans
Author: kevans Date: Thu Jan 9 04:03:17 2020 New Revision: 356537 URL: https://svnweb.freebsd.org/changeset/base/356537 Log: shmfd: posix_fallocate(2): only take rangelock for section we need Other mechanisms that resize the shmfd grab a write lock from 0 to OFF_MAX for safety, so we sti

svn commit: r356538 - in head/stand: fdt uboot/fdt

2020-01-08 Thread Kyle Evans
Author: kevans Date: Thu Jan 9 04:34:42 2020 New Revision: 356538 URL: https://svnweb.freebsd.org/changeset/base/356538 Log: stand/fdt: Scale blob size better as overlays apply Currently, our overlay blob will grow to include the size of the complete overlay blob we're applying. This doe

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

2020-01-08 Thread Kyle Evans
Author: kevans Date: Thu Jan 9 04:39:37 2020 New Revision: 356539 URL: https://svnweb.freebsd.org/changeset/base/356539 Log: md(4): improve documentation of preloading It's not immediately clear by what mechanism loader(8) will be loading the preloaded file. Specifically name-drop loader

svn commit: r356540 - head/sys/kern

2020-01-08 Thread Kyle Evans
Author: kevans Date: Thu Jan 9 06:10:25 2020 New Revision: 356540 URL: https://svnweb.freebsd.org/changeset/base/356540 Log: kern/Makefile: systrace_args.c is also generated Modified: head/sys/kern/Makefile Modified: head/sys/kern/Makefile ===

svn commit: r356562 - head/sys/arm/broadcom/bcm2835

2020-01-09 Thread Kyle Evans
Author: kevans Date: Thu Jan 9 19:13:09 2020 New Revision: 356562 URL: https://svnweb.freebsd.org/changeset/base/356562 Log: bcm2835_vcbus: hide 'checking root' messages under bootverbose Modified: head/sys/arm/broadcom/bcm2835/bcm2835_vcbus.c Modified: head/sys/arm/broadcom/bcm2835/bcm2835

svn commit: r356564 - head/sys/dev/usb/controller

2020-01-09 Thread Kyle Evans
Author: kevans Date: Thu Jan 9 19:22:11 2020 New Revision: 356564 URL: https://svnweb.freebsd.org/changeset/base/356564 Log: dwc_otg: fix fdt attachment for newer bcm2708-usb nodes The newer versions of RPi FDT flipped the order of the interrupts specification and added an 'interrupt-nam

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

2020-01-10 Thread Kyle Evans
Author: kevans Date: Fri Jan 10 14:09:59 2020 New Revision: 356600 URL: https://svnweb.freebsd.org/changeset/base/356600 Log: a10_ahci: grab the target-supply regulator and enable it This regulator is marked regulator-boot-on, but it will get shutdown if it's not actually used/enabled by

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

2020-01-10 Thread Kyle Evans
Author: kevans Date: Fri Jan 10 14:40:04 2020 New Revision: 356601 URL: https://svnweb.freebsd.org/changeset/base/356601 Log: inetd: free WITHOUT_INET6_SUPPORT build of warnings If inetd is compiled without inet6 support, we need to error out on rpc+inet6 services rather than attempting t

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

2020-01-10 Thread Kyle Evans
Author: kevans Date: Fri Jan 10 14:43:57 2020 New Revision: 356602 URL: https://svnweb.freebsd.org/changeset/base/356602 Log: inetd: two more nits Use __COPYRIGHT for copyright to simply either embed it via .ident or have it properly marked __unused Move an ipsec reference to IPSEC

svn commit: r356603 - head/sys/tools

2020-01-10 Thread Kyle Evans
Author: kevans Date: Fri Jan 10 18:22:14 2020 New Revision: 356603 URL: https://svnweb.freebsd.org/changeset/base/356603 Log: makesyscalls.lua: generate all files in /tmp, write into place at the end This makes makesyscalls.lua more parallel-friendly, or at least not as hostile to the ide

svn commit: r356604 - in head/sys: amd64/linux amd64/linux32 arm/linux arm64/linux compat/cloudabi32 compat/cloudabi64 compat/freebsd32 i386/linux kern

2020-01-10 Thread Kyle Evans
Author: kevans Date: Fri Jan 10 18:24:17 2020 New Revision: 356604 URL: https://svnweb.freebsd.org/changeset/base/356604 Log: Set .ORDER for makesyscalls generated files When either makesyscalls.lua or syscalls.master changes, all of the ${GENERATED} targets are now out-of-date. With make

svn commit: r356614 - head/tests/sys/fs/fusefs

2020-01-10 Thread Kyle Evans
Author: kevans Date: Fri Jan 10 21:51:27 2020 New Revision: 356614 URL: https://svnweb.freebsd.org/changeset/base/356614 Log: tests: fusefs: silence remaining unsigned/signed comparison warnings External GCC turns these into errors; cast to long to silence them. Reviewed by: asomers

svn commit: r356617 - head/usr.sbin/camdd

2020-01-10 Thread Kyle Evans
Author: kevans Date: Fri Jan 10 22:20:23 2020 New Revision: 356617 URL: https://svnweb.freebsd.org/changeset/base/356617 Log: camdd: initialize devs earlier GCC9 points out that devs may be used initialized after the bailout label; in-fact, if num_io_opts != 2 then it is. Move the initial

svn commit: r356649 - head/sys/dev/extres/regulator

2020-01-11 Thread Kyle Evans
Author: kevans Date: Sun Jan 12 04:07:03 2020 New Revision: 356649 URL: https://svnweb.freebsd.org/changeset/base/356649 Log: regulator: small enhancements to regulator_shutdown Highlights: - Exit early if we're not disabling unused regulators; there's no need to take the regulator

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

2020-01-11 Thread Kyle Evans
Author: kevans Date: Sun Jan 12 04:18:36 2020 New Revision: 356650 URL: https://svnweb.freebsd.org/changeset/base/356650 Log: Makefile.inc1: push /usr/libexec into the BPATH/TMPPATH ${WORLDTMP}/legacy/usr/libexec will only have libexec/ bits that we've pushed as bootstrap tools, so this i

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

2020-01-13 Thread Kyle Evans
Author: kevans Date: Mon Jan 13 17:02:42 2020 New Revision: 356688 URL: https://svnweb.freebsd.org/changeset/base/356688 Log: Install tap(4) manpage as vmnet(4) as well If one comes across a vmnet interface, this is a useful pointer to have towards what it actually is if they're otherwise

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

2020-01-13 Thread Kyle Evans
Author: kevans Date: Mon Jan 13 18:26:27 2020 New Revision: 356694 URL: https://svnweb.freebsd.org/changeset/base/356694 Log: tap(4): also note that we drop configured addresses This provides a specific pointer for users of tap(4) to understand why their interfaces are losing their addres

Re: svn commit: r356695 - head/usr.bin/diff

2020-01-14 Thread Kyle Evans
On Tue, Jan 14, 2020 at 6:12 AM Li-Wen Hsu wrote: > > On Tue, Jan 14, 2020 at 2:29 AM Mark Johnston wrote: > > > > Author: markj > > Date: Mon Jan 13 18:29:47 2020 > > New Revision: 356695 > > URL: https://svnweb.freebsd.org/changeset/base/356695 > > > > Log: > > Optimize diff -q. > > > > Onc

svn commit: r356735 - in head: lib/csu/tests/dso lib/libc++ lib/libcxxrt lib/libgcc_eh lib/libpmc share/mk

2020-01-14 Thread Kyle Evans
Author: kevans Date: Tue Jan 14 17:50:13 2020 New Revision: 356735 URL: https://svnweb.freebsd.org/changeset/base/356735 Log: Revert r353140: Re-add ALLOW_MIPS_SHARED_TEXTREL, sprinkle it around arichardson has an actual fix for the same issue that this was working around; given that we d

svn commit: r356761 - head/sys/conf

2020-01-15 Thread Kyle Evans
Author: kevans Date: Wed Jan 15 15:59:32 2020 New Revision: 356761 URL: https://svnweb.freebsd.org/changeset/base/356761 Log: mips trampoline: don't bother with unwind tables The utility here seems somewhat limited, but clang will attempt to generate .eh_frame and actively fail in doing s

Re: svn commit: r356801 - head/sys/netgraph

2020-01-16 Thread Kyle Evans
ange. > > Submitted by: aleksandr.fedorov_vstack_com > Approved by: kevans > Differential Revision:https://reviews.freebsd.org/D23168 > Err, I was kinda wanting to get a sanity check from Julian before proceeding on this... I've CC'd him here, patch included below sin

svn commit: r356849 - head/sys/arm/broadcom/bcm2835

2020-01-17 Thread Kyle Evans
Author: kevans Date: Fri Jan 17 21:39:28 2020 New Revision: 356849 URL: https://svnweb.freebsd.org/changeset/base/356849 Log: bcm2835_vcbus: unifdef all platform definitions Raspberry Pi are all over the board, and the reality is that there's no harm in including all of the definitions by

svn commit: r356868 - in head/sys: amd64/linux amd64/linux32 arm/linux arm64/linux compat/cloudabi32 compat/cloudabi64 compat/freebsd32 conf i386/linux kern

2020-01-18 Thread Kyle Evans
Author: kevans Date: Sat Jan 18 20:37:45 2020 New Revision: 356868 URL: https://svnweb.freebsd.org/changeset/base/356868 Log: sysent targets: further cleanup and deduplication r355473 vastly improved the readability and cleanliness of these Makefiles. Every single one of them follows the

svn commit: r356876 - head/cddl/contrib/opensolaris/lib/libzfs/common

2020-01-18 Thread Kyle Evans
Author: kevans Date: Sun Jan 19 02:45:02 2020 New Revision: 356876 URL: https://svnweb.freebsd.org/changeset/base/356876 Log: libzfs: add zfs_mount_at This will be used in libbe in place of the internal zmount(); libbe only wants to be able to mount a dataset at an arbitrary mountpoint wi

svn commit: r356877 - head/lib/libbe

2020-01-18 Thread Kyle Evans
Author: kevans Date: Sun Jan 19 02:48:56 2020 New Revision: 356877 URL: https://svnweb.freebsd.org/changeset/base/356877 Log: libbe: use the new zfs_mount_at() More background is available in r356876, but this new interface is more portable across ZFS implementations and cleaner for what

svn commit: r356937 - head/sys/conf

2020-01-20 Thread Kyle Evans
Author: kevans Date: Tue Jan 21 05:01:11 2020 New Revision: 356937 URL: https://svnweb.freebsd.org/changeset/base/356937 Log: sysent.mk: split interpreter out of target command The main objective here is to make it easy to identify what needs to change in order to use a different sysent g

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

2020-01-21 Thread Kyle Evans
Author: kevans Date: Tue Jan 21 22:02:53 2020 New Revision: 356951 URL: https://svnweb.freebsd.org/changeset/base/356951 Log: posix_spawn: mark error as volatile In the case of an error, the RFSPAWN'd thread will write back to psa->error with the correct exit code. Mark this as volatile a

svn commit: r356985 - head/etc

2020-01-22 Thread Kyle Evans
Author: kevans Date: Wed Jan 22 14:07:27 2020 New Revision: 356985 URL: https://svnweb.freebsd.org/changeset/base/356985 Log: Tag os-release symlink with package=runtime This ensures it gets into pkgbase-(installed/updated) systems. Modified: head/etc/Makefile Modified: head/etc/Makefil

svn commit: r356994 - head/include

2020-01-22 Thread Kyle Evans
Author: kevans Date: Wed Jan 22 20:53:25 2020 New Revision: 356994 URL: https://svnweb.freebsd.org/changeset/base/356994 Log: Mark rfork(2) as __returns_twice rfork is not generally a built-in that would be recognized as behaving like vfork/fork; provide the hint. Modified: head/includ

svn commit: r357067 - in head: lib/libbe lib/libbe/tests sbin/bectl

2020-01-23 Thread Kyle Evans
bbe/be_access.c == --- head/lib/libbe/be_access.c Fri Jan 24 01:39:29 2020(r357066) +++ head/lib/libbe/be_access.c Fri Jan 24 02:18:09 2020(r357067) @@ -4,7 +4,6 @@ * Copyright (c) 2017 Kyle J. Kneitinger * Copyright (c) 2018 Kyle Evans * Copyright (c) 2019 We

svn commit: r357084 - head/secure/caroot

2020-01-24 Thread Kyle Evans
Author: kevans Date: Fri Jan 24 16:43:02 2020 New Revision: 357084 URL: https://svnweb.freebsd.org/changeset/base/357084 Log: caroot: use bsd.obj.mk, not bsd.prog.mk This directory stages certdata into .OBJDIR and processes it, but does not actually build a prog-shaped object; bsd.obj.mk

svn commit: r357103 - head/stand/lua

2020-01-24 Thread Kyle Evans
Author: kevans Date: Sat Jan 25 03:02:45 2020 New Revision: 357103 URL: https://svnweb.freebsd.org/changeset/base/357103 Log: loader.lua: re-arrange to load local.lua *after* config loading The major problem with the current ordering is that loader.conf may contain all of the magic we nee

svn commit: r357104 - head/stand/lua

2020-01-24 Thread Kyle Evans
Author: kevans Date: Sat Jan 25 03:52:16 2020 New Revision: 357104 URL: https://svnweb.freebsd.org/changeset/base/357104 Log: lua: add modules.loaded hook This may be used for the local module to hook in and load any additional modules that it wants, since it can't modify the modules tabl

svn commit: r357193 - head/secure/caroot/blacklisted

2020-01-27 Thread Kyle Evans
Author: kevans Date: Tue Jan 28 03:02:18 2020 New Revision: 357193 URL: https://svnweb.freebsd.org/changeset/base/357193 Log: caroot: blacklisted: automatically pick up *.pem in the tree This kind of automagica got picked up in trusted/ prior to the initial commit, but never got applied o

svn commit: r357195 - head/contrib/netbsd-tests/lib/libc/c063

2020-01-27 Thread Kyle Evans
Author: kevans Date: Tue Jan 28 03:47:29 2020 New Revision: 357195 URL: https://svnweb.freebsd.org/changeset/base/357195 Log: netbsd-tests: libc: use correct modes in O_SEARCH tests The current code clearly intended for these to be octal based on the values used, but the octal prefix was

svn commit: r357257 - head/release/packages

2020-01-29 Thread Kyle Evans
Author: kevans Date: Wed Jan 29 16:24:16 2020 New Revision: 357257 URL: https://svnweb.freebsd.org/changeset/base/357257 Log: pkgbase: kill off clibs.ucl and docs.ucl These are just direct copies of the template. If they don't exist but are attempted to be used, generate-ucl.sh will simpl

svn commit: r357264 - in head: etc/mtree release/packages secure/caroot

2020-01-29 Thread Kyle Evans
Author: kevans Date: Wed Jan 29 18:47:08 2020 New Revision: 357264 URL: https://svnweb.freebsd.org/changeset/base/357264 Log: pkgbase: fix caroot packaging and add post-install script The original intention for caroot was to be packaged separately, perhaps so that users can have a more/le

svn commit: r357265 - head/sys/conf

2020-01-29 Thread Kyle Evans
Author: kevans Date: Wed Jan 29 18:50:55 2020 New Revision: 357265 URL: https://svnweb.freebsd.org/changeset/base/357265 Log: kmod build: start generating opt_global.h, include it For untied module builds, we'll generate opt_foo headers if they're included in SRCS. However, options that w

svn commit: r357266 - head/sys/conf

2020-01-29 Thread Kyle Evans
Author: kevans Date: Wed Jan 29 18:54:21 2020 New Revision: 357266 URL: https://svnweb.freebsd.org/changeset/base/357266 Log: mips: unbreak module builds after r357265 Touch opt_global.h to make sure it exists... Pointy hat: kevans Modified: head/sys/conf/config.mk Modified: head

svn commit: r357274 - head/sys/conf

2020-01-29 Thread Kyle Evans
Author: kevans Date: Wed Jan 29 22:40:13 2020 New Revision: 357274 URL: https://svnweb.freebsd.org/changeset/base/357274 Log: config.mk: #define MAC as well MAC is also almost universally a default; every GENERIC includes it, and it's std.armv[67]. mips is again the oddball here with it o

svn commit: r357275 - in head/sys/modules: if_lagg if_vlan

2020-01-29 Thread Kyle Evans
Author: kevans Date: Wed Jan 29 22:43:56 2020 New Revision: 357275 URL: https://svnweb.freebsd.org/changeset/base/357275 Log: modules: adding some missing opt_* dependencies if_vlan grew a dependency on opt_inet6.h in r356993 if_lagg and if_vlan both grew a dependency on opt_kern_tls.h in

svn commit: r357283 - head/release/packages

2020-01-29 Thread Kyle Evans
Author: kevans Date: Thu Jan 30 03:01:00 2020 New Revision: 357283 URL: https://svnweb.freebsd.org/changeset/base/357283 Log: pkgbase: generate dependencies in generate-ucl.sh This cuts out a large chunk of duplicated *.ucl files that just needed dependencies tacked on, and gives generate

svn commit: r357284 - in head: include lib/libc/stdio

2020-01-29 Thread Kyle Evans
Author: kevans Date: Thu Jan 30 03:31:16 2020 New Revision: 357284 URL: https://svnweb.freebsd.org/changeset/base/357284 Log: stdio: provide _unlocked variants of fflush, fputc, fputs, fread, fwrite fflush_unlocked is currently desired in ports by sysutils/metalog, and redefined as the lo

svn commit: r357335 - head/release/arm64

2020-01-31 Thread Kyle Evans
Author: kevans Date: Fri Jan 31 15:56:08 2020 New Revision: 357335 URL: https://svnweb.freebsd.org/changeset/base/357335 Log: RPI3: Add RPi4 firmware files to the FAT partition I've discovered I have this local diff that never got committed -- this should have been a part of r355424.

svn commit: r357410 - head/sys/fs/pseudofs

2020-02-02 Thread Kyle Evans
Author: kevans Date: Sun Feb 2 15:36:12 2020 New Revision: 357410 URL: https://svnweb.freebsd.org/changeset/base/357410 Log: pseudofs: don't do VEXEC check in VOP_CACHEDLOOKUP VOP_CACHEDLOOKUP should assume that the appropriate VEXEC check has been done in the caller (vfs_cache_lookup),

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

2020-02-02 Thread Kyle Evans
Author: kevans Date: Sun Feb 2 16:10:33 2020 New Revision: 357411 URL: https://svnweb.freebsd.org/changeset/base/357411 Log: zfs: light refactor to indicate cachedlookup in zfs_lookup If we come from VOP_CACHEDLOOKUP, we must skip the VEXEC check as it will have been done in the caller (

svn commit: r357412 - in head: contrib/netbsd-tests/lib/libc/c063 lib/libc/sys lib/libc/tests/c063 sys/cddl/contrib/opensolaris/uts/common/fs/zfs sys/fs/devfs sys/fs/fuse sys/fs/nfsclient sys/fs/sm...

2020-02-02 Thread Kyle Evans
Author: kevans Date: Sun Feb 2 16:34:57 2020 New Revision: 357412 URL: https://svnweb.freebsd.org/changeset/base/357412 Log: Provide O_SEARCH O_SEARCH is defined by POSIX [0] to open a directory for searching, skipping permissions checks on the directory itself after the initial open().

svn commit: r357419 - in head: include lib/libc/stdio

2020-02-02 Thread Kyle Evans
Author: kevans Date: Sun Feb 2 19:45:12 2020 New Revision: 357419 URL: https://svnweb.freebsd.org/changeset/base/357419 Log: libc: provide fputc_unlocked Among the same justification as the other stdio _unlocked; in addition to an inline version in , we must provide a function in libc as

Re: svn commit: r357284 - in head: include lib/libc/stdio

2020-02-02 Thread Kyle Evans
On Sun, Feb 2, 2020 at 12:57 AM Antoine Brodin wrote: > > On Thu, Jan 30, 2020 at 4:31 AM Kyle Evans wrote: > > > > Author: kevans > > Date: Thu Jan 30 03:31:16 2020 > > New Revision: 357284 > > URL: https://svnweb.freebsd.org/changeset/base/357284 > &g

svn commit: r357461 - head/sys/kern

2020-02-03 Thread Kyle Evans
Author: kevans Date: Mon Feb 3 18:59:07 2020 New Revision: 357461 URL: https://svnweb.freebsd.org/changeset/base/357461 Log: namei: preserve errors from fget_cap_locked Most notably, we want to make sure we don't clobber any capabilities-related errors. This is a regression from r357412

svn commit: r357509 - head/sys/dev/atkbdc

2020-02-04 Thread Kyle Evans
Author: kevans Date: Tue Feb 4 18:29:06 2020 New Revision: 357509 URL: https://svnweb.freebsd.org/changeset/base/357509 Log: psm: release resources on attach failure In exactly 1/3 cases we'll release resources on failure; touch up the other two to do so as well. Modified: head/sys/de

svn commit: r357510 - head/sys/dev/atkbdc

2020-02-04 Thread Kyle Evans
Author: kevans Date: Tue Feb 4 18:45:28 2020 New Revision: 357510 URL: https://svnweb.freebsd.org/changeset/base/357510 Log: psm: use make_dev_s instead of make_dev This most importantly reduces duplication, but it also removes any potential race with usage of dev->si_drv1 since it's now

svn commit: r357543 - in head: share/mk tools/build/options usr.sbin usr.sbin/simple_httpd

2020-02-04 Thread Kyle Evans
Author: kevans Date: Tue Feb 4 21:27:39 2020 New Revision: 357543 URL: https://svnweb.freebsd.org/changeset/base/357543 Log: Remove simple_httpd simple_httpd was granted a reprieve from the picobsd removal based on having some reported user; it turns out this user isn't actually using th

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

2020-02-04 Thread Kyle Evans
Author: kevans Date: Tue Feb 4 21:28:04 2020 New Revision: 357544 URL: https://svnweb.freebsd.org/changeset/base/357544 Log: src.conf(5): regen after r357543, HTTPD removal Modified: head/share/man/man5/src.conf.5 Modified: head/share/man/man5/src.conf.5

svn commit: r357545 - head

2020-02-04 Thread Kyle Evans
Author: kevans Date: Tue Feb 4 21:43:39 2020 New Revision: 357545 URL: https://svnweb.freebsd.org/changeset/base/357545 Log: ObsoleteFiles: Update after simple_httpd removal There should have perhaps been an entry in OptionalObsoleteFiles for it before, but alas- let it be removed now wi

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

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

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

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

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

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 >

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

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

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

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

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.

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

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

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

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

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

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-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To u

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

<    3   4   5   6   7   8   9   10   11   12   >