User Details
- User Since
- Jul 1 2014, 6:02 PM (599 w, 21 h)
Mon, Dec 22
Fri, Dec 19
LGTM. Out of paranoia, I verified using compiler explorer that it's reliably const enough to use in a macro even at -O0 with an old clang.
Thu, Dec 18
I don't care how it's fixed, but I will commit this pretty soon if a broader fix isn't added. The linuxkpi fix should never have been committed without a fallback.
Wed, Dec 17
Bump compiler version to 19.1.0 since development versions may not
include __builtin_popcountg.
Tue, Dec 16
prefix functions with ipf_
Mon, Dec 15
Switch to checking for SIZEOF_INTCAP. The compiler will define it
if it implements __intcap_t.
These names aren't generic and I'd like to use them for copy{in,out} variants that explicitly preserve pointer provenance as part of the CHERI import (we currently use copy{in,out}cap in CheriBSD to preserved pointer provenance when pointers are implemented as CHERI capabilities, but think it's better to talk about pointers rather than capabilities which have too many meanings even within the tree.)
Wed, Dec 10
Tue, Dec 9
Wed, Dec 3
Mon, Dec 1
Clarify why _ALIGN* are obsolete and what should be used instead.
Fri, Nov 28
- Attempt to clarity _ALIGN's questionable interface
- Use __align_up (just wraps the builtin which has is supported on all compilers that support typeof() by a fallback).
Add an inline function to compute the misalignment. To it in nscache.h
rather than libc_private.h as that's also a private header and I don't
want this sort of thing to spread.
Thu, Nov 27
Wed, Nov 26
Nov 21 2025
Nov 20 2025
Describe the types
Actually switch to a pattern
Switch to a pattern
Add some advice about (not) using __intcap_t
I don't feel super strongly about this, but I'm not entirely convinced we should be defining these from first principles. I believe that compilers we care about define __*_WIDTH__ macros we could use instead and things are likely to go very badly wrong if there's disagreement.
Nov 19 2025
On CheriBSD we also include intcap_t and uintcap_t to be friendly, but we're trying to discourage the hybrid programming model so I'd like to stick with __ variants in FreeBSD.
Nov 18 2025
Please add Effort: CHERI upstreaming to the commit message so we count this as part of that effort.
