<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/include, branch main</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=main</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2026-07-06T12:23:50Z</updated>
<entry>
<title>resolv.h: Remove unused parts</title>
<updated>2026-07-06T12:23:50Z</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2026-07-06T12:23:50Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=3f15998d25da08677d2c40bc2240de293aec4205'/>
<id>urn:sha1:3f15998d25da08677d2c40bc2240de293aec4205</id>
<content type='text'>
Reviewed by:	markj
Differential Revision:	https://reviews.freebsd.org/D57927
</content>
</entry>
<entry>
<title>Revert "resolv.h: Remove unused parts"</title>
<updated>2026-06-29T15:53:57Z</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2026-06-29T15:53:57Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=55227ef42de5fbcd2d765b150689e4a5c0d5e352'/>
<id>urn:sha1:55227ef42de5fbcd2d765b150689e4a5c0d5e352</id>
<content type='text'>
This reverts commit 95978326cb326c69592c75323914bdc52ada0346.
</content>
</entry>
<entry>
<title>resolv.h: Remove unused parts</title>
<updated>2026-06-29T13:49:19Z</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2026-06-27T22:58:41Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=95978326cb326c69592c75323914bdc52ada0346'/>
<id>urn:sha1:95978326cb326c69592c75323914bdc52ada0346</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Revert "fts: refactor to use fd-relative operations internally"</title>
<updated>2026-06-24T17:00:04Z</updated>
<author>
<name>Alan Somers</name>
<email>asomers@FreeBSD.org</email>
</author>
<published>2026-06-24T16:56:50Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=bd1c0ff49c48950dbd999c024a17199022f81d36'/>
<id>urn:sha1:bd1c0ff49c48950dbd999c024a17199022f81d36</id>
<content type='text'>
This reverts commit e03ed9daeb49fffa1d16b8d00240c65e92650d01.

The change to the size of struct FTSENT is breaking backwards
compatibility for some binaries.  Jitendra is working on a new version
that will move the new field into a private struct.

Reported by:	bdrewery
Fixes:		e03ed9daeb4 ("fts: refactor to use fd-relative operations")
Sponsored by:	ConnectWise
</content>
</entry>
<entry>
<title>fts: refactor to use fd-relative operations internally</title>
<updated>2026-06-23T14:53:56Z</updated>
<author>
<name>Jitendra Bhati</name>
<email>bhatijitendra2022@gmail.com</email>
</author>
<published>2026-06-12T17:07:55Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=e03ed9daeb49fffa1d16b8d00240c65e92650d01'/>
<id>urn:sha1:e03ed9daeb49fffa1d16b8d00240c65e92650d01</id>
<content type='text'>
Replace all _open() calls with _openat() in __fts_open(), fts_read(),
and fts_children().

Add fts_dirfd to FTSENT. Callers can use
openat(ent-&gt;fts_dirfd, ent-&gt;fts_name, ...) to access files
safely without relying on fts_accpath, which enables:

1. Capsicum capability mode where path-based operations fail
2. Security-sensitive programs that avoid TOCTOU races

Replace statfs(ent-&gt;fts_path) with _fstatfs(ent-&gt;fts_dirfd) in
fts_ufslinks() when fts_dirfd is valid, falling back to statfs() for
root-level entries where fts_dirfd is -1

This is a preparatory change for fts_openat() which will allow
callers to provide a pre-opened directory fd, enabling fts(3)
traversal inside Capsicum capability mode.

Sponsored by:	Google LLC (GSoC 2026)
Reviewed by:	asomers, jillest
MFC after:	2 weeks
Pull Request:	https://github.com/freebsd/freebsd-src/pull/2278
</content>
</entry>
<entry>
<title>iconv: Update availability of bool</title>
<updated>2026-06-22T13:23:48Z</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2026-06-22T13:23:23Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=8f750231d4b58ac71cbd3ac3548e1d7eb849f04b'/>
<id>urn:sha1:8f750231d4b58ac71cbd3ac3548e1d7eb849f04b</id>
<content type='text'>
While here, drop duplicate include.

MFC after:	1 week
Reviewed by:	kevans
Differential Revision:	https://reviews.freebsd.org/D57733
</content>
</entry>
<entry>
<title>libc: Suppress &lt;stdalign.h&gt; content for C23 and later</title>
<updated>2026-06-10T16:14:32Z</updated>
<author>
<name>Faraz Vahedi</name>
<email>kfv@kfv.io</email>
</author>
<published>2026-05-20T10:06:16Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=694baf88c2ae5957fdb24ed163993109987e1ef9'/>
<id>urn:sha1:694baf88c2ae5957fdb24ed163993109987e1ef9</id>
<content type='text'>
C23 deprecates &lt;stdalign.h&gt; and specifies that the header shall
provide no content (§7.15.1).

Signed-off-by:	Faraz Vahedi &lt;kfv@kfv.io&gt;
Pull Request:	https://github.com/freebsd/freebsd-src/pull/2223
MFC after:	1 month
Reviewed by:	imp, fuz
</content>
</entry>
<entry>
<title>libc: Fix assert() sanitiser for C++ contextual bool conversion</title>
<updated>2026-06-10T16:14:32Z</updated>
<author>
<name>Faraz Vahedi</name>
<email>kfv@kfv.io</email>
</author>
<published>2026-06-06T11:38:47Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=48d20fd1cf90179e778c6155900cbed2be140273'/>
<id>urn:sha1:48d20fd1cf90179e778c6155900cbed2be140273</id>
<content type='text'>
Replace the `(bool(*)(bool))` probe in `__assert_sanitize()` with an unevaluated
conditional expression, so types with `explicit operator bool()` that require a
contextually converted constant expression of type `bool` are handled correctly.

Ergo, arity check is now performed separately via `__assert_sanitize_arity()`, a
unary template whose parameter pack must bind to exactly on argument after
`__VA_ARGS__` is substituted into the call.

Also align NDEBUG with C23 requirements.

Reported by:	dim, aokblast
Signed-off-by:	Faraz Vahedi &lt;kfv@kfv.io&gt;
Reviewed by:	aokblast, fuz
MFC after:	1 week
Fixes:		867b51452ea78ece0b312a387e63fdbc2a11056a
Pull Request:	https://github.com/freebsd/freebsd-src/pull/2265
</content>
</entry>
<entry>
<title>libc: Add free_sized() and free_aligned_sized() as per C23</title>
<updated>2026-06-07T20:59:19Z</updated>
<author>
<name>Faraz Vahedi</name>
<email>kfv@kfv.io</email>
</author>
<published>2026-05-16T18:36:17Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=5f732742ad5b3133a860a8969cf2bd13dc9ac358'/>
<id>urn:sha1:5f732742ad5b3133a860a8969cf2bd13dc9ac358</id>
<content type='text'>
Add C23 sized deallocation entry points as thin wrappers around free(3).
Implementations may ignore size and alignment hints, so behaviour stays
correct for existing allocations without validating caller metadata yet.

When jemalloc is updated to 5.3.1, rewire these to je_free_sized() and
je_free_aligned_sized() so deallocation can use the allocator's sized
deallocation (free_sized for fast paths and free_aligned_sized for
correct aligned hints.)

Please note this change satisfies the standard interface only. Both
functions should be delegated to jemalloc after the upgrade so callers
get the intended allocator behaviour; until then, hints are unused and
neither sized nor aligned-sized deallocation optimizations apply.

Signed-off-by:	Faraz Vahedi &lt;kfv@kfv.io&gt;
Reviewed by:	fuz
Pull Request:	https://github.com/freebsd/freebsd-src/pull/2201
MFC after:	1 month
</content>
</entry>
<entry>
<title>Revert "libc: Constify the getcap API"</title>
<updated>2026-06-05T17:15:46Z</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2026-06-05T17:15:46Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=641e8e39560d2acd2a52658af422bfd30aabb2bd'/>
<id>urn:sha1:641e8e39560d2acd2a52658af422bfd30aabb2bd</id>
<content type='text'>
This broke cross-building on Linux and macOS.

This reverts commit 823d00b2d447247f1c5860e3bbc61f6fd19a70e5.
</content>
</entry>
</feed>
