<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/lib/libutil, branch releng/14.4</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=releng%2F14.4</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=releng%2F14.4'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2026-01-20T04:05:44Z</updated>
<entry>
<title>libutil: defer setting the MAC label until after the login class</title>
<updated>2026-01-20T04:05:44Z</updated>
<author>
<name>Kyle Evans</name>
<email>kevans@FreeBSD.org</email>
</author>
<published>2025-10-29T02:37:21Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=57b08d98db0a5bc16a6f0b47ade5b25021564d14'/>
<id>urn:sha1:57b08d98db0a5bc16a6f0b47ade5b25021564d14</id>
<content type='text'>
MAC policies, like mac_biba(4), may forbid changing the login class once
a label has been applied.  For setting up the initial login context,
this isn't really expected and in-fact may break some class-based
configuration.

Defer setting the MAC label until after the login class is set, and
remove the requirement that we have a pwd entry since the label is
pulled from the login class -- we only use pwd for syslog in this path.

Patch is largely by Kevin Barry, with some modifications and this commit
message by kevans@.

PR:		177698
Reviewed by:	des, olce
Co-authored-by:	Kevin Barry &lt;ta0kira gmail com&gt;

(cherry picked from commit 98edcbcce0a4650084bd86e704cfa38bf590250c)
</content>
</entry>
<entry>
<title>hexdump.3: Add missing LIBRARY section</title>
<updated>2025-12-15T16:58:44Z</updated>
<author>
<name>David Gilbert</name>
<email>dave@daveg.ca</email>
</author>
<published>2024-11-21T20:23:16Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=1327039aaf1626e646516fea2c8214ceb298fe8a'/>
<id>urn:sha1:1327039aaf1626e646516fea2c8214ceb298fe8a</id>
<content type='text'>
All the other libutil section 3 manpages document this, and although
it's heavily implied by the libutil.h header in the synopsis, we should
still be explicit and consistent.

PR:		280078
Reviewed by:	jrtc27
MFC after:	1 week

(cherry picked from commit 169e23d41f8ff16244f4fb04924fdc9828325dce)
</content>
</entry>
<entry>
<title>libutil: Add missing MLINKs</title>
<updated>2025-08-14T14:00:09Z</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2025-08-03T17:31:28Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=f0ee68d143e5a0a9c2c89b50e67ef94065e77610'/>
<id>urn:sha1:f0ee68d143e5a0a9c2c89b50e67ef94065e77610</id>
<content type='text'>
MFC after:	1 week
Reviewed by:	olce, imp, emaste
Differential Revision:	https://reviews.freebsd.org/D51706

(cherry picked from commit 22afc767869a23f4e0ec5436ce843728fded950c)

libutil: Remove manual link for nonexistent function

I believe quota_statfs() was the original name of the function now
called quota_check_path().  I must have forgotten to update the MLINK
when I renamed it.

MFC after:	1 week
Fixes:		5666aadb3ddf ("Further extend the quotafile API.")
Fixes:		22afc767869a ("libutil: Add missing MLINKs")
Reviewed by:	bcr
Differential Revision:	https://reviews.freebsd.org/D51863

(cherry picked from commit 7400d04407c033341ddc0b323b5ae7cd1cca358f)

libutil: Fix manlint failures

MFC after:	1 week
Reviewed by:	ziaee
Differential Revision:	https://reviews.freebsd.org/D51864

(cherry picked from commit d0cc09fcdb4a3192fb76c95b1bd3c7f31a4cf486)

ObsoleteFiles: Remove bogus manlink

Fixes:		7400d04407c0 ("libutil: Remove manual link for nonexistent function")
(cherry picked from commit 46f9056367596daad0b4f0065e5a8fa0bcbb907d)
</content>
</entry>
<entry>
<title>libutil: Document pidfile_signal()</title>
<updated>2025-08-14T14:00:08Z</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2025-08-03T17:31:20Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=4dd4999d23f7d2a281430729fe02ddc7cb77e92b'/>
<id>urn:sha1:4dd4999d23f7d2a281430729fe02ddc7cb77e92b</id>
<content type='text'>
Fixes:		287451fd0192
MFC after:	1 week
Reviewed by:	pauamma_gundo.com, emaste
Differential Revision:	https://reviews.freebsd.org/D51705

(cherry picked from commit 4e6a3e7e3240a95cda1d490831aa16ed3b9bd59b)
</content>
</entry>
<entry>
<title>login.conf.5: remove a stray quote</title>
<updated>2024-12-13T19:13:53Z</updated>
<author>
<name>Maxim Konovalov</name>
<email>maxim@FreeBSD.org</email>
</author>
<published>2024-12-11T18:23:22Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=7620bade4c75bc92e885126e0cbcf53ca1f12feb'/>
<id>urn:sha1:7620bade4c75bc92e885126e0cbcf53ca1f12feb</id>
<content type='text'>
PR:	282858
(cherry picked from commit d6917af2b9da76ac1df1977b2a3c09fb9d45db11)
</content>
</entry>
<entry>
<title>ftime.3: fix typo in spelling of libutil</title>
<updated>2024-10-20T00:33:44Z</updated>
<author>
<name>Keith White</name>
<email>kwhite.uottawa@gmail.com</email>
</author>
<published>2024-10-18T12:49:30Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=def4322f9632fddc1953df0210f278bd04026f9c'/>
<id>urn:sha1:def4322f9632fddc1953df0210f278bd04026f9c</id>
<content type='text'>
PR:	282171

(cherry picked from commit 167bfde7057f38894c8fbd790a65136f0174368e)
</content>
</entry>
<entry>
<title>libutil: support RLIMIT_PIPEBUF</title>
<updated>2024-10-05T07:08:54Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2024-09-10T04:13:01Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=a03f7c040ce7b836b7e0dedfca76b28d2b8a5464'/>
<id>urn:sha1:a03f7c040ce7b836b7e0dedfca76b28d2b8a5464</id>
<content type='text'>
(cherry picked from commit a4c04958f526a0dba353b54641dc5d2806984d02)
</content>
</entry>
<entry>
<title>libutil: move ftime to libutil</title>
<updated>2024-06-28T10:17:52Z</updated>
<author>
<name>Mariusz Zaborski</name>
<email>oshogbo@FreeBSD.org</email>
</author>
<published>2024-05-29T12:32:16Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=c5e0b035d9eb14e73fc17899cd007a31e0d1edc8'/>
<id>urn:sha1:c5e0b035d9eb14e73fc17899cd007a31e0d1edc8</id>
<content type='text'>
It seems that there are still some applications that use ftime(3)
(for example, science/siconos and sysutils/lcdproc). The issue
is that we don't build libcompat as a shared library anymore.
The easiest solution is to move it to libutil, until we
deprecate it for good.

This solution was proposed by kib@ in
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=257789.

PR:		257789
MFC after:	1 month
Reviewed by:	kib (ages ago)
Differential Revision:	https://reviews.freebsd.org/D39994

(cherry picked from commit bb421be6c1174fad837973acc5e4a7bade4489db)
</content>
</entry>
<entry>
<title>login_cap.h: Remove LOGIN_DEFPRI</title>
<updated>2024-02-01T21:30:20Z</updated>
<author>
<name>Olivier Certner</name>
<email>olce@FreeBSD.org</email>
</author>
<published>2024-01-25T22:25:10Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=7e2bfa3d7a2a3025c6351a35b4ea52cdb2ea9c2f'/>
<id>urn:sha1:7e2bfa3d7a2a3025c6351a35b4ea52cdb2ea9c2f</id>
<content type='text'>
This is an implementation detail which is likely to become irrelevant in
the future, as we move to not resetting the priority if the
corresponding capability is not present in the configuration file
('/etc/login.conf').

GitHub's code search and Google show no use of this public constant, and
it doesn't exist in OpenBSD and NetBSD.

So, remove this definition and its sole use in-tree.

PR:                     276570 (exp-run)
Reviewed by:            emaste
Approved by:            emaste (mentor)
MFC after:              3 days
Sponsored by:           The FreeBSD Foundation
Differential Revision:  https://reviews.freebsd.org/D43609

(cherry picked from commit c7e645269f1c7e9872a7ccf6b72f045c55a66793)

Approved by:            markj (mentor)
</content>
</entry>
<entry>
<title>login_cap.h: Remove LOGIN_DEFUMASK</title>
<updated>2024-02-01T21:30:14Z</updated>
<author>
<name>Olivier Certner</name>
<email>olce@FreeBSD.org</email>
</author>
<published>2024-01-25T22:10:40Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=ce92a977dbd24301f5f5348d45f51795c5f98786'/>
<id>urn:sha1:ce92a977dbd24301f5f5348d45f51795c5f98786</id>
<content type='text'>
This public constant has not been used in-tree since 1997 (this was
noticed while working on previous commit "setusercontext(): umask: Set
it only once (in the common case)").

Since it was an implementation detail and GitHub's code search and
Google show no use of this symbol today, simply remove it.

PR:                     276570 (exp-run)
Reviewed by:            emaste, kib (earlier version, then part of D40344)
Approved by:            emaste (mentor)
MFC after:              3 days
Sponsored by:           The FreeBSD Foundation
Differential Revision:  https://reviews.freebsd.org/D43608

(cherry picked from commit e3a396eb2a029e5dc9161469735aa3f7f16845d1)

Approved by:            markj (mentor)
</content>
</entry>
</feed>
