<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-05-03T20:12:03Z</updated>
<entry>
<title>Revert erronously pushed series of commits, which should not be.</title>
<updated>2026-05-03T20:12:03Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2026-05-03T20:10:06Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=9ca9a79ea67e8569c31ecc328e001b35908f491c'/>
<id>urn:sha1:9ca9a79ea67e8569c31ecc328e001b35908f491c</id>
<content type='text'>
Sorry for the mess.

Revert "sys/vnode.h: remove stale comment"
This reverts commit f193f5a749b696e6c05fa2c47c24522b1624b1a7.

Revert "vfs: convert VFS_OPs from macros to static inlines"
This reverts commit 48bf024f2ef5afeba3500bd92a04283370479edf.

Revert "vnode: add VIRF_KNOTE flag"
This reverts commit 7fe74a02764e5899b10cdc45ab34182b961d5d19.

Revert "vfs: convert vfs_op_thread_* macros to static inlines"
This reverts commit a61a696e78a967b149a6e39b1f98ada26217a6bb.

Revert "struct vnode: assign v_rl.resv1 as v_vrflag"
This reverts commit d990e8f0e9478194569ba28c366b0c0c0f414e7b.

Revert "sys/rangelock.h: explicitly enumerate padding at the end of the structure"
This reverts commit a770638ecf16515d8922111c3fdd417aba6c045e.

Revert "bufspace_wait(): only try to help bufdaemon if there is a chance to help"
This reverts commit 067cfac2e7bd9dc857fb6cc504c01b0249bcd1b7.

Revert "Add O_SYMLINK emulation"
This reverts commit f9458655e78f6532e962a13d28d6a6086b4156de.

Revert "libc: add freadlink(3)"
This reverts commit ae6a13deb8e33a52188643e09171207e1d7171e8.

Revert "Add O_SYMLINK emulation"
This reverts commit 2213820b6f4cd22bbfdc0f45741c3e7d17ae82c0.
</content>
</entry>
<entry>
<title>libc: add freadlink(3)</title>
<updated>2026-05-03T19:58:36Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2026-04-12T08:56:26Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=ae6a13deb8e33a52188643e09171207e1d7171e8'/>
<id>urn:sha1:ae6a13deb8e33a52188643e09171207e1d7171e8</id>
<content type='text'>
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
Differential revision:	https://reviews.freebsd.org/D56365
</content>
</entry>
<entry>
<title>tests: fix remaining test failures under _FORTIFY_SOURCE</title>
<updated>2026-05-01T02:58:48Z</updated>
<author>
<name>Kyle Evans</name>
<email>kevans@FreeBSD.org</email>
</author>
<published>2026-05-01T02:57:51Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=910f78a5143af32dfcb237a463397aa0c31c07df'/>
<id>urn:sha1:910f78a5143af32dfcb237a463397aa0c31c07df</id>
<content type='text'>
The getgroups test is a NetBSD tests, so just apply our larger hammer
and disable the feature entirely.  The audit test can take a more
surgical approach and use __ssp_real() appropriately, since it's a local
one.

PR:		294881
Reviewed by:	markj
Differential Revision:	https://reviews.freebsd.org/D56735
</content>
</entry>
<entry>
<title>ssp: fix our gets_s implementation under _FORTIFY_SOURCE</title>
<updated>2026-05-01T02:58:48Z</updated>
<author>
<name>Kyle Evans</name>
<email>kevans@FreeBSD.org</email>
</author>
<published>2026-05-01T02:57:51Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=d98f4f0698ef0c5178882c544b4c38542d4780f0'/>
<id>urn:sha1:d98f4f0698ef0c5178882c544b4c38542d4780f0</id>
<content type='text'>
Annex K specifies an interface for handling constraint violations from
gets_s, but we previously broke this for some classes of get_s misuse.

Provide a more nuanced version that tries to dodge errors that would
trigger a constraint handler while still providing value.  Notably, we
don't want to trigger a failure unless the passed-in length reasonably
fits within an RSIZE_MAX, because gets_s will immediately call larger
lengths bogus and fail.

PR:		294881
Reviewed by:	markj
Differential Revision:	https://reviews.freebsd.org/D56734
</content>
</entry>
<entry>
<title>include/stdbit.h: declare size_t, (u)int*_t, and (u)int_least*_t</title>
<updated>2026-04-20T20:59:54Z</updated>
<author>
<name>Robert Clausecker</name>
<email>fuz@FreeBSD.org</email>
</author>
<published>2026-04-19T12:36:34Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=c8c9324c94dfd4eeecbcfe4a1d3daa047420d3e5'/>
<id>urn:sha1:c8c9324c94dfd4eeecbcfe4a1d3daa047420d3e5</id>
<content type='text'>
These are required by ISO/IEC 9899:2024 § 7.18.1 ¶ 1 but were forgotten
in my initial work.

The current approach leaks intptr_t, uintptr_t, intmax_t, and uintmax_t
through &lt;sys/_stdint.h&gt;.  This could be avoided using a more complicated
approach if desired.

PR:		294131
Fixes:		6296500a85c8474e3ff3fe2f8e4a9d56dd0acd64
Reported by:	Collin Funk &lt;collin.funk1@gmail.com&gt;
Reviewed by:	imp
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D56515
</content>
</entry>
<entry>
<title>unistd.h: _Fork(2) is required by POSIX 2024</title>
<updated>2026-04-12T20:29:36Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2026-04-12T08:57:51Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=f286933c950f6308117c8400f36f3160f6227491'/>
<id>urn:sha1:f286933c950f6308117c8400f36f3160f6227491</id>
<content type='text'>
Reviewed by:	imp
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
Differential revision:	https://reviews.freebsd.org/D56362
</content>
</entry>
<entry>
<title>posix_spawn: actions chdir and fchdir are now required by POSIX</title>
<updated>2026-04-03T08:22:53Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2026-04-02T07:57:58Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=7caa71145c5eea5925c295e0cdd95b517005acf9'/>
<id>urn:sha1:7caa71145c5eea5925c295e0cdd95b517005acf9</id>
<content type='text'>
Drop the _np suffix.

Reviewed by:	dim
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
Differential revision:	https://reviews.freebsd.org/D56222
</content>
</entry>
<entry>
<title>sys: add renameat2(2) syscall</title>
<updated>2026-03-05T23:46:53Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2026-02-26T18:33:33Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=28599a1e5f1b90676a818e0a4818cddd0839ad25'/>
<id>urn:sha1:28599a1e5f1b90676a818e0a4818cddd0839ad25</id>
<content type='text'>
Reviewed by:	markj
Tested by:	pho
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
Differential revision:	https://reviews.freebsd.org/D55539
</content>
</entry>
<entry>
<title>stddef.h: centralize definition of offsetof()</title>
<updated>2026-02-19T15:10:32Z</updated>
<author>
<name>Brooks Davis</name>
<email>brooks@FreeBSD.org</email>
</author>
<published>2026-02-19T15:05:22Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=2adc3f0db1877dbe9801e6dacfa9ae8df8879549'/>
<id>urn:sha1:2adc3f0db1877dbe9801e6dacfa9ae8df8879549</id>
<content type='text'>
Move to sys/_offsetof.h and use __builtin_offsetof() instead of
__offsetof to avoid reintroducing sys/cdefs.h polution in stddef.h.

This has the side effect of allowing sys/stddef.h to be included after
stddef.h which can happen in compatability headers.

Effort:		CHERI upstreaming
Sponsored by:	DARPA, AFRL
Reviewed by:	imp, kib
Differential Revision:	https://reviews.freebsd.org/D55307
</content>
</entry>
<entry>
<title>stddef.h: add ptraddr_t</title>
<updated>2026-02-19T15:10:32Z</updated>
<author>
<name>Brooks Davis</name>
<email>brooks@FreeBSD.org</email>
</author>
<published>2026-02-19T15:04:51Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=cb59eec9ebbf1ae3a24223431ed1d947674c8c6a'/>
<id>urn:sha1:cb59eec9ebbf1ae3a24223431ed1d947674c8c6a</id>
<content type='text'>
I'd missed that stddef.h is standalone and isn't a copy of sys/stddef.h
in my initial merge.

Effort:		CHERI upstreaming
Reviewed by:	kib
Sponsored by:	Innovate UK
Fixes:		dca634d1544b ("new type: ptraddr_t")
Differential Revision:	https://reviews.freebsd.org/D55305
</content>
</entry>
</feed>
