Page MenuHomeFreeBSD

kevans (Kyle Evans)
User

Projects (10)

User Details

User Since
Oct 2 2015, 1:17 PM (545 w, 4 d)

Recent Activity

Wed, Mar 11

kevans accepted D55802: yes: Add tests.
Wed, Mar 11, 2:41 AM

Tue, Mar 10

kevans added inline comments to D55802: yes: Add tests.
Tue, Mar 10, 6:49 PM

Mon, Mar 9

kevans committed rGbc531a96c9b2: stand: lua: break out a few more dirent types in lfs (authored by kevans).
stand: lua: break out a few more dirent types in lfs
Mon, Mar 9, 9:40 PM
kevans accepted D55713: core.lua: follow symlinks when looking for bootable kernels.

Thanks!

Mon, Mar 9, 9:33 PM
kevans accepted D55709: system(3): Address test robustness issue.

Agreed out-of-band that it's fine to defer testing both behaviors for the time being

Mon, Mar 9, 8:36 PM
kevans added a comment to D55713: core.lua: follow symlinks when looking for bootable kernels.

Throw this diff on top, please, and we have a deal:

Mon, Mar 9, 8:16 PM
kevans added inline comments to D55709: system(3): Address test robustness issue.
Mon, Mar 9, 2:34 PM

Sun, Mar 8

kevans added inline comments to D55669: libutil: convert the trimdomain tests to atf-c(3).
Sun, Mar 8, 3:06 PM
kevans added a comment to D55713: core.lua: follow symlinks when looking for bootable kernels.

At first I tried to find a DL_* that would identify a symlink but could not (I think I tried DT_LNK). I also tried debugging the logic using lua from the command line but wasn't easily able to figure out how to use the luafilesystem port from the command line...

I recently learned enough lua to write a wireshark dissector and was *not* impressed with the online documentation available.

I'm willing to take another run at this; where are the DL_* tokens defined?

Sun, Mar 8, 1:42 AM
kevans added inline comments to D55713: core.lua: follow symlinks when looking for bootable kernels.
Sun, Mar 8, 12:41 AM

Sat, Mar 7

kevans requested review of D55703: kern: mac: bump the MAC_VERSION for 16.x.
Sat, Mar 7, 3:59 AM
kevans requested review of D55702: kern: mac: sprinkle a bit of const correctness.
Sat, Mar 7, 3:59 AM

Thu, Mar 5

kevans requested review of D55675: 14.4/relnotes: tweak the entry about child jail tampering.
Thu, Mar 5, 7:05 PM
kevans closed D54956: 15.0/relnotes: document allow.unprivileged_parent_tampering.
Thu, Mar 5, 6:53 PM
kevans committed R9:d7b972c0c279: 15.0/relnotes: document allow.unprivileged_parent_tampering (authored by kevans).
15.0/relnotes: document allow.unprivileged_parent_tampering
Thu, Mar 5, 6:53 PM
kevans requested review of D55669: libutil: convert the trimdomain tests to atf-c(3).
Thu, Mar 5, 3:21 PM

Wed, Mar 4

kevans added inline comments to D55597: sys/kern/subr_firmware: implement firmware_path search path.
Wed, Mar 4, 10:16 PM · Contributor Reviews (src)
kevans accepted D55648: system(3): Unwrap execve().
Wed, Mar 4, 2:49 PM
kevans accepted D55617: yes: Completely overengineer.

Happy with this as long as we tag the getopt-related incompatibility for relnotes. I suspect it's not a problem in practice, but we should still call it out.

Wed, Mar 4, 2:28 PM

Tue, Mar 3

kevans committed rGf268f95955f5: libutil: avoid an out-of-bounds read in trimdomain(3) (authored by kevans).
libutil: avoid an out-of-bounds read in trimdomain(3)
Tue, Mar 3, 10:51 PM
kevans committed rG7e70589b1bee: libutil: take a size_t in trimdomain() (authored by kevans).
libutil: take a size_t in trimdomain()
Tue, Mar 3, 10:51 PM
kevans closed D54623: libutil: avoid an out-of-bounds read in trimdomain(3).
Tue, Mar 3, 10:51 PM
kevans closed D54622: libutil: take a size_t in trimdomain().
Tue, Mar 3, 10:51 PM

Sun, Mar 1

kevans updated the diff for D55601: kern: vfs: add MAC checks for mount/unmount/update.

Add flags to the mount_check_update for policies that may want to reject a
forced-unmount or handle unmount by-fsid differently

Sun, Mar 1, 4:22 PM
kevans added a comment to D55601: kern: vfs: add MAC checks for mount/unmount/update.

My draft policy that uses 2/3 is here: https://git.kevans.dev/kevans/mac_capsule/src/branch/main/mac_capsule.c -- my capsule implementation tries to prevent its parent from gaining visibility or operating in an active capsule's fs. This is somewhat effective because the capsule also can't be removed, so tampering with its fs means you'll need to catch it in the window between system startup and capsule startup, however narrow or wide that may be, or have physical access.

Sun, Mar 1, 5:36 AM
kevans requested review of D55601: kern: vfs: add MAC checks for mount/unmount/update.
Sun, Mar 1, 5:34 AM
kevans committed rG6da9d465c54b: bhyveload: simplify cb_open() and eliminate minor TOCTOU (authored by kevans).
bhyveload: simplify cb_open() and eliminate minor TOCTOU
Sun, Mar 1, 3:24 AM
kevans closed D55379: bhyveload: simplify cb_open() and eliminate minor TOCTOU.
Sun, Mar 1, 3:24 AM
kevans updated the diff for D50733: libc: locale: fix some assumptions that wchar_t cannot be signed.

Remove useless cast

Sun, Mar 1, 3:21 AM
kevans requested review of D55600: grep: keep track of eof state, avoid hanging.
Sun, Mar 1, 3:18 AM

Sat, Feb 28

kevans accepted D55596: libiscsiutil: Record dependency on libmd.
Sat, Feb 28, 6:10 PM

Fri, Feb 27

kevans added inline comments to D55541: nvme: Don't active memory space until all BARs are configured.
Fri, Feb 27, 8:15 PM

Thu, Feb 26

kevans added inline comments to D50733: libc: locale: fix some assumptions that wchar_t cannot be signed.
Thu, Feb 26, 11:53 PM

Wed, Feb 25

kevans accepted D55483: system(3): Clarify return values.
Wed, Feb 25, 8:31 PM
kevans accepted D55484: system(3): Fix null case.
Wed, Feb 25, 8:29 PM
kevans accepted D55471: system(3): Improve signal handling.
Wed, Feb 25, 8:22 PM

Tue, Feb 24

kevans added inline comments to D55471: system(3): Improve signal handling.
Tue, Feb 24, 5:40 PM
kevans accepted D55482: system(3): Write our own tests.
Tue, Feb 24, 5:36 PM
kevans accepted D55482: system(3): Write our own tests.
Tue, Feb 24, 5:32 PM
kevans accepted D55490: kern/sched_shims.c: back to ifunc.
Tue, Feb 24, 4:24 PM
kevans committed rG686280c0fdc4: libjail: avoid a double-free in the MAC label bits (authored by kevans).
libjail: avoid a double-free in the MAC label bits
Tue, Feb 24, 6:00 AM

Thu, Feb 19

kevans requested review of D55379: bhyveload: simplify cb_open() and eliminate minor TOCTOU.
Thu, Feb 19, 5:04 PM

Wed, Feb 18

kevans requested review of D55359: lualoader: allow the local module to filter out the BE list.
Wed, Feb 18, 5:31 PM

Tue, Feb 17

kevans added inline comments to D54622: libutil: take a size_t in trimdomain().
Tue, Feb 17, 6:06 PM
kevans added a comment to D55323: <sys/extattr.h>: use designated initializers for EXTATTR_NAMESPACE_NAMES.
In D55323#1265205, @kib wrote:

AFAIR this is not a valid C++, if anybody cares.

Tue, Feb 17, 5:20 AM
kevans requested review of D55323: <sys/extattr.h>: use designated initializers for EXTATTR_NAMESPACE_NAMES.
Tue, Feb 17, 5:08 AM
kevans updated the diff for D55286: find: add -xattr and -xttrname.

Address review feedback

Tue, Feb 17, 5:00 AM

Feb 15 2026

kevans added a comment to D55286: find: add -xattr and -xttrname.
In D55286#1264421, @kib wrote:

Do we want to accept e.g. 'random_garbage:aaa' as the xattr name? I.e., if user put non-existing namespace before ':' should we silently do not find anything?

Feb 15 2026, 4:41 AM

Feb 14 2026

kevans added a reviewer for D55286: find: add -xattr and -xttrname: rmacklem.
Feb 14 2026, 8:48 PM
kevans requested review of D55286: find: add -xattr and -xttrname.
Feb 14 2026, 7:58 PM
kevans committed rG99e138f20a9b: kern: mac: add a prison_cleanup entry point (authored by kevans).
kern: mac: add a prison_cleanup entry point
Feb 14 2026, 4:23 AM
kevans closed D54833: kern: mac: add a prison_cleanup entry point.
Feb 14 2026, 4:23 AM

Feb 13 2026

kevans accepted D55261: diff: Tweak range of -C and -U arguments.
Feb 13 2026, 8:12 PM
kevans accepted D55262: diff: Tweak recursion tests.
Feb 13 2026, 8:11 PM
kevans accepted D55277: timeout: Clean up.
Feb 13 2026, 8:10 PM

Feb 12 2026

kevans accepted D55261: diff: Tweak range of -C and -U arguments.
Feb 12 2026, 2:13 PM
kevans added a comment to D55257: ngctl: Modernize code somewhat.

Tentatively seems fine, I'll do another pass tomorrow

Feb 12 2026, 5:54 AM

Feb 11 2026

kevans committed rG7bf81e39d830: ls: check fts_children() for errors that may not surface otherwise (authored by kevans).
ls: check fts_children() for errors that may not surface otherwise
Feb 11 2026, 7:57 PM
kevans closed D51056: ls: check fts_children() for errors that may not surface otherwise.
Feb 11 2026, 7:57 PM
kevans added inline comments to D51056: ls: check fts_children() for errors that may not surface otherwise.
Feb 11 2026, 7:34 PM
kevans accepted D55167: cp: Expect EINTR while copying.
Feb 11 2026, 3:16 PM
kevans accepted D55168: install: Expect EINTR while copying.

Thanks!

Feb 11 2026, 3:14 PM
kevans accepted D55248: diff: Improve directory loop detection.
Feb 11 2026, 3:13 PM
kevans accepted D55248: diff: Improve directory loop detection.
Feb 11 2026, 2:39 PM
kevans updated subscribers of D53472: Add loader support for xhci debug.
Feb 11 2026, 12:28 PM
kevans added inline comments to D53472: Add loader support for xhci debug.
Feb 11 2026, 4:24 AM

Feb 10 2026

kevans added inline comments to D55168: install: Expect EINTR while copying.
Feb 10 2026, 10:26 PM
kevans added inline comments to D55168: install: Expect EINTR while copying.
Feb 10 2026, 2:34 PM

Feb 9 2026

kevans committed rGbb0734cf2446: ObsoleteFiles: remove the shar(1) manpage as well (authored by herbert_mailbox.org).
ObsoleteFiles: remove the shar(1) manpage as well
Feb 9 2026, 2:50 PM

Feb 7 2026

kevans accepted D54930: daemon: Add option for output file mode.
Feb 7 2026, 1:53 AM

Feb 6 2026

kevans added inline comments to D54930: daemon: Add option for output file mode.
Feb 6 2026, 5:34 PM
kevans added inline comments to D54930: daemon: Add option for output file mode.
Feb 6 2026, 5:33 PM
kevans committed rG93f482ab3e6b: release: Pass optional VM_IMAGE_CONFIG to vm-image (authored by guest-patmaddox).
release: Pass optional VM_IMAGE_CONFIG to vm-image
Feb 6 2026, 7:51 AM

Feb 5 2026

kevans accepted D55113: diff: Don't compare a file or directory to itself.
Feb 5 2026, 2:28 PM
kevans accepted D55112: diff: Fix pagination leak.
Feb 5 2026, 2:26 PM
kevans accepted D55111: diff: Add test case for pagination resource leak.
Feb 5 2026, 2:23 PM
kevans accepted D55110: diff: Fix integer overflows in Stone algorithm.
Feb 5 2026, 2:23 PM
kevans accepted D55109: diff: Print an error message on I/O error.
Feb 5 2026, 2:22 PM
kevans accepted D55108: libdiff: Simplify truncation detection.
Feb 5 2026, 2:22 PM
kevans accepted D55117: touch: Fix setting time of created file if fstat() fails.
Feb 5 2026, 4:53 AM
kevans committed rGabf911af2272: pkg: Fix mirror type parsing and service discovery (authored by Pavel Knoblokh <info@software-advisory.com.au>).
pkg: Fix mirror type parsing and service discovery
Feb 5 2026, 4:00 AM
kevans committed rG2e020c84cb5e: bectl: Add -E flag to create an empty boot environment (authored by guest-patmaddox).
bectl: Add -E flag to create an empty boot environment
Feb 5 2026, 3:56 AM
kevans committed rG5c9d988d865c: OptionalObsoleteFiles: Add etc/zfs/compatibility.d (authored by tembun_bk.ru).
OptionalObsoleteFiles: Add etc/zfs/compatibility.d
Feb 5 2026, 3:37 AM
kevans committed rG38a4995eb52d: tpm20: fix suspend/resume and entropy harvesting (authored by kevans).
tpm20: fix suspend/resume and entropy harvesting
Feb 5 2026, 3:37 AM
kevans closed D55074: tpm20: fix suspend/resume and entropy harvesting.
Feb 5 2026, 3:36 AM
kevans closed D54758: OptionalObsoleteFiles: Add etc/zfs/compatibility.d.
Feb 5 2026, 3:36 AM · ZFS

Feb 4 2026

kevans accepted D55087: sanitize.lua: A tool to extract interfaces from files.

Seems reasonable

Feb 4 2026, 8:13 PM
kevans added a comment to D54758: OptionalObsoleteFiles: Add etc/zfs/compatibility.d.

Perfect, thanks! I'll just smash them together pre-commit since you've tested the end result.

Feb 4 2026, 12:25 PM · ZFS
kevans added a comment to D54758: OptionalObsoleteFiles: Add etc/zfs/compatibility.d.

I was looking over this again- I think its' technically incomplete because we're missing its complement over in /usr/share for the system-distributed files: http://people.freebsd.org/~kevans/zfscompat.diff -- I haven't had a chance (machine) to test it, but it'd probably be good to land these together if you can confirm.

Feb 4 2026, 5:01 AM · ZFS

Feb 3 2026

kevans added a comment to D55074: tpm20: fix suspend/resume and entropy harvesting.

I'm gonna test it on my laptop but I believe you should uncomment tpm device on GENERIC together with this change

Feb 3 2026, 1:13 PM
kevans accepted D54758: OptionalObsoleteFiles: Add etc/zfs/compatibility.d.

I')l plan on landing this later today if nobody else beats me to it. I don't believe we expect anything on the system to populate it, but failing to remove this part of the tree if the sysadmin has would be the expected behavior IMO -- we do the helpful thing in the common case, and the safe thing otherwise.

Feb 3 2026, 11:02 AM · ZFS
kevans added a comment to D55074: tpm20: fix suspend/resume and entropy harvesting.

This has been lightly tested, but additional validation would be appreciated.

Feb 3 2026, 6:08 AM
kevans requested review of D55074: tpm20: fix suspend/resume and entropy harvesting.
Feb 3 2026, 6:08 AM
kevans committed rGe6fa918c4a3e: tpm: crb: add support for the Pluton startmethod (authored by kevans).
tpm: crb: add support for the Pluton startmethod
Feb 3 2026, 4:49 AM
kevans closed D53683: tpm: crb: add support for the Pluton startmethod.
Feb 3 2026, 4:49 AM
kevans committed rG5c6949e12ee6: kern: disallow user scheduling/debugging/signalling of jailed procs (authored by kevans).
kern: disallow user scheduling/debugging/signalling of jailed procs
Feb 3 2026, 4:39 AM
kevans committed rG56b9de5484bc: jail: separate "statically valid allow flags" from "prison0 allow flags" (authored by kevans).
jail: separate "statically valid allow flags" from "prison0 allow flags"
Feb 3 2026, 4:39 AM
kevans committed rGed3a2469a71e: uart: fix sleeping while holding mutex in uart_tty_detach() (authored by guest-seuros).
uart: fix sleeping while holding mutex in uart_tty_detach()
Feb 3 2026, 3:22 AM
kevans committed rGd3f21856aa72: rc: run the zfs rc script before tmp (authored by kevans).
rc: run the zfs rc script before tmp
Feb 3 2026, 3:22 AM
kevans closed D54953: uart: fix sleeping while holding mutex in uart_tty_detach().
Feb 3 2026, 3:22 AM