<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/lib/libutil, branch main</title>
<subtitle>FreeBSD source tree</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<entry>
<title>Revert "libc: Constify the getcap API"</title>
<updated>2026-06-05T17:15:46+00:00</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2026-06-05T17:15:46+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=641e8e39560d2acd2a52658af422bfd30aabb2bd'/>
<id>641e8e39560d2acd2a52658af422bfd30aabb2bd</id>
<content type='text'>
This broke cross-building on Linux and macOS.

This reverts commit 823d00b2d447247f1c5860e3bbc61f6fd19a70e5.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This broke cross-building on Linux and macOS.

This reverts commit 823d00b2d447247f1c5860e3bbc61f6fd19a70e5.
</pre>
</div>
</content>
</entry>
<entry>
<title>libc: Constify the getcap API</title>
<updated>2026-06-04T22:41:22+00:00</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2026-06-04T22:41:22+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=823d00b2d447247f1c5860e3bbc61f6fd19a70e5'/>
<id>823d00b2d447247f1c5860e3bbc61f6fd19a70e5</id>
<content type='text'>
MFC after:	1 week
Inspired by:	NetBSD
Reviewed by:	kib
Differential Revision:	https://reviews.freebsd.org/D57252
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
MFC after:	1 week
Inspired by:	NetBSD
Reviewed by:	kib
Differential Revision:	https://reviews.freebsd.org/D57252
</pre>
</div>
</content>
</entry>
<entry>
<title>login_class: Fix kqueues, pipebuf resource types</title>
<updated>2026-05-29T22:06:44+00:00</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2026-05-29T22:06:44+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=b5dce0ae4f78251f56ffcb6c6a58b9e6c20380e0'/>
<id>b5dce0ae4f78251f56ffcb6c6a58b9e6c20380e0</id>
<content type='text'>
* kqueues is a count but is listed as a size

* pipebuf is a size but is listed as a count

PR:		295623
MFC after:	1 week
Fixes:          a4c04958f526 ("libutil: support RLIMIT_PIPEBUF")
Fixes:          85a0ddfd0b26 ("Add a resource limit for the total...")
Reviewed by:	kib
Differential Revision:	https://reviews.freebsd.org/D57333
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* kqueues is a count but is listed as a size

* pipebuf is a size but is listed as a count

PR:		295623
MFC after:	1 week
Fixes:          a4c04958f526 ("libutil: support RLIMIT_PIPEBUF")
Fixes:          85a0ddfd0b26 ("Add a resource limit for the total...")
Reviewed by:	kib
Differential Revision:	https://reviews.freebsd.org/D57333
</pre>
</div>
</content>
</entry>
<entry>
<title>login.conf(5): Add missing resource limits</title>
<updated>2026-05-27T13:10:35+00:00</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2026-05-27T13:10:35+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=e9346d1d1383e8c1dced50a3aceb28edd5a4a5e2'/>
<id>e9346d1d1383e8c1dced50a3aceb28edd5a4a5e2</id>
<content type='text'>
While here, reorder the table.

PR:		295618
MFC after:	1 week
Reviewed by:	olce
Differential Revision:	https://reviews.freebsd.org/D57258
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
While here, reorder the table.

PR:		295618
MFC after:	1 week
Reviewed by:	olce
Differential Revision:	https://reviews.freebsd.org/D57258
</pre>
</div>
</content>
</entry>
<entry>
<title>limits: Further RLIMIT_VMM cleanup</title>
<updated>2026-05-17T16:23:50+00:00</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2026-05-17T16:23:50+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=363ea40c765424b3cbd9b96790235af030fcc8ff'/>
<id>363ea40c765424b3cbd9b96790235af030fcc8ff</id>
<content type='text'>
Teach limits(1), sh(1), and setclassresources(3) about RLIMIT_VMM.

Fixes:		1092ec8b3375 ("kern: Introduce RLIMIT_VMM")
Reviewed by:	bnovkov
Differential Revision:	https://reviews.freebsd.org/D57031
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Teach limits(1), sh(1), and setclassresources(3) about RLIMIT_VMM.

Fixes:		1092ec8b3375 ("kern: Introduce RLIMIT_VMM")
Reviewed by:	bnovkov
Differential Revision:	https://reviews.freebsd.org/D57031
</pre>
</div>
</content>
</entry>
<entry>
<title>libutil: Include param.h in quotafile.c</title>
<updated>2026-05-12T20:05:19+00:00</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2026-05-12T17:47:04+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=237900f17f091d059a3ead6a5320285654f4bfa0'/>
<id>237900f17f091d059a3ead6a5320285654f4bfa0</id>
<content type='text'>
Required for MAXPATHLEN.

MFC after:	1 week
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Required for MAXPATHLEN.

MFC after:	1 week
</pre>
</div>
</content>
</entry>
<entry>
<title>libutil: avoid an out-of-bounds read in trimdomain(3)</title>
<updated>2026-03-03T22:51:02+00:00</updated>
<author>
<name>Kyle Evans</name>
<email>kevans@FreeBSD.org</email>
</author>
<published>2026-03-03T22:51:02+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=f268f95955f5f0f91f4d39e13bcd69a24e0d8ce4'/>
<id>f268f95955f5f0f91f4d39e13bcd69a24e0d8ce4</id>
<content type='text'>
memchr(3) will happily believe we've passed in a valid object, but
hostsize could easily exceed the bounds of fullhost.  Clamp it down to
the string size to be safe and avoid UB.  This plugs a potential
overread noted in the compat shim that was just added.

Reviewed by:	des
Sponsored by:	Klara, Inc.
Differential Revision:	https://reviews.freebsd.org/D54623
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
memchr(3) will happily believe we've passed in a valid object, but
hostsize could easily exceed the bounds of fullhost.  Clamp it down to
the string size to be safe and avoid UB.  This plugs a potential
overread noted in the compat shim that was just added.

Reviewed by:	des
Sponsored by:	Klara, Inc.
Differential Revision:	https://reviews.freebsd.org/D54623
</pre>
</div>
</content>
</entry>
<entry>
<title>libutil: take a size_t in trimdomain()</title>
<updated>2026-03-03T22:51:01+00:00</updated>
<author>
<name>Kyle Evans</name>
<email>kevans@FreeBSD.org</email>
</author>
<published>2026-03-03T22:51:01+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=7e70589b1bee4853cb11e3d8eb963079b18ff534'/>
<id>7e70589b1bee4853cb11e3d8eb963079b18ff534</id>
<content type='text'>
INT_MAX is already larger than a reasonable hostname might be, but
size_t makes some of this easier to reason about as we do arithmetic
with it.  This would maybe not be worth it if we had to bump the
soversion because of it, but libutil does symbol versioning now so we
can provide a compat shim.

While we're here, fix some inconsistencies in argument names in the
manpage.

Reviewed by:	des
Obtained from:	https://github.com/apple-oss-distributions/libutil
Sponsored by:	Klara, Inc.
Differential Revision:	https://reviews.freebsd.org/D54622
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
INT_MAX is already larger than a reasonable hostname might be, but
size_t makes some of this easier to reason about as we do arithmetic
with it.  This would maybe not be worth it if we had to bump the
soversion because of it, but libutil does symbol versioning now so we
can provide a compat shim.

While we're here, fix some inconsistencies in argument names in the
manpage.

Reviewed by:	des
Obtained from:	https://github.com/apple-oss-distributions/libutil
Sponsored by:	Klara, Inc.
Differential Revision:	https://reviews.freebsd.org/D54622
</pre>
</div>
</content>
</entry>
<entry>
<title>trimdomain.3: Explain DISPLAY a bit more</title>
<updated>2026-02-17T17:28:25+00:00</updated>
<author>
<name>Alexander Ziaee</name>
<email>ziaee@FreeBSD.org</email>
</author>
<published>2026-02-17T17:22:26+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=960719762f0a1f6689ec58bc6d8ce21c4daa9096'/>
<id>960719762f0a1f6689ec58bc6d8ce21c4daa9096</id>
<content type='text'>
MFC after:		3 days
Reported by:		jrtc27
Reviewed by:		des
Differential Revision:	https://reviews.freebsd.org/D54629
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
MFC after:		3 days
Reported by:		jrtc27
Reviewed by:		des
Differential Revision:	https://reviews.freebsd.org/D54629
</pre>
</div>
</content>
</entry>
<entry>
<title>login.conf.5: Remove mention of login copyright setting</title>
<updated>2026-01-09T21:13:37+00:00</updated>
<author>
<name>Simon Wollwage</name>
<email>rootnode+freebsd@wollwage.com</email>
</author>
<published>2025-12-15T06:27:19+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=54ce6b2c4c163d85b2a8804edbac69d4e8cb3355'/>
<id>54ce6b2c4c163d85b2a8804edbac69d4e8cb3355</id>
<content type='text'>
PR: 291649
Fixes: 905571c03119 ("Remove copyright strings printed at login time via login(1) or sshd(8).")
Signed-off-by: Simon Wollwage rootnode+freebsd@wollwage.com
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/1926
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
PR: 291649
Fixes: 905571c03119 ("Remove copyright strings printed at login time via login(1) or sshd(8).")
Signed-off-by: Simon Wollwage rootnode+freebsd@wollwage.com
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/1926
</pre>
</div>
</content>
</entry>
</feed>
