Page MenuHomeFreeBSD
Feed Search

Jan 27 2026

jhb committed rGe11dec7e54e2: ctld: Remove dead logging code.
Jan 27 2026, 6:46 PM
jhb committed rG8c211a00d3b4: ctld: Require a mask if / is specified in an initiator portal.
Jan 27 2026, 6:46 PM
jhb committed rG88b3dab8d0ec: ctld: Properly validate mutual user/secret for CHAP-MUTUAL in the UCL parser.
Jan 27 2026, 6:46 PM
jhb committed rGa8ab78a0785f: ctld: Remove dead code in UCL parsing of hex DSCP values.
Jan 27 2026, 6:46 PM
jhb committed rG6bb9cb02c84b: ctld: Convert to C++.
Jan 27 2026, 6:46 PM
jhb committed rGe87f835bf13b: ctld: Add a label string to auth_groups.
Jan 27 2026, 6:46 PM
jhb committed rG9cdd58d51d49: ctld: Fix sign bug validating kernel ports when reloading config.
Jan 27 2026, 6:45 PM
jhb committed rG80888d8610ee: ctld: Reduce code duplication in auth_check_secret_length.
Jan 27 2026, 6:45 PM
jhb committed rGbe8bf6c2beda: depend-cleanup: Handle ctld moving from C to C++.
Jan 27 2026, 6:45 PM
jhb committed rG8ac917c7ce6c: ctl_ioctl.h: Do not use enums for bit fields of flags.
Jan 27 2026, 6:45 PM
jhb committed rG7711a8c74d21: ctld: Permit simpler syntax for target LUNs in UCL.
Jan 27 2026, 6:45 PM
jhb committed rG48438ab6cf04: libiscsiutil: Fix header to work with C++.
Jan 27 2026, 6:45 PM
jhb committed rGe1548d92b945: ctld: Permit targets to use a string for portal-groups in UCL.
Jan 27 2026, 6:45 PM
jhb committed rG5cf8a917e086: ctld: Add a dedicated API between parse.y and the rest of the program.
Jan 27 2026, 6:45 PM
jhb committed rG8824cd3a1170: ctld: Be more consistent for auth parameters in the UCL config.
Jan 27 2026, 6:45 PM
jhb committed rGb7919e0493c8: ctld: Support anonymous LUN entries in UCL.
Jan 27 2026, 6:45 PM
jhb committed rG9dd655a05bea: ctld: Add missing properties to the UCL parser.
Jan 27 2026, 6:45 PM
jhb committed rGc3688679ded5: ctld: Fail UCL configurations with a nested error.
Jan 27 2026, 6:45 PM
jhb committed rG1b4e894eaeb1: ctld: Fix parsing of text values for DSCP in UCL parser.
Jan 27 2026, 6:45 PM
jhb committed rGe7b94c2f3fa2: ctld: Use preferred style for evaluating result of strcmp.
Jan 27 2026, 6:45 PM
jhb committed rGbf60fb351df1: ctld: Fail for missing or invalid CHAP secrets in UCL config.
Jan 27 2026, 6:45 PM
jhb committed rGfb77f80ccae1: ctld: Consistently free temporary strings during yacc parsing.
Jan 27 2026, 6:45 PM
jhb committed rG67f12d18252a: ctld: Fix the isns-period and isns-timeout keywords in the UCL parser.
Jan 27 2026, 6:45 PM
jhb committed rG21a93ffe7883: ctld: Some bool-related cleanups.
Jan 27 2026, 6:45 PM
jhb committed rGf577b919b360: ctld: Drop some #if 0'd debugging traces.
Jan 27 2026, 6:45 PM
jhb committed rG90d5638f97b3: ctld: Don't specify the TCP port for default iSCSI portal group sockets.
Jan 27 2026, 6:45 PM
jhb committed rGf9e5a4d5ba20: ctld: Move kernel_limits into login.c where it is used.
Jan 27 2026, 6:45 PM
jhb committed rGd9f3d4371442: ctld: Factor out functions to parse dscp and pcp properties.
Jan 27 2026, 6:45 PM
jhb committed rGf1c08b611124: ctld: Write the pidfile once after forking.
Jan 27 2026, 6:45 PM
jhb committed rG42234f50008e: ctld: Use kevent(2) for socket events rather than select(2).
Jan 27 2026, 6:45 PM
jhb committed rG7cf9371c0625: ctld: Use nvlist instead of home-rolled name-value lists.
Jan 27 2026, 6:45 PM
jhb committed rGdef239812e9c: libiscsiutil: Add log_warnc() and log_errc() functions.
Jan 27 2026, 6:45 PM
jhb committed rG0cc467282f13: ctld: Factor out code to setup a listening socket into a separate function.
Jan 27 2026, 6:45 PM
jhb committed rGbff5236e6872: ctld: Fix assertion against the wrong field.
Jan 27 2026, 6:45 PM
jhb committed rGa3311db4010d: ctld: Use bool in uclparse.c.
Jan 27 2026, 6:45 PM
jhb committed rG944493636924: iscsi: Move valid_iscsi_name to libiscsiutil.
Jan 27 2026, 6:44 PM
jhb committed rG5535f9ea4aec: ctld: Trim trailing whitespace.
Jan 27 2026, 6:44 PM
jhb committed rG45e19db918ad: nv: Add <sys/_nv.h> header for nvlist_t declaration.
Jan 27 2026, 6:44 PM
jhb committed rG72a6991b80c6: bluetooth: Don't use a non-string to initialize NG_HCI_BDADDR_ANY.
Jan 27 2026, 6:41 PM
jhb committed rG5c504c625d1f: kyua: Workaround unclear warning from GCC.
Jan 27 2026, 6:41 PM
jhb committed rG6fb87a1a6042: bsd.sys.mk: Silence a few GCC warnings for C++.
Jan 27 2026, 6:41 PM
jhb committed rG2dea50a661b9: netbsd-tests t_regex_att: Use __nonstring for a non-string constant.
Jan 27 2026, 6:41 PM
jhb committed rGbfc6e56f6327: Merge commit 81b20e110b3f from llvm git (by Roland McGrath):.
Jan 27 2026, 6:41 PM
jhb committed rG093fffa296d0: sys: Use __is_aligned and __align_down for some kstack alignment operations.
Jan 27 2026, 6:32 PM
jhb committed rG05609c5eff27: arm: Make init_proc0 static.
Jan 27 2026, 6:32 PM
jhb committed rG9272b7806266: powerpc: Fix alignment of initial PCB on kstack.
Jan 27 2026, 6:32 PM
jhb committed rG18d1e673fbbb: genet: Add a detach routine.
Jan 27 2026, 2:44 PM

Jan 25 2026

jhb committed R11:a2c1381141ae: devel/freebsd-gcc15: External FreeBSD toolchain based on GCC 15.
Jan 25 2026, 4:56 AM

Jan 23 2026

jhb committed R11:ddeff036cd53: devel/freebsd_gcc12: Update to 12.4.0.
Jan 23 2026, 7:17 PM
jhb committed R11:4be82b199fd3: devel/freebsd_gcc13: Update to 13.3.0.
Jan 23 2026, 7:17 PM
jhb committed R11:28b7c409a6c6: devel/freebsd_gcc14: Update to 14.2.0.
Jan 23 2026, 7:17 PM

Jan 22 2026

jhb committed rG5eb1d4eec676: rpctls_impl.c: Use a direct cast to uintptr_t instead of __DECONST.
Jan 22 2026, 9:08 PM

Jan 20 2026

jhb closed D52210: OptionalObsoleteFiles.inc: Treat compat runtime loaders as libraries.
Jan 20 2026, 5:08 PM
jhb committed rG8e1c85f03260: OptionalObsoleteFiles.inc: Treat compat runtime loaders as libraries.
Jan 20 2026, 5:08 PM
jhb requested review of D54798: ext2fs: Simplify location of entries in an HTree index.
Jan 20 2026, 3:59 PM
jhb requested review of D54797: rpctls_impl.c: Use a direct cast to uintptr_t instead of __DECONST.
Jan 20 2026, 3:39 PM

Jan 19 2026

jhb abandoned D54298: [PHB]: Only document __FreeBSD_version values for supported branches.
Jan 19 2026, 6:33 PM
jhb committed rG3a6289e1e53f: .github: Disable checklist workflow on forks.
Jan 19 2026, 3:57 PM

Jan 16 2026

jhb added a comment to D54298: [PHB]: Only document __FreeBSD_version values for supported branches.

Ping, what do we think about trimming this file down to only supported branches?

Jan 16 2026, 4:07 PM

Jan 15 2026

jhb committed rG5bd84c4f0d01: acpi: Add a function to deregister all ioctl commands using the same function.
Jan 15 2026, 6:25 PM
jhb committed rG6d6bf4a892d6: rtld: Use a helper variable to simplify a few lines.
Jan 15 2026, 6:25 PM
jhb committed rG4ba8df2a8bb9: .github: Narrow sys/crypto warning to sys/crypto/skein.
Jan 15 2026, 6:25 PM
jhb closed D54420: acpi: Add a function to deregister all ioctl commands using the same function.
Jan 15 2026, 6:25 PM
jhb closed D54507: rtld: Use a helper variable to simplify a few lines.
Jan 15 2026, 6:25 PM
jhb closed D54719: .github: Narrow sys/crypto warning to sys/crypto/skein.
Jan 15 2026, 6:24 PM
jhb added a reviewer for D54420: acpi: Add a function to deregister all ioctl commands using the same function: jkim.
Jan 15 2026, 1:50 AM
jhb accepted D54714: nvme: Add ability to override ioq to put the request on.

Yes, the queue field is only 16 bits and queue 0 is always reserved for the admin queue, so I/O queues are 1...65535 meaning num_io_queues will always be <= 65535, so the ioq range for the new function can only be 0..65534.

Jan 15 2026, 1:49 AM

Jan 14 2026

jhb requested review of D54719: .github: Narrow sys/crypto warning to sys/crypto/skein.
Jan 14 2026, 8:22 PM
jhb updated the diff for D54507: rtld: Use a helper variable to simplify a few lines.

Rename variable

Jan 14 2026, 8:04 PM
jhb added a comment to D54714: nvme: Add ability to override ioq to put the request on.

(I would probably put the uint16_t before the two existing bool fields, so that the fields are somewhat sorted by size, but that doesn't really matter)

Jan 14 2026, 6:44 PM
jhb added a comment to D54714: nvme: Add ability to override ioq to put the request on.

Hmm, today on amd64 nvme_request is 128 bytes, so packing the ioq is probably worth doing. Note that you could just add the new field as a uint16_t in place of the two spare bools.

Jan 14 2026, 6:42 PM
jhb committed rG3ea97c9de2b2: rtld: Switch to using <assert.h> for assert.
Jan 14 2026, 5:12 PM
jhb closed D54712: rtld: Switch to using <assert.h> for assert.
Jan 14 2026, 5:12 PM
jhb committed rGe96ec1a1eb93: rtld: Use uintptr_t instead of Elf_Addr for init/fini function pointers.
Jan 14 2026, 5:12 PM
jhb closed D54711: rtld: Use uintptr_t instead of Elf_Addr for init/fini function pointers.
Jan 14 2026, 5:12 PM
jhb closed D54710: rtld: Simplify walking program headers.
Jan 14 2026, 5:11 PM
jhb committed rG31a440a0e9a2: rtld: Simplify walking program headers.
Jan 14 2026, 5:11 PM
jhb closed D54399: swab: Correctly treat the data as misaligned.
Jan 14 2026, 5:11 PM
jhb committed rG2a5c5b8f7cdd: swab: Correctly treat the data as misaligned.
Jan 14 2026, 5:11 PM
jhb added a reviewer for D54507: rtld: Use a helper variable to simplify a few lines: kib.
Jan 14 2026, 4:30 PM
jhb added a comment to D54712: rtld: Switch to using <assert.h> for assert.
In D54712#1249912, @kib wrote:

No, this is not going to work. This brings stdio + locale into rtld.

Jan 14 2026, 4:15 PM
jhb added a comment to D54710: rtld: Simplify walking program headers.
In D54710#1249915, @jhb wrote:
In D54710#1249909, @kib wrote:

I think this is fine, but for completeness we probably should check that ehdr->e_phentsize == sizeof(Elf_Phdr), and return if not.

Yes. I do think we already check AT_PHENT, but might not be checking the size in the ehdr. Granted, that's a bug in the current code, and I might fix it in a separate commit.

Jan 14 2026, 4:12 PM
jhb added a comment to D54710: rtld: Simplify walking program headers.
In D54710#1249909, @kib wrote:

I think this is fine, but for completeness we probably should check that ehdr->e_phentsize == sizeof(Elf_Phdr), and return if not.

Jan 14 2026, 4:01 PM
jhb added a comment to D54710: rtld: Simplify walking program headers.

I wonder if we want to add some validity checking on ph->p_memsz while we're here? I think a wrong p_memsz will be handled the same before/after this change so it's fine from that perspective, it's more general pondering about what if any validation rtld ought to do.

Jan 14 2026, 4:00 PM
jhb added a comment to D54712: rtld: Switch to using <assert.h> for assert.
In D54712#1249886, @imp wrote:

I'm agnostic on the NDEBUG issue, though have 'never disable assert' leanings. But just leanings, since performance is also important and I don't know the lay of the land here to have an informed opinion.

Jan 14 2026, 3:57 PM
jhb added inline comments to D54710: rtld: Simplify walking program headers.
Jan 14 2026, 3:33 PM
jhb added a comment to D54712: rtld: Switch to using <assert.h> for assert.

One consequence of this change is that NDEBUG will now disable assertions in rtld itself (and not just the bits of libc pulled into rtld-libc.a). Downstream in CheriBSD we #undef'd NDEBUG in debug.h, but I think honoring NDEBUG might be the better approach?

Jan 14 2026, 3:32 PM
jhb requested review of D54712: rtld: Switch to using <assert.h> for assert.
Jan 14 2026, 3:30 PM
jhb requested review of D54711: rtld: Use uintptr_t instead of Elf_Addr for init/fini function pointers.
Jan 14 2026, 3:30 PM
jhb requested review of D54710: rtld: Simplify walking program headers.
Jan 14 2026, 3:30 PM
jhb closed D54506: csu: Remove unused constant.
Jan 14 2026, 1:00 AM
jhb committed rG113dc9ed9887: csu: Remove unused constant.
Jan 14 2026, 12:54 AM
jhb added inline comments to D54507: rtld: Use a helper variable to simplify a few lines.
Jan 14 2026, 12:49 AM
jhb added a comment to D54399: swab: Correctly treat the data as misaligned.

Ping

Jan 14 2026, 12:49 AM

Jan 4 2026

jhb requested review of D54507: rtld: Use a helper variable to simplify a few lines.
Jan 4 2026, 9:45 PM
jhb requested review of D54506: csu: Remove unused constant.
Jan 4 2026, 9:44 PM

Jan 2 2026

jhb added inline comments to D54397: netlink: Consistently use unsigned types for message and buffer lengths.
Jan 2 2026, 8:52 PM

Dec 31 2025

jhb updated the diff for D54399: swab: Correctly treat the data as misaligned.

Use memcpy

Dec 31 2025, 12:53 PM
jhb updated the summary of D54399: swab: Correctly treat the data as misaligned.
Dec 31 2025, 12:52 PM
jhb retitled D54399: swab: Correctly treat the data as misaligned from swab: Correctly annotate the data as misaligned.
Dec 31 2025, 12:52 PM