<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/include, branch stable/13</title>
<subtitle>FreeBSD source tree</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<entry>
<title>include/stdckdint.h: make the header compatible with C++</title>
<updated>2026-02-10T14:24:30+00:00</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2025-10-17T03:49:14+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=9748212e619b7608ac50ad6d0a768b20d5c9fd0b'/>
<id>9748212e619b7608ac50ad6d0a768b20d5c9fd0b</id>
<content type='text'>
by removing the cast to _Bool.  The _Bool type is not defined for C++,
and the specification from the gcc info doc states that the return
type of the  __builtin_{add,sub,mul}_overflow() is bool already.

This is done instead of including stdbool.h to avoid namespace
pollution, since defining bool from stdckdint.h simingly is not
sanctioned by ISO/IEC 9899:2024.

PR:	290299
Reviewed by:	des
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
Differential revision:	https://reviews.freebsd.org/D53149

(cherry picked from commit 3c052bec12fcf09f81ba0760ebecec38e196d332)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
by removing the cast to _Bool.  The _Bool type is not defined for C++,
and the specification from the gcc info doc states that the return
type of the  __builtin_{add,sub,mul}_overflow() is bool already.

This is done instead of including stdbool.h to avoid namespace
pollution, since defining bool from stdckdint.h simingly is not
sanctioned by ISO/IEC 9899:2024.

PR:	290299
Reviewed by:	des
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
Differential revision:	https://reviews.freebsd.org/D53149

(cherry picked from commit 3c052bec12fcf09f81ba0760ebecec38e196d332)
</pre>
</div>
</content>
</entry>
<entry>
<title>include: Implement N2867.</title>
<updated>2026-02-10T14:24:30+00:00</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2023-09-07T06:14:54+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=fda539d1ea398ce7c8aa9e7fa25e9d3c53563b5b'/>
<id>fda539d1ea398ce7c8aa9e7fa25e9d3c53563b5b</id>
<content type='text'>
This adds macros for checked addition, subtraction, and multiplication with semantics similar to the builtins gcc and clang have had for years.

Reviewed by:	kib, emaste
Differential Revision:	https://reviews.freebsd.org/D41734

(cherry picked from commit e6615b10347caf67f5bc12c9a8e30b8ddd9860ae)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This adds macros for checked addition, subtraction, and multiplication with semantics similar to the builtins gcc and clang have had for years.

Reviewed by:	kib, emaste
Differential Revision:	https://reviews.freebsd.org/D41734

(cherry picked from commit e6615b10347caf67f5bc12c9a8e30b8ddd9860ae)
</pre>
</div>
</content>
</entry>
<entry>
<title>fts: Move private flags away from public ones.</title>
<updated>2025-04-20T08:00:24+00:00</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2025-04-10T11:34:41+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=413e5dca9dc5e0c638f79e0904efbeaf38e6037c'/>
<id>413e5dca9dc5e0c638f79e0904efbeaf38e6037c</id>
<content type='text'>
Renumber the private flags so there is a sizeable gap between them and
the public flags, making it easier to add public flags in the future.
These private flags are only ever set or read by FTS itself, so there
is no compatibility issue.

MFC after:	1 week
Sponsored by:	Klara, Inc.
Reviewed by:	markj
Differential Revision:	https://reviews.freebsd.org/D49711

(cherry picked from commit 80e06d621ac545ac0a69d4e95e7392be38013a78)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Renumber the private flags so there is a sizeable gap between them and
the public flags, making it easier to add public flags in the future.
These private flags are only ever set or read by FTS itself, so there
is no compatibility issue.

MFC after:	1 week
Sponsored by:	Klara, Inc.
Reviewed by:	markj
Differential Revision:	https://reviews.freebsd.org/D49711

(cherry picked from commit 80e06d621ac545ac0a69d4e95e7392be38013a78)
</pre>
</div>
</content>
</entry>
<entry>
<title>Expose POSIX functions incorporated into C23</title>
<updated>2025-01-18T20:19:16+00:00</updated>
<author>
<name>Stephen Hurd</name>
<email>shurd@FreeBSD.org</email>
</author>
<published>2024-12-01T17:34:40+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=9e659ecfb231819c5426c992885367032a8c4e94'/>
<id>9e659ecfb231819c5426c992885367032a8c4e94</id>
<content type='text'>
C23 has incoporated a small number of POSIX functions, so these
should be exposed for C23, regardless of POSIX.

Reviewed by:	imp, emaste
Differential Revision:	https://reviews.freebsd.org/D47856

(cherry picked from commit 59677aecb67bbedcfa2ee5d7d2b189193cdc4af7)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
C23 has incoporated a small number of POSIX functions, so these
should be exposed for C23, regardless of POSIX.

Reviewed by:	imp, emaste
Differential Revision:	https://reviews.freebsd.org/D47856

(cherry picked from commit 59677aecb67bbedcfa2ee5d7d2b189193cdc4af7)
</pre>
</div>
</content>
</entry>
<entry>
<title>rpc: Fix the definition of xdr_void()</title>
<updated>2024-11-05T01:05:31+00:00</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2024-10-30T19:27:18+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=b59d578945807e487a2ed20ff6387f40c89db47d'/>
<id>b59d578945807e487a2ed20ff6387f40c89db47d</id>
<content type='text'>
xdr_void() should have type xdrproc_t, make it so.

PR:		280514
Reviewed by:	brooks, dim
MFC after:	2 weeks
Differential Revision:	https://reviews.freebsd.org/D47340

(cherry picked from commit a5d1cf5e362a2e3c3ebdf6d8f2b86658a6d0b9d6)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
xdr_void() should have type xdrproc_t, make it so.

PR:		280514
Reviewed by:	brooks, dim
MFC after:	2 weeks
Differential Revision:	https://reviews.freebsd.org/D47340

(cherry picked from commit a5d1cf5e362a2e3c3ebdf6d8f2b86658a6d0b9d6)
</pre>
</div>
</content>
</entry>
<entry>
<title>Ensure that soft updates are not enabled by default when using mdmfs(8)</title>
<updated>2024-10-12T22:33:05+00:00</updated>
<author>
<name>Kirk McKusick</name>
<email>mckusick@FreeBSD.org</email>
</author>
<published>2024-10-03T15:05:42+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=51b1d399b2de88695030a23430fd6bd9cfb15293'/>
<id>51b1d399b2de88695030a23430fd6bd9cfb15293</id>
<content type='text'>
When soft updates began being enabled by default that change carried
over to mdmfs(8) which does not want or need them. This fix ensures
that they are only enabled in mdmfs(8) when requested with the -U flag.

Reported by: Ivan Rozhuk
Tested by:   Michael Proto
PR:          279308

(cherry picked from commit 5b21d4ad060acb06c72e0458daebec9bcbf0cefd)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When soft updates began being enabled by default that change carried
over to mdmfs(8) which does not want or need them. This fix ensures
that they are only enabled in mdmfs(8) when requested with the -U flag.

Reported by: Ivan Rozhuk
Tested by:   Michael Proto
PR:          279308

(cherry picked from commit 5b21d4ad060acb06c72e0458daebec9bcbf0cefd)
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove "All Rights Reserved" from FreeBSD Foundation copyrights</title>
<updated>2024-09-07T16:30:19+00:00</updated>
<author>
<name>Ed Maste</name>
<email>emaste@FreeBSD.org</email>
</author>
<published>2024-07-30T16:02:17+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=6b9c7f29b0cdf0da752927ca173f590cdf385c89'/>
<id>6b9c7f29b0cdf0da752927ca173f590cdf385c89</id>
<content type='text'>
These ones were unambiguous cases where the Foundation was the only
listed copyright holder.

Sponsored by:	The FreeBSD Foundation

(cherry picked from commit 5c2bc3db201a4fe8d7911cf816bea104d5dc2138)
(cherry picked from commit f06d322e9d925ab56a4aa8210a67637d4d341ab6)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
These ones were unambiguous cases where the Foundation was the only
listed copyright holder.

Sponsored by:	The FreeBSD Foundation

(cherry picked from commit 5c2bc3db201a4fe8d7911cf816bea104d5dc2138)
(cherry picked from commit f06d322e9d925ab56a4aa8210a67637d4d341ab6)
</pre>
</div>
</content>
</entry>
<entry>
<title>vendor/bc: upgrade to version 7.0.0</title>
<updated>2024-09-03T16:30:44+00:00</updated>
<author>
<name>Stefan Eßer</name>
<email>se@FreeBSD.org</email>
</author>
<published>2024-08-23T16:45:58+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=1d669b3d15bcbb38bbec8023a370b7a56e85a26d'/>
<id>1d669b3d15bcbb38bbec8023a370b7a56e85a26d</id>
<content type='text'>
This is a production release to fix three bugs, none of which
affects well formed scripts on FreeBSD:

The first bug is that bc/dc will exit on macOS when the terminal
is resized.

The second bug is that an array, which should only be a function
parameter, was accepted as part of larger expressions.

The third bug is that the value stack for dc was cleared on any error.
However, this is not how other dc behave. To bring dc more in line
with other implementations, this behavior was changed. This change is
why this version is a new major version.

(cherry picked from commit 54d20d67e2af28d948ce2df13feb039fa10900fc)
(cherry picked from commit 12e0d316644a4f80f5f1f78cf07bd93def43b1ca)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is a production release to fix three bugs, none of which
affects well formed scripts on FreeBSD:

The first bug is that bc/dc will exit on macOS when the terminal
is resized.

The second bug is that an array, which should only be a function
parameter, was accepted as part of larger expressions.

The third bug is that the value stack for dc was cleared on any error.
However, this is not how other dc behave. To bring dc more in line
with other implementations, this behavior was changed. This change is
why this version is a new major version.

(cherry picked from commit 54d20d67e2af28d948ce2df13feb039fa10900fc)
(cherry picked from commit 12e0d316644a4f80f5f1f78cf07bd93def43b1ca)
</pre>
</div>
</content>
</entry>
<entry>
<title>posix_spawn(3): add POSIX_SPAWN_DISABLE_ASLR_NP</title>
<updated>2024-03-11T00:29:51+00:00</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2024-03-03T13:30:04+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=fc287f28dfc99bfe47d7a6071f52ddecd9983472'/>
<id>fc287f28dfc99bfe47d7a6071f52ddecd9983472</id>
<content type='text'>
(cherry picked from commit 822042fdfca79faada89e67110b01dd9ecc05996)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(cherry picked from commit 822042fdfca79faada89e67110b01dd9ecc05996)
</pre>
</div>
</content>
</entry>
<entry>
<title>dumprestore.h: Fix typos in source code comments</title>
<updated>2024-03-03T17:50:16+00:00</updated>
<author>
<name>Gordon Bergling</name>
<email>gbe@FreeBSD.org</email>
</author>
<published>2024-02-27T12:49:21+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=44f896fc35e326c661ba199155a08fa3defbd62f'/>
<id>44f896fc35e326c661ba199155a08fa3defbd62f</id>
<content type='text'>
- s/dumpped/dumped/

(cherry picked from commit 8f87d402e32178974038212fbf4b1564447df0e0)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- s/dumpped/dumped/

(cherry picked from commit 8f87d402e32178974038212fbf4b1564447df0e0)
</pre>
</div>
</content>
</entry>
</feed>
