Page MenuHomeFreeBSD

kevans (Kyle Evans)
User

Projects (8)

User Details

User Since
Oct 2 2015, 1:17 PM (481 w, 3 d)

Recent Activity

Yesterday

kevans accepted D48178: makefs: Crudely fix a sprintf warning.
Mon, Dec 23, 4:38 AM

Sun, Dec 22

kevans accepted D48178: makefs: Crudely fix a sprintf warning.
Sun, Dec 22, 8:52 PM

Fri, Dec 20

kevans accepted D48162: contributing: Remove shar reference.

OK for the content change

Fri, Dec 20, 3:20 PM

Wed, Dec 18

kevans updated the diff for D48130: shar: add a deprecation notice.

Incorporate recommendation of highlighting why we want to deprecate it.

Wed, Dec 18, 3:06 PM
kevans requested review of D48130: shar: add a deprecation notice.
Wed, Dec 18, 2:22 AM

Tue, Dec 17

kevans added inline comments to D39740: if_tuntap: make SIOCIFDESTROY interruptible.
Tue, Dec 17, 10:50 PM
kevans committed rG92e237e1cc27: arm64: apple: re-align to recent standards (authored by kevans).
arm64: apple: re-align to recent standards
Tue, Dec 17, 3:39 PM
kevans updated the summary of D48120: arm64: add a driver for the uart found on Apple Silicon machines.
Tue, Dec 17, 2:54 PM
kevans requested review of D48120: arm64: add a driver for the uart found on Apple Silicon machines.
Tue, Dec 17, 2:45 PM
kevans committed rG04160e000898: arm64: add a driver for the Apple Interrupt Controller (authored by kevans).
arm64: add a driver for the Apple Interrupt Controller
Tue, Dec 17, 2:26 PM
kevans closed D48079: arm64: add a driver for the Apple Interrupt Controller.
Tue, Dec 17, 2:26 PM
kevans committed rG2eace89d00b3: arm64: add a driver for the Apple watchdog (authored by kevans).
arm64: add a driver for the Apple watchdog
Tue, Dec 17, 2:26 PM
kevans closed D39824: arm64: add a driver for the Apple watchdog.
Tue, Dec 17, 2:26 PM
kevans abandoned D48104: Add libpkgecc/libder.

Replaced with separated imports/build bits.

Tue, Dec 17, 4:55 AM
kevans requested review of D48117: secure: hook up libecc as libpkgecc.
Tue, Dec 17, 4:54 AM
kevans requested review of D48116: Import and hook up libder.
Tue, Dec 17, 4:38 AM
kevans committed rG9c40c4de4c33: Remove unwanted artifact from libder import (authored by kevans).
Remove unwanted artifact from libder import
Tue, Dec 17, 4:37 AM
kevans committed rG736d663976d1: Import libecc v0.9.7 (authored by kevans).
Import libecc v0.9.7
Tue, Dec 17, 4:20 AM
kevans committed rGefff9f8a94ab: Import libder v1.0 (authored by kevans).
Import libder v1.0
Tue, Dec 17, 4:18 AM
kevans updated the diff for D48079: arm64: add a driver for the Apple Interrupt Controller.

Strip "All rights reserved" at Anderw's request, upgrade dmb -> dsb.

Tue, Dec 17, 1:42 AM

Mon, Dec 16

kevans added inline comments to D48079: arm64: add a driver for the Apple Interrupt Controller.
Mon, Dec 16, 5:04 PM
kevans added inline comments to D48079: arm64: add a driver for the Apple Interrupt Controller.
Mon, Dec 16, 4:34 PM
kevans updated the diff for D48079: arm64: add a driver for the Apple Interrupt Controller.

Address review feedback

Mon, Dec 16, 4:33 PM
kevans added a comment to D48104: Add libpkgecc/libder.

Sorry, crap description that won't be used as-is. libecc and libder will be used for forthcoming ECC support in pkg(7).

Mon, Dec 16, 4:27 AM
kevans requested review of D48109: pkg: add a pkgsign_verify_data callback.
Mon, Dec 16, 4:26 AM
kevans requested review of D48108: pkg: finish adding the ECC signer and signature type bits.
Mon, Dec 16, 4:25 AM
kevans requested review of D48107: pkg: refactor out a pkg_read_fd().
Mon, Dec 16, 4:25 AM
kevans requested review of D48106: pkg: abstract rsa out behind a pkgsign API.
Mon, Dec 16, 4:25 AM
kevans requested review of D48105: pkg: pull rsa bits out of pkg.c.
Mon, Dec 16, 4:25 AM
kevans requested review of D48104: Add libpkgecc/libder.
Mon, Dec 16, 4:25 AM

Sun, Dec 15

kevans committed rG74ecdf86d8d2: Tweak ppoll() to include 1003.1-2024 visibility, take two (authored by kevans).
Tweak ppoll() to include 1003.1-2024 visibility, take two
Sun, Dec 15, 4:41 AM
kevans committed rG1a2a0db0a9ec: tests: kern: improve logsigexit test (authored by kevans).
tests: kern: improve logsigexit test
Sun, Dec 15, 4:41 AM

Sat, Dec 14

kevans added inline comments to D39740: if_tuntap: make SIOCIFDESTROY interruptible.
Sat, Dec 14, 6:55 PM
kevans added a reverting change for rG212d7f439aa3: Tweak ppoll() to include 1003.1-2024 visibility: rGda5aed38d80a: Revert "Tweak ppoll() to include 1003.1-2024 visibility".
Sat, Dec 14, 7:07 AM
kevans committed rGda5aed38d80a: Revert "Tweak ppoll() to include 1003.1-2024 visibility" (authored by kevans).
Revert "Tweak ppoll() to include 1003.1-2024 visibility"
Sat, Dec 14, 7:07 AM
kevans added a reverting change for D48043: Tweak ppoll() to include 1003.1-2024 visibility: rGda5aed38d80a: Revert "Tweak ppoll() to include 1003.1-2024 visibility".
Sat, Dec 14, 7:06 AM
kevans requested review of D48079: arm64: add a driver for the Apple Interrupt Controller.
Sat, Dec 14, 6:09 AM
kevans requested review of D48078: nvmf: fix build with __assert_unreachable() addition to userland.
Sat, Dec 14, 5:27 AM
kevans requested review of D48077: include: add a userland version of __assert_unreachable.
Sat, Dec 14, 5:26 AM
kevans committed rG9647bf242362: tests: kern: add some tests for recently added logsigexit (authored by kevans).
tests: kern: add some tests for recently added logsigexit
Sat, Dec 14, 5:19 AM
kevans closed D21903: Add per-process flag to disable logsigexit.
Sat, Dec 14, 5:19 AM
kevans committed rGdabf006a638f: Add per-process flag to disable logsigexit (authored by kevans).
Add per-process flag to disable logsigexit
Sat, Dec 14, 5:19 AM
kevans committed rG86b4df97d0fc: cat: report copy_file_range() errors with the read filename (authored by kevans).
cat: report copy_file_range() errors with the read filename
Sat, Dec 14, 4:33 AM
kevans closed D41784: cat: report copy_file_range() errors with the read filename.
Sat, Dec 14, 4:33 AM
kevans committed rG48b05b8fc248: loader: set boot_safe when safe mode is selected (authored by kevans).
loader: set boot_safe when safe mode is selected
Sat, Dec 14, 4:32 AM
kevans committed rG17aec740b0b2: devmatch: do nothing if booted in safe mode (authored by kevans).
devmatch: do nothing if booted in safe mode
Sat, Dec 14, 4:32 AM
kevans closed D32172: loader: set boot_safe=YES when safe mode is selected.
Sat, Dec 14, 4:32 AM
kevans requested review of D48076: rtld: restore abort for malformed environments while setuid.
Sat, Dec 14, 4:28 AM
kevans requested review of D48075: kern: osd: trash a slot's methods upon deregistration.
Sat, Dec 14, 4:21 AM
kevans requested review of D48074: kern: osd: abstract away the math for locating a slot method.
Sat, Dec 14, 4:21 AM
kevans committed rG212d7f439aa3: Tweak ppoll() to include 1003.1-2024 visibility (authored by kevans).
Tweak ppoll() to include 1003.1-2024 visibility
Sat, Dec 14, 4:16 AM
kevans closed D48043: Tweak ppoll() to include 1003.1-2024 visibility.
Sat, Dec 14, 4:16 AM
kevans added inline comments to D39740: if_tuntap: make SIOCIFDESTROY interruptible.
Sat, Dec 14, 1:19 AM

Fri, Dec 13

kevans updated the diff for D44200: tun(4)/tap(4): allow devices to be configured as transient.

Update following better tracking of our cloners, add a basic test as well

Fri, Dec 13, 5:18 AM
kevans added a comment to D39740: if_tuntap: make SIOCIFDESTROY interruptible.

Ping

Fri, Dec 13, 4:40 AM

Thu, Dec 12

kevans added inline comments to D48043: Tweak ppoll() to include 1003.1-2024 visibility.
Thu, Dec 12, 5:38 AM
kevans requested review of D48043: Tweak ppoll() to include 1003.1-2024 visibility.
Thu, Dec 12, 4:11 AM

Wed, Dec 11

kevans committed rG36a80f426435: usb: serial: make more commands execute synchronously (authored by kevans).
usb: serial: make more commands execute synchronously
Wed, Dec 11, 1:25 AM
kevans committed rG729eb176a465: usb: serial: allow the open/close sleep to be interruptible (authored by kevans).
usb: serial: allow the open/close sleep to be interruptible
Wed, Dec 11, 1:25 AM
kevans committed rG51f3d0874f62: usb: serial: propagate errors from ucom_queue_command() (authored by kevans).
usb: serial: propagate errors from ucom_queue_command()
Wed, Dec 11, 1:25 AM
kevans closed D47952: usb: serial: make more commands execute synchronously.
Wed, Dec 11, 1:25 AM
kevans closed D47951: usb: serial: allow the open/close sleep to be interruptible.
Wed, Dec 11, 1:25 AM
kevans closed D47950: usb: serial: propagate errors from ucom_queue_command().
Wed, Dec 11, 1:25 AM
kevans committed rG636d377264f5: release: vmimage: setup the default BE properly (authored by kevans).
release: vmimage: setup the default BE properly
Wed, Dec 11, 1:21 AM
kevans closed D48017: release: vmimage: setup the default BE properly.
Wed, Dec 11, 1:21 AM
kevans committed rGb10b9523f616: kern: fix naming for some AST-handler bits (authored by kevans).
kern: fix naming for some AST-handler bits
Wed, Dec 11, 12:38 AM

Tue, Dec 10

kevans committed rG9aac1584c846: pw: tests: add a test for -M with a pre-existing home directory (authored by jlduran).
pw: tests: add a test for -M with a pre-existing home directory
Tue, Dec 10, 11:39 PM
kevans committed rG9d8a178b38ed: pw: tests: add a test for -M with a pre-existing home directory (authored by jlduran).
pw: tests: add a test for -M with a pre-existing home directory
Tue, Dec 10, 11:39 PM
kevans committed rGb50d2127d971: pw: set the user's home directory mode if it existed (authored by kevans).
pw: set the user's home directory mode if it existed
Tue, Dec 10, 11:39 PM
kevans committed rG7ea2874eadf9: daemon: stop rebuilding the kqueue every restart of the child (authored by kevans).
daemon: stop rebuilding the kqueue every restart of the child
Tue, Dec 10, 11:38 PM
kevans committed rGe310a825c933: daemon: tests: add a test for missed SIGTERM (authored by kevans).
daemon: tests: add a test for missed SIGTERM
Tue, Dec 10, 11:38 PM
kevans committed rGaee794942130: daemon: truncate the pidfile when we're waiting to restart child (authored by kevans).
daemon: truncate the pidfile when we're waiting to restart child
Tue, Dec 10, 11:38 PM
kevans committed rG4bb1a558a281: daemon: stop rebuilding the kqueue every restart of the child (authored by kevans).
daemon: stop rebuilding the kqueue every restart of the child
Tue, Dec 10, 11:38 PM
kevans committed rG1eaaa55f2ba9: pw: set the user's home directory mode if it existed (authored by kevans).
pw: set the user's home directory mode if it existed
Tue, Dec 10, 11:38 PM
kevans committed rG067e3791d615: daemon: truncate the pidfile when we're waiting to restart child (authored by kevans).
daemon: truncate the pidfile when we're waiting to restart child
Tue, Dec 10, 11:38 PM
kevans committed rG57c60ec86246: daemon: tests: add a test for missed SIGTERM (authored by kevans).
daemon: tests: add a test for missed SIGTERM
Tue, Dec 10, 11:38 PM
kevans committed rGe5e44726d5af: kern: restore signal mask before ast() for pselect/ppoll (authored by kevans).
kern: restore signal mask before ast() for pselect/ppoll
Tue, Dec 10, 8:04 PM
kevans committed rGc4290f346662: kern: restore signal mask before ast() for pselect/ppoll (authored by kevans).
kern: restore signal mask before ast() for pselect/ppoll
Tue, Dec 10, 8:03 PM
kevans requested review of D48017: release: vmimage: setup the default BE properly.
Tue, Dec 10, 2:56 PM

Sat, Dec 7

kevans updated the diff for D47952: usb: serial: make more commands execute synchronously.

Return ENXIO for tty_gone in uart_command_barrier to match uart_command_queue,
convert it to ENODEV in the ioctl layer to match ttyil_ioctl.

Sat, Dec 7, 4:37 AM
kevans updated the diff for D47951: usb: serial: allow the open/close sleep to be interruptible.

Override cv_wait_sig() errors if neither of the tasks are currently enqueued,
because the caller doesn't actually care beyond that..

Sat, Dec 7, 4:31 AM
kevans updated the diff for D47950: usb: serial: propagate errors from ucom_queue_command().

Return ENXIO from ucom_queue_command; the ENOTTY conversion to ENXIO in some
callers goes away for now.

Sat, Dec 7, 4:28 AM
kevans added inline comments to D47950: usb: serial: propagate errors from ucom_queue_command().
Sat, Dec 7, 3:40 AM

Fri, Dec 6

kevans added a comment to D24459: (WIP) tty: split the tty lock up, make the primary tty lock sleepable.

This has been split into:

Fri, Dec 6, 10:04 PM
kevans requested review of D47952: usb: serial: make more commands execute synchronously.
Fri, Dec 6, 10:01 PM
kevans requested review of D47951: usb: serial: allow the open/close sleep to be interruptible.
Fri, Dec 6, 10:01 PM
kevans requested review of D47950: usb: serial: propagate errors from ucom_queue_command().
Fri, Dec 6, 10:01 PM
kevans added a comment to D24459: (WIP) tty: split the tty lock up, make the primary tty lock sleepable.
In D24459#1092986, @kib wrote:

Actually, it looks like our driver callbacks typically do timeouts when they actually submit to the controller: https://cgit.freebsd.org/src/tree/sys/dev/usb/serial/uftdi.c#n1688 -- so most of these should be reasonably bounded. Perhaps still good to be defensive, since I'm not about to audit every path out of usb_serial.c

I believe this is palliative. If you want to hold the lock around driver calls, then _tty_lock should do sx_sig_lock() and propagate the locking error back.

Fri, Dec 6, 1:24 AM

Thu, Dec 5

kevans added a comment to D24459: (WIP) tty: split the tty lock up, make the primary tty lock sleepable.

Actually, it looks like our driver callbacks typically do timeouts when they actually submit to the controller: https://cgit.freebsd.org/src/tree/sys/dev/usb/serial/uftdi.c#n1688 -- so most of these should be reasonably bounded.

Thu, Dec 5, 5:52 AM
kevans added a comment to D24459: (WIP) tty: split the tty lock up, make the primary tty lock sleepable.
In D24459#1092725, @kib wrote:
In D24459#1092714, @kib wrote:

So userspace might end up waiting uninterruptibly for hw to finish something?

Yes, though we could presumably implement usb_proc_mwait_sig() for an escape hatch. It would be an improvement even before this change, because open/close will both drop the tty lock and wait potentially uninterruptibly for the hardware.

Well, this might help with the driver thread itself, but what about user threads that happen to wait for the same sx? Your _tty_lock() is uninterruptible. This would cause lock cascade, and user needs to know which thread to kill to unblock the dependency chain.

Thu, Dec 5, 5:36 AM
kevans added a comment to D24459: (WIP) tty: split the tty lock up, make the primary tty lock sleepable.
In D24459#1092714, @kib wrote:

So userspace might end up waiting uninterruptibly for hw to finish something?

Thu, Dec 5, 5:08 AM

Wed, Dec 4

kevans added a comment to D24459: (WIP) tty: split the tty lock up, make the primary tty lock sleepable.
In D24459#1092380, @imp wrote:

This looks good from 10k feet, but I've not thought it all through.
I suspect this review is getting close to too long to easily review and some subsetting (like the tty_assert_locked -> ttydisc_assert_locked) might be helpful.
I'll look in more detail later, so far just one question, but it seems kinda basic to my understanding of the rest.

Wed, Dec 4, 3:49 PM
kevans added inline comments to D47911: Add information about joining the FreeBSD GitHub org.
Wed, Dec 4, 3:33 PM
kevans accepted D47907: init_main: Use TUNABLE_INT_FETCH to initialize verbose_sysinit.

Heh, whoops-

Wed, Dec 4, 3:28 PM
kevans updated the diff for D24459: (WIP) tty: split the tty lock up, make the primary tty lock sleepable.

Resurrect the tty lock split patch from the dead; better describe the sleeps we're wanting to enable -- the general idea is that anything coming in via the tty layer to a driver should sleep as needed so that we can meet thet usual termios promise that when, e.g., tcsetattr() returns, the change has actually taken effect. This is often important so that userland applications trying to configure a tty can get relative timing correct if there's some minimum requirement between operations they're doing.

Wed, Dec 4, 3:16 PM

Sun, Dec 1

kevans committed rGf7cf62cf728a: pw: tests: add a test for -M with a pre-existing home directory (authored by jlduran).
pw: tests: add a test for -M with a pre-existing home directory
Sun, Dec 1, 7:11 PM
kevans committed rG6a7238fd7c60: pw: set the user's home directory mode if it existed (authored by kevans).
pw: set the user's home directory mode if it existed
Sun, Dec 1, 7:11 PM
kevans closed D46443: pw: set the user's home directory mode if it existed.
Sun, Dec 1, 7:11 PM

Thu, Nov 28

kevans committed R11:9f0fc6e32e2b: sysutils/porch: update to v1.0 (authored by kevans).
sysutils/porch: update to v1.0
Thu, Nov 28, 4:50 AM

Wed, Nov 27

kevans committed rGed4b2d159459: _dl_iterate_phdr_locked(): fix libc and libdl (authored by kib).
_dl_iterate_phdr_locked(): fix libc and libdl
Wed, Nov 27, 1:18 AM