<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/lib/libutil, branch stable/13</title>
<subtitle>FreeBSD source tree</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<entry>
<title>hexdump.3: Add missing LIBRARY section</title>
<updated>2025-12-15T17:56:36+00:00</updated>
<author>
<name>David Gilbert</name>
<email>dave@daveg.ca</email>
</author>
<published>2024-11-21T20:23:16+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=7d8ea3c846f03150322720480381566b93134642'/>
<id>7d8ea3c846f03150322720480381566b93134642</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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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)
</pre>
</div>
</content>
</entry>
<entry>
<title>libutil: Add missing MLINKs</title>
<updated>2025-08-14T14:00:05+00:00</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2025-08-03T17:31:28+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=a64e034831903dae5811b8e4227b824be5b33525'/>
<id>a64e034831903dae5811b8e4227b824be5b33525</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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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)
</pre>
</div>
</content>
</entry>
<entry>
<title>libutil: Document pidfile_signal()</title>
<updated>2025-08-14T14:00:05+00:00</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2025-08-03T17:31:20+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=f580383f1e3e773608dcd7136ba9ebf3914b0548'/>
<id>f580383f1e3e773608dcd7136ba9ebf3914b0548</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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes:		287451fd0192
MFC after:	1 week
Reviewed by:	pauamma_gundo.com, emaste
Differential Revision:	https://reviews.freebsd.org/D51705

(cherry picked from commit 4e6a3e7e3240a95cda1d490831aa16ed3b9bd59b)
</pre>
</div>
</content>
</entry>
<entry>
<title>login_cap.h: Remove LOGIN_DEFPRI</title>
<updated>2024-02-01T21:24:30+00:00</updated>
<author>
<name>Olivier Certner</name>
<email>olce@FreeBSD.org</email>
</author>
<published>2024-01-25T22:25:10+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=634f86a3c47ffc8dfe7699ea599ab34c88b25324'/>
<id>634f86a3c47ffc8dfe7699ea599ab34c88b25324</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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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)
</pre>
</div>
</content>
</entry>
<entry>
<title>login_cap.h: Remove LOGIN_DEFUMASK</title>
<updated>2024-02-01T21:24:22+00:00</updated>
<author>
<name>Olivier Certner</name>
<email>olce@FreeBSD.org</email>
</author>
<published>2024-01-25T22:10:40+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=943af0501107f88312a98b217b6956f3d0f2fa76'/>
<id>943af0501107f88312a98b217b6956f3d0f2fa76</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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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)
</pre>
</div>
</content>
</entry>
<entry>
<title>setusercontext(): Set priority from '~/.login_conf' as well</title>
<updated>2024-02-01T21:24:13+00:00</updated>
<author>
<name>Olivier Certner</name>
<email>olce.freebsd@certner.fr</email>
</author>
<published>2023-05-30T15:14:50+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=8b359002747a3ce84414fb64a9b89eab20ab7c25'/>
<id>8b359002747a3ce84414fb64a9b89eab20ab7c25</id>
<content type='text'>
Setting the process priority is done only when the current process'
effective UID corresponds to that for which context is to be set.
Consequently, setting priority is done with appropriate credentials and
will fail if the target user tries to raise it unduly via his
'~/.login_conf'.

PR:                     271751
Reviewed by:            kib, Andrew Gierth &lt;andrew_tao173.riddles.org.uk&gt;
Approved by:            emaste (mentor)
MFC after:              3 days
Relnotes:               yes
Sponsored by:           Kumacom SAS
Differential Revision:  https://reviews.freebsd.org/D40352

(cherry picked from commit f2a0277d3e51a6a839151eef17f466d0db2b7300)

Approved by:            markj (mentor)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Setting the process priority is done only when the current process'
effective UID corresponds to that for which context is to be set.
Consequently, setting priority is done with appropriate credentials and
will fail if the target user tries to raise it unduly via his
'~/.login_conf'.

PR:                     271751
Reviewed by:            kib, Andrew Gierth &lt;andrew_tao173.riddles.org.uk&gt;
Approved by:            emaste (mentor)
MFC after:              3 days
Relnotes:               yes
Sponsored by:           Kumacom SAS
Differential Revision:  https://reviews.freebsd.org/D40352

(cherry picked from commit f2a0277d3e51a6a839151eef17f466d0db2b7300)

Approved by:            markj (mentor)
</pre>
</div>
</content>
</entry>
<entry>
<title>login.conf(5): Document priority's special value 'inherit'</title>
<updated>2024-02-01T21:24:06+00:00</updated>
<author>
<name>Olivier Certner</name>
<email>olce.freebsd@certner.fr</email>
</author>
<published>2023-06-21T08:39:47+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=d836f951d9fee1d8cd7b77b4b87fb13c54d8cf15'/>
<id>d836f951d9fee1d8cd7b77b4b87fb13c54d8cf15</id>
<content type='text'>
Reviewed by:            emaste, yuripv (older version)
Approved by:            emaste (mentor)
MFC after:              3 days
Sponsored by:           Kumacom SAS
Differential Revision:  https://reviews.freebsd.org/D40691

(cherry picked from commit 33d4ce5496efe96bbaa7663e298876395b1db62c)

Approved by:            markj (mentor)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reviewed by:            emaste, yuripv (older version)
Approved by:            emaste (mentor)
MFC after:              3 days
Sponsored by:           Kumacom SAS
Differential Revision:  https://reviews.freebsd.org/D40691

(cherry picked from commit 33d4ce5496efe96bbaa7663e298876395b1db62c)

Approved by:            markj (mentor)
</pre>
</div>
</content>
</entry>
<entry>
<title>setclasspriority(): New possible value 'inherit'</title>
<updated>2024-02-01T21:23:59+00:00</updated>
<author>
<name>Olivier Certner</name>
<email>olce.freebsd@certner.fr</email>
</author>
<published>2023-06-21T08:53:37+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=e074746fec21fbc4a66e936408e3b585f89b73bd'/>
<id>e074746fec21fbc4a66e936408e3b585f89b73bd</id>
<content type='text'>
It indicates to the login.conf machinery (setusercontext() /
setclasscontext()) to leave priority alone, effectively inheriting it
from the parent process.

PR:                     271749
Reviewed by:            emaste, yuripv
Approved by:            emaste (mentor)
MFC after:              3 days
Relnotes:               yes
Sponsored by:           Kumacom SAS
Differential Revision:  https://reviews.freebsd.org/D40690

(cherry picked from commit d162d7e2ad327ceada4102c5d6779f9ecd809502)

Approved by:            markj (mentor)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It indicates to the login.conf machinery (setusercontext() /
setclasscontext()) to leave priority alone, effectively inheriting it
from the parent process.

PR:                     271749
Reviewed by:            emaste, yuripv
Approved by:            emaste (mentor)
MFC after:              3 days
Relnotes:               yes
Sponsored by:           Kumacom SAS
Differential Revision:  https://reviews.freebsd.org/D40690

(cherry picked from commit d162d7e2ad327ceada4102c5d6779f9ecd809502)

Approved by:            markj (mentor)
</pre>
</div>
</content>
</entry>
<entry>
<title>setusercontext(): Move priority setting in new setclasspriority()</title>
<updated>2024-02-01T21:23:52+00:00</updated>
<author>
<name>Olivier Certner</name>
<email>olce.freebsd@certner.fr</email>
</author>
<published>2023-05-29T17:09:36+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=3fc149c302ab7287e063e7fdd0a0d7031947e3fb'/>
<id>3fc149c302ab7287e063e7fdd0a0d7031947e3fb</id>
<content type='text'>
In preparation for setting priorities from '~/.login_conf' and to ease
reading of setusercontext().

No functional change.

Reviewed by:            emaste
Approved by:            emaste (mentor)
MFC after:              3 days
Sponsored by:           Kumacom SAS
Differential Revision:  https://reviews.freebsd.org/D40350

(cherry picked from commit 7b94ec550ef6e7b75d608e125e9b78478197d4e7)

Approved by:            markj (mentor)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In preparation for setting priorities from '~/.login_conf' and to ease
reading of setusercontext().

No functional change.

Reviewed by:            emaste
Approved by:            emaste (mentor)
MFC after:              3 days
Sponsored by:           Kumacom SAS
Differential Revision:  https://reviews.freebsd.org/D40350

(cherry picked from commit 7b94ec550ef6e7b75d608e125e9b78478197d4e7)

Approved by:            markj (mentor)
</pre>
</div>
</content>
</entry>
<entry>
<title>login.conf(5): Document priority's default and possible values</title>
<updated>2024-02-01T21:23:45+00:00</updated>
<author>
<name>Olivier Certner</name>
<email>olce.freebsd@certner.fr</email>
</author>
<published>2023-06-21T08:39:15+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=72d463479fcc72435c75c5f8643e53e1a54fa799'/>
<id>72d463479fcc72435c75c5f8643e53e1a54fa799</id>
<content type='text'>
Priority is reset to 0 if not explicitly specified.

While here, be more explicit about what "Initial priority (nice) level"
means and document that it is possible to set real-time or idle class'
priorities with this capability.

Reviewed by:            emaste
Approved by:            emaste (mentor)
MFC after:              3 days
Sponsored by:           Kumacom SAS
Differential Revision:  https://reviews.freebsd.org/D40689

(cherry picked from commit aa96945e71b0f724e6ce673194d23f58d2d637d3)

Approved by:            markj (mentor)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Priority is reset to 0 if not explicitly specified.

While here, be more explicit about what "Initial priority (nice) level"
means and document that it is possible to set real-time or idle class'
priorities with this capability.

Reviewed by:            emaste
Approved by:            emaste (mentor)
MFC after:              3 days
Sponsored by:           Kumacom SAS
Differential Revision:  https://reviews.freebsd.org/D40689

(cherry picked from commit aa96945e71b0f724e6ce673194d23f58d2d637d3)

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