<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/share/man/man9, branch main</title>
<subtitle>FreeBSD source tree</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<entry>
<title>OF_getprop.9: update OF_hasprop() signature</title>
<updated>2026-04-16T16:15:40+00:00</updated>
<author>
<name>Mitchell Horne</name>
<email>mhorne@FreeBSD.org</email>
</author>
<published>2026-04-16T15:57:48+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=47b0ac1cadc91eee5e98813169b590c443135fbc'/>
<id>47b0ac1cadc91eee5e98813169b590c443135fbc</id>
<content type='text'>
The return type has been converted to a bool.

Reported by:	manu
Sponsored by:	The FreeBSD Foundation
Fixes:		b60cd486a652 ("ofw: bool-ify OF_hasprop()")
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The return type has been converted to a bool.

Reported by:	manu
Sponsored by:	The FreeBSD Foundation
Fixes:		b60cd486a652 ("ofw: bool-ify OF_hasprop()")
</pre>
</div>
</content>
</entry>
<entry>
<title>hash(9): introduce hashalloc()/hashfree() KPI</title>
<updated>2026-04-12T17:25:51+00:00</updated>
<author>
<name>Gleb Smirnoff</name>
<email>glebius@FreeBSD.org</email>
</author>
<published>2026-04-12T17:25:51+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=abf68d1cf02550c3c0341f5bb90be0d34f655a15'/>
<id>abf68d1cf02550c3c0341f5bb90be0d34f655a15</id>
<content type='text'>
This is a more extendable version than traditional hashinit(9).  It allows
different kinds of slot headers with optional locks.

Implement traditional hashinit()/hashdestroy() on top of it.

Reviewed by:		pouria, gallatin
Differential Revision:	https://reviews.freebsd.org/D55904
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is a more extendable version than traditional hashinit(9).  It allows
different kinds of slot headers with optional locks.

Implement traditional hashinit()/hashdestroy() on top of it.

Reviewed by:		pouria, gallatin
Differential Revision:	https://reviews.freebsd.org/D55904
</pre>
</div>
</content>
</entry>
<entry>
<title>malloc.9: adjust flag table indentation</title>
<updated>2026-03-31T19:55:37+00:00</updated>
<author>
<name>Mitchell Horne</name>
<email>mhorne@FreeBSD.org</email>
</author>
<published>2026-03-31T19:42:55+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=be79a42275cad21c6087d8bbd6a328735ea813fa'/>
<id>be79a42275cad21c6087d8bbd6a328735ea813fa</id>
<content type='text'>
The current indentation is shorter than all but one of these flags. This
renders much more nicely.

MFC after:	3 days
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The current indentation is shorter than all but one of these flags. This
renders much more nicely.

MFC after:	3 days
</pre>
</div>
</content>
</entry>
<entry>
<title>DEVICE_IDENTIFY.9: Fix function call to detect driver in example code</title>
<updated>2026-03-27T14:55:13+00:00</updated>
<author>
<name>Olivier Certner</name>
<email>olce@FreeBSD.org</email>
</author>
<published>2026-03-27T14:46:58+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=c78937677c973c48fd438ea06cfb51e11cc62851'/>
<id>c78937677c973c48fd438ea06cfb51e11cc62851</id>
<content type='text'>
Fixes:          ccabc7c2e556 ("DEVICE_IDENTIFY.9: Modernize description and use cases")
MFC after:      3 days
Sponsored by:   The FreeBSD Foundation
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes:          ccabc7c2e556 ("DEVICE_IDENTIFY.9: Modernize description and use cases")
MFC after:      3 days
Sponsored by:   The FreeBSD Foundation
</pre>
</div>
</content>
</entry>
<entry>
<title>ecn.9: Replace non-ASCII characters</title>
<updated>2026-03-19T17:24:49+00:00</updated>
<author>
<name>Pouria Mousavizadeh Tehrani</name>
<email>pouria@FreeBSD.org</email>
</author>
<published>2026-03-19T17:20:47+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=1c1b494264fad5718e39b9cfaafe4f9626ee885b'/>
<id>1c1b494264fad5718e39b9cfaafe4f9626ee885b</id>
<content type='text'>
Reported by:	maxim
Fixes:		ba4298b05564 ("ecn.9: Add ecn(9) manual")
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reported by:	maxim
Fixes:		ba4298b05564 ("ecn.9: Add ecn(9) manual")
</pre>
</div>
</content>
</entry>
<entry>
<title>ecn.9: Add ecn(9) manual</title>
<updated>2026-03-19T10:25:53+00:00</updated>
<author>
<name>Pouria Mousavizadeh Tehrani</name>
<email>pouria@FreeBSD.org</email>
</author>
<published>2026-03-19T10:25:53+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=ba4298b055642969d30389c5c92dd4d61a124fb6'/>
<id>ba4298b055642969d30389c5c92dd4d61a124fb6</id>
<content type='text'>
Add ecn manual for ip_ecn tunneling functions.

Reviewed by: pauamma_gundo.com, tuexen
Differential Revision: https://reviews.freebsd.org/D53517
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add ecn manual for ip_ecn tunneling functions.

Reviewed by: pauamma_gundo.com, tuexen
Differential Revision: https://reviews.freebsd.org/D53517
</pre>
</div>
</content>
</entry>
<entry>
<title>crypto_request.9: Fix typo on crypto_initreq arguments</title>
<updated>2026-03-16T09:54:13+00:00</updated>
<author>
<name>zxbv3</name>
<email>zx@bv3.dev</email>
</author>
<published>2026-03-15T16:35:30+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=fed90174ff5eb8dd46c521c67ea0b387f150683b'/>
<id>fed90174ff5eb8dd46c521c67ea0b387f150683b</id>
<content type='text'>
The function signature of `crypto_initreq()` was
incorrectly documented.

Signed-off-by:	Zixu Wu &lt;zx@bv3.dev&gt;
Reviewed by:	ziaee, pouria
Pull Request:	https://github.com/freebsd/freebsd-src/pull/2077
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The function signature of `crypto_initreq()` was
incorrectly documented.

Signed-off-by:	Zixu Wu &lt;zx@bv3.dev&gt;
Reviewed by:	ziaee, pouria
Pull Request:	https://github.com/freebsd/freebsd-src/pull/2077
</pre>
</div>
</content>
</entry>
<entry>
<title>DEFINE_IFUNC.9: update NOTES</title>
<updated>2026-03-12T14:44:46+00:00</updated>
<author>
<name>Mitchell Horne</name>
<email>mhorne@FreeBSD.org</email>
</author>
<published>2026-03-12T14:44:46+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=a2b2ce2c15bb73d9f87d5072cf65f1f027e066fb'/>
<id>a2b2ce2c15bb73d9f87d5072cf65f1f027e066fb</id>
<content type='text'>
ifuncs are now implemented for all architectures, so drop the caveat
statement.

Reviewed by:	kib
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D55815
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
ifuncs are now implemented for all architectures, so drop the caveat
statement.

Reviewed by:	kib
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D55815
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix typos in manual pages</title>
<updated>2026-03-09T18:34:27+00:00</updated>
<author>
<name>Christos Longros</name>
<email>chris.longros@gmail.com</email>
</author>
<published>2026-03-09T18:33:32+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=6ccfa67ac422a307c3e9624fb080d9616b0c6b05'/>
<id>6ccfa67ac422a307c3e9624fb080d9616b0c6b05</id>
<content type='text'>
bpf.4: accomodate -&gt; accommodate
hier.7: compatability -&gt; compatibility
namei.9: succesfull -&gt; successful

Signed-off-by: Christos Longros &lt;chris.longros@gmail.com&gt;
Reviewed by: emaste
Differential Revision: https://reviews.freebsd.org/D55746
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
bpf.4: accomodate -&gt; accommodate
hier.7: compatability -&gt; compatibility
namei.9: succesfull -&gt; successful

Signed-off-by: Christos Longros &lt;chris.longros@gmail.com&gt;
Reviewed by: emaste
Differential Revision: https://reviews.freebsd.org/D55746
</pre>
</div>
</content>
</entry>
<entry>
<title>sys: Don't pass RF_ALLOCATED to bus_alloc_resource*</title>
<updated>2026-03-06T21:32:33+00:00</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2026-03-06T21:32:33+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=1e4086d05297b711081fe06933677925c5ee6232'/>
<id>1e4086d05297b711081fe06933677925c5ee6232</id>
<content type='text'>
This is a nop as eventually these flags are passed to rman_reserve_resource
which unconditionally sets RF_ALLOCATED in the new flags for a region.
However, it's really a layering violation to use RF_ALLOCATED in relation
to struct resource objects outside of subr_rman.c as subr_rman.c uses
this flag to manage it's internal tracking of allocated vs free regions.

In addition, don't document this as a valid flag in the manual.  I
think the intention here was that if a caller didn't want to pass
RF_ACTIVE or RF_SHAREABLE, they could pass RF_ALLOCATED instead of 0,
but given the layering violation, I think it's best to just pass 0
instead in that case.

NB: The bhnd bus uses RF_ALLOCATED (along with RF_ACTIVE) in a
separate API to manage resource regions that are not struct resource
objects (but a separate wrapper object).  It would perhaps be cleaner
if the chipc_retain_region and chipc_release_region functions used
their own flag constants instead of reusing the rman(9) flags.

Reviewed by:	imp, kib
Differential Revision:	https://reviews.freebsd.org/D55683
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is a nop as eventually these flags are passed to rman_reserve_resource
which unconditionally sets RF_ALLOCATED in the new flags for a region.
However, it's really a layering violation to use RF_ALLOCATED in relation
to struct resource objects outside of subr_rman.c as subr_rman.c uses
this flag to manage it's internal tracking of allocated vs free regions.

In addition, don't document this as a valid flag in the manual.  I
think the intention here was that if a caller didn't want to pass
RF_ACTIVE or RF_SHAREABLE, they could pass RF_ALLOCATED instead of 0,
but given the layering violation, I think it's best to just pass 0
instead in that case.

NB: The bhnd bus uses RF_ALLOCATED (along with RF_ACTIVE) in a
separate API to manage resource regions that are not struct resource
objects (but a separate wrapper object).  It would perhaps be cleaner
if the chipc_retain_region and chipc_release_region functions used
their own flag constants instead of reusing the rman(9) flags.

Reviewed by:	imp, kib
Differential Revision:	https://reviews.freebsd.org/D55683
</pre>
</div>
</content>
</entry>
</feed>
