Page MenuHomeFreeBSD

brooks (Brooks Davis)
User

Projects (3)

User Details

User Since
Jul 1 2014, 6:02 PM (628 w, 4 d)

Recent Activity

Wed, Jul 15

brooks committed rGb3b4763bc1ed: sys/exterrvar.h: forward declare struct thread.
Wed, Jul 15, 9:33 AM
brooks committed rG844009378da9: exterr: allow exterr to fit pointers on CHERI targets.
Wed, Jul 15, 9:33 AM
brooks committed rGdb3eca2be206: exterrctl(2): add kern_exterrctl.
Wed, Jul 15, 9:33 AM

Wed, Jul 1

brooks committed rG524fb0444f3a: fetch.9: fix a typo.
Wed, Jul 1, 2:11 PM
brooks committed rG7f55dbe6ae89: CHERI: declare mem{cpy,move}_data.
Wed, Jul 1, 11:50 AM
brooks committed rGf14bdfefa41c: CHERI: add sooptcopyinptr to preserve pointer provenance.
Wed, Jul 1, 11:50 AM
brooks committed rG17602eb3eae9: CHERI: make mem{cpy,move}(9) CHERI compatible.
Wed, Jul 1, 11:50 AM

Mon, Jun 29

brooks committed rGa1c52e05f571: CHERI: declare fueptr and suptr.
Mon, Jun 29, 1:02 PM
brooks committed rGb517edb8deed: CHERI: declare copy{in,out}ptr{,_nofault}.
Mon, Jun 29, 1:02 PM

Fri, Jun 26

brooks committed rGb207b1562a2f: sys/systm.h: use __nodiscard consistently and correctly.
Fri, Jun 26, 4:48 PM
brooks committed rG2515e3f6776a: cdefs(9): encourage __nodiscard over __result_use_check.
Fri, Jun 26, 4:48 PM
brooks committed rG1366a87c9cb5: memory_model(7): create and document pointer provenance.
Fri, Jun 26, 11:26 AM

Thu, Jun 25

brooks committed rGb94f43890645: Add kernel manpages for bcopy, memcpy, and memmove.
Thu, Jun 25, 10:08 AM
brooks committed rG00b0ea95dfb3: arch.7: used title case for .Ss headings.
Thu, Jun 25, 10:08 AM

Sun, Jun 21

brooks committed rG015b890e28b8: mem*.3: stop refering to strings.
Sun, Jun 21, 4:50 PM
brooks committed rGfc9b28879e89: uiomove_*: centralize the copy function selection.
Sun, Jun 21, 4:15 PM
brooks committed rG8b47939b9522: uipc_socket: prefer memcpy to bcopy.
Sun, Jun 21, 4:15 PM
brooks committed rG2ee2ef607f60: pmap: prefer memcpy over bcopy.
Sun, Jun 21, 4:15 PM

Jun 2 2026

brooks committed R11:56cc9fbe6894: devel/llvm22: 22.1.7 Release.
Jun 2 2026, 2:13 PM

May 22 2026

brooks committed R11:d93834294928: devel/llvm??: remove libxml2 discovery.
May 22 2026, 11:40 AM
brooks committed R11:60439c5bb59d: devel/llvm22: 22.1.6 release.
May 22 2026, 11:40 AM

May 11 2026

brooks committed R11:4fc6c5e1c9a4: devel/llvm??: Add Mips back to standard backends.
May 11 2026, 9:29 AM

May 7 2026

brooks committed R11:ac22956dec79: devel/llvm22: 22.1.5 release.
May 7 2026, 11:22 AM
brooks committed R11:c3ff5350855c: devel/llvm22: 22.1.4 release.
May 7 2026, 11:22 AM
brooks committed R11:1b4aeeacd463: devel/llvm-{cheri,morello}: Remove obsolete patch.
May 7 2026, 11:22 AM

Apr 13 2026

brooks committed R11:d87609e18ef7: */*: remove checks that base ld is(n't) GNU ld.
Apr 13 2026, 2:16 PM

Apr 8 2026

brooks committed R11:0c89741b3756: devel/llvm22: 22.1.3 release.
Apr 8 2026, 9:52 PM

Mar 27 2026

brooks committed R11:ed313eabe5df: devel/qemu-cheri: update to a new snapshot.
Mar 27 2026, 4:32 PM
brooks committed R11:483a6fa9f087: devel/llvm22: 22.1.2 release.
Mar 27 2026, 4:32 PM
brooks committed R11:9bef81efd3d9: devel/llvm22: 22.1.1 release.
Mar 27 2026, 4:32 PM

Mar 13 2026

brooks committed rG3abef030d31a: Set errno to ENOMEM on rallocx() OOM failures (authored by Juhyung Park <qkrwngud825@gmail.com>).
Mar 13 2026, 9:14 AM
brooks committed rGb4d8d9bde083: rallocx path: only set errno on the realloc case. (authored by Qi Wang <interwq@gwu.edu>).
Mar 13 2026, 9:14 AM

Mar 9 2026

brooks committed rG5583b64f230f: Set errno to ENOMEM on rallocx() OOM failures (authored by Juhyung Park <qkrwngud825@gmail.com>).
Mar 9 2026, 12:38 PM
brooks committed rG2c5cd07828ad: rallocx path: only set errno on the realloc case. (authored by Qi Wang <interwq@gwu.edu>).
Mar 9 2026, 12:38 PM

Mar 5 2026

brooks committed rG4dd517acb694: libc/armv7: remove default version for alloca.
Mar 5 2026, 10:36 AM
brooks committed rGdb1ecd5854d4: getnetconfig: make nc_error a thread local variable.
Mar 5 2026, 10:31 AM
brooks committed rGea9bc8465830: cirrus-ci: move package_check after test.
Mar 5 2026, 10:25 AM

Feb 24 2026

brooks committed R11:52e12ad06a5e: devel/llvm{19,20,21,22}: don't set LLVM_ENABLE_TERMINFO=OFF.
Feb 24 2026, 11:26 AM
brooks committed R11:c85d06b4b634: devel/llvm22: 22.1.0 Release.
Feb 24 2026, 11:26 AM

Feb 23 2026

brooks committed rG0076f6d1ad05: sys/_offsetof.h: pacify GCC 12's macro redefinition check.
Feb 23 2026, 10:05 AM

Feb 19 2026

brooks committed rGdcbd1fccdc66: types.h: use central definition of offsetof().
Feb 19 2026, 4:26 PM
brooks committed rG89c3ae5fc9cc: build: add stddef.h to define ptraddr_t as required.
Feb 19 2026, 3:11 PM
brooks committed rG2adc3f0db187: stddef.h: centralize definition of offsetof().
Feb 19 2026, 3:11 PM
brooks committed rGa31127e6dfbf: sys/syscallsubr.h: assorted tidying.
Feb 19 2026, 3:11 PM
brooks committed rG1e1892795764: .github: support all stable branches.
Feb 19 2026, 3:11 PM
brooks committed rGcb59eec9ebbf: stddef.h: add ptraddr_t.
Feb 19 2026, 3:11 PM

Feb 18 2026

brooks committed R11:f59cd32a1a9b: Mk: add LLVM 22 in default versions list (authored by eric_camachat.org).
Feb 18 2026, 12:01 PM
brooks committed R11:1580588b79e4: devel/llvm22: 22.1.0-rc3.
Feb 18 2026, 12:01 PM

Feb 17 2026

brooks committed rGc4130a8a84e1: OpenSSL: install EVP_CIPHER_CTX_get_app_data.3 once.
Feb 17 2026, 6:25 PM

Feb 2 2026

brooks committed rG18d47c1856f4: rpc: correct resultproc_t's type.
Feb 2 2026, 9:21 PM
brooks committed rGe236502a997d: clnt_broadcast(3): fix eachresult argument type.
Feb 2 2026, 9:21 PM
brooks committed rG47413f23e503: clnt_broadcast(3): don't free function pointers.
Feb 2 2026, 9:21 PM
brooks committed R11:dcdd54847b9d: devel/llvm-cheri: new snapshot.
Feb 2 2026, 5:59 PM
brooks committed R11:75ec43cc2c95: devel/llvm-morello: new snapshot.
Feb 2 2026, 5:59 PM
brooks committed R11:7c32287b8d20: devel/llvm22: 22.1.0 RC2.
Feb 2 2026, 5:59 PM

Jan 23 2026

brooks committed rGac5a19ec6989: rpc/xdr.h: make xdrproc_t always take two arguments.
Jan 23 2026, 11:07 AM

Jan 20 2026

brooks accepted D54797: rpctls_impl.c: Use a direct cast to uintptr_t instead of __DECONST.
Jan 20 2026, 5:49 PM

Jan 19 2026

brooks added a comment to D54770: queue.3: splist into slist.3, stailq.3, list.3, and tailq.3.

I like the idea of the split, but I'm not convinced queue.3 should go away entirely. If nothing else this commit fails to remove all references to queue(3) in the tree and I suspect it's in some people's finger memory. I'd suggest transforming queue.3 into an intro-like manpage with a brief comparison of each of the relevant list/queue types.

Jan 19 2026, 9:52 PM · Contributor Reviews (src)
brooks committed R11:6cda2f3ed1b0: devel/llvm22: 22.1.0-RC1.
Jan 19 2026, 2:09 PM
brooks committed R11:c1a068509119: devel/llvm22: bootstrap from devel/llvm21.
Jan 19 2026, 2:09 PM

Jan 16 2026

brooks added a comment to D54663: sys/abi_compat.h: fix UB.
In D54663#1250782, @kib wrote:
In D54663#1250766, @kib wrote:

After we agree on the approach and this change lands, I plan to do the pass over uses of val1/val2 in compat32, where int64_t val is used by the host ABI, converting them to freebsd32_uint64_t.

Please consider limiting this sweep to cases where the value will be mis-aligned relative to the struct.

Can you elaborate please, why? I understand that it formally changes nothing.

Jan 16 2026, 3:03 PM
brooks added a comment to D54663: sys/abi_compat.h: fix UB.
In D54663#1250766, @kib wrote:

After we agree on the approach and this change lands, I plan to do the pass over uses of val1/val2 in compat32, where int64_t val is used by the host ABI, converting them to freebsd32_uint64_t.

Jan 16 2026, 2:46 PM
brooks committed rGa01a4c0730c5: CODEOWNERS: register interest in some infrastructure.
Jan 16 2026, 9:45 AM
brooks committed rGd78291b0e973: lib/virtual_oss: don't (over)link to libsamplerate.
Jan 16 2026, 9:45 AM
brooks committed rG373c72ad5044: virtual_oss: build system tidying.
Jan 16 2026, 9:45 AM
brooks committed rGadab1dd6a70e: virtual_oss: build commands/libs in parallel.
Jan 16 2026, 9:45 AM
brooks committed rG497a13601fb7: virtual_oss: remove needless .include in intermediate Makefile.
Jan 16 2026, 9:45 AM
brooks closed D54705: lib/virtual_oss: don't (over)link to libsamplerate.
Jan 16 2026, 9:45 AM
brooks closed D54704: vitual_oss: build system tidying.
Jan 16 2026, 9:45 AM
brooks closed D54703: virtual_oss: build commands/libs in parallel.
Jan 16 2026, 9:45 AM
brooks closed D54702: virtual_oss: remove needless .include in intermediate Makefile.
Jan 16 2026, 9:45 AM
brooks committed rG296ebf7b8a50: iflib: remove convoluted custom zeroing code.
Jan 16 2026, 9:31 AM
brooks committed rG484edabb9455: iflib: remove convoluted custom zeroing code.
Jan 16 2026, 9:30 AM

Jan 15 2026

brooks added a comment to D54704: vitual_oss: build system tidying.

Neither lib/virtual_oss nor usr.sbin/virtual_oss build with this patch:

root@freebsd:/mnt/src/lib/virtual_oss # make
Building /usr/obj/mnt/src/amd64.amd64/lib/virtual_oss/null/null.pico
In file included from /mnt/src/lib/virtual_oss/null/null.c:39:
/mnt/src/usr.sbin/virtual_oss/virtual_oss/int.h:33:10: fatal error: 'samplerate.h' file not found
   33 | #include <samplerate.h>
Jan 15 2026, 11:55 AM
brooks accepted D54673: linuxkpi: Clean up linux_shmem_file_setup() a bit.

In practice, this would be fine with default CHERI C, but broken with subobject bounds.

Jan 15 2026, 11:38 AM
brooks committed R11:241a2e105297: devel/llvm1[4567]: keep backport patches local.
Jan 15 2026, 10:23 AM
brooks added inline comments to D54591: devstat: Provide 32-bit compatibility.
Jan 15 2026, 9:48 AM

Jan 14 2026

brooks committed R11:846c560f3722: devel/llvm-devel: update to the LLVM 22 branch point.
Jan 14 2026, 3:10 PM
brooks committed R11:d5c827648ead: devel/llvm1[4567]: keep backport patches local.
Jan 14 2026, 3:09 PM
brooks added a comment to D54702: virtual_oss: remove needless .include in intermediate Makefile.

@ivy Makefile.inc defines:

PACKAGE?=	sound

Is it a problem if the inclusion is removed from here?

Jan 14 2026, 3:01 PM
brooks accepted D54708: virtual_oss: Take MK_CUSE into account.

I'm not sure if this is the right sorting, but otherwise it's good.

Jan 14 2026, 2:59 PM
brooks added a comment to D54705: lib/virtual_oss: don't (over)link to libsamplerate.

The whole stack of review builds including subdirectories that aren't connected to the build (other then sndio since I didn't have libsndio installed). However, these changes are untested and I've only verified this last change by building and examining the library with nm to verity that they don't include surprising undefined symbols.

Jan 14 2026, 12:53 PM
brooks requested review of D54705: lib/virtual_oss: don't (over)link to libsamplerate.
Jan 14 2026, 12:50 PM
brooks requested review of D54704: vitual_oss: build system tidying.
Jan 14 2026, 12:50 PM
brooks requested review of D54703: virtual_oss: build commands/libs in parallel.
Jan 14 2026, 12:50 PM
brooks requested review of D54702: virtual_oss: remove needless .include in intermediate Makefile.
Jan 14 2026, 12:49 PM

Jan 9 2026

brooks added a comment to D54605: iflib: remove convoluted custom zeroing code.
In D54605#1248134, @erj wrote:

If this really matters we should find a more maintainable solution.

I'm assuming it probably doesn't matter, at least until someone profiles it. Thanks for looking at it!

Jan 9 2026, 10:01 PM
brooks added a reverting change for rG19728f31ae42: sys/_types.h: Unbreak gcc build: rG0a64d16cef17: sys/_types.h: avoid use of __has_feature().
Jan 9 2026, 2:43 PM
brooks added a reverting change for rG029a09f18032: sys/_types.h: Actually unbreak gcc build: rG0a64d16cef17: sys/_types.h: avoid use of __has_feature().
Jan 9 2026, 2:43 PM
brooks committed rG0a64d16cef17: sys/_types.h: avoid use of __has_feature().
Jan 9 2026, 2:43 PM
brooks committed rG31e7dc6b9a00: iflib: remove convoluted custom zeroing code.
Jan 9 2026, 2:43 PM
brooks closed D54009: sys/_types.h: avoid use of __has_feature().
Jan 9 2026, 2:43 PM
brooks added a reverting change for D53986: sys/_types.h: Actually unbreak gcc build: rG0a64d16cef17: sys/_types.h: avoid use of __has_feature().
Jan 9 2026, 2:43 PM
brooks added a reverting change for D53980: sys/_types.h: Unbreak gcc build: rG0a64d16cef17: sys/_types.h: avoid use of __has_feature().
Jan 9 2026, 2:43 PM
brooks closed D54605: iflib: remove convoluted custom zeroing code.
Jan 9 2026, 2:43 PM
brooks closed D54554: cache: avoid hardcoded CACHE_PATH_CUTOFF.
Jan 9 2026, 2:17 PM
brooks committed rG1b425afa8d5f: cache: avoid hardcoded CACHE_PATH_CUTOFF.
Jan 9 2026, 2:17 PM
brooks closed D54553: cache: avoid hardcoded cache padding.
Jan 9 2026, 2:17 PM
brooks committed rG258ad800929b: cache: avoid hardcoded cache padding.
Jan 9 2026, 2:17 PM
brooks closed D54376: cache: avoid hardcoded zone alignment.
Jan 9 2026, 2:17 PM