<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/lib/libprocstat/libprocstat.c, branch release/14.4.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=release%2F14.4.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=release%2F14.4.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2025-08-28T18:14:23Z</updated>
<entry>
<title>vfs: Introduce VN_ISDEV() macro</title>
<updated>2025-08-28T18:14:23Z</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2025-08-17T17:08:10Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=4612f5f2d23348c8a861834d4c9f98b0a2742f56'/>
<id>urn:sha1:4612f5f2d23348c8a861834d4c9f98b0a2742f56</id>
<content type='text'>
(cherry picked from commit 567e6250c003eeb251b4bc8dbe60d2adabab2988)
</content>
</entry>
<entry>
<title>libprocstat: add knowledge about NT_PROCSTAT_KQUEUES core file section</title>
<updated>2025-04-07T01:28:22Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2025-03-13T23:06:05Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=6c0c6ad350c9e35291d0fb1eda8f889eef655f83'/>
<id>urn:sha1:6c0c6ad350c9e35291d0fb1eda8f889eef655f83</id>
<content type='text'>
(cherry picked from commit 1c3d6532ca29c7aa7d26edd4074bc91671ac1bc2)
</content>
</entry>
<entry>
<title>libprocstat: add helper to query knotes for specific kqueue</title>
<updated>2025-04-07T01:28:21Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2025-02-24T23:44:10Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=3cb2a80f6bb0d8998b441f07057c4ff9863b5fb5'/>
<id>urn:sha1:3cb2a80f6bb0d8998b441f07057c4ff9863b5fb5</id>
<content type='text'>
(cherry picked from commit bf46aec4b29a72bcaaa9f1b2fc446ee299f5a6fd)
</content>
</entry>
<entry>
<title>libprocstat: add procstat_getrlimitusage()</title>
<updated>2024-10-05T07:08:56Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2024-09-22T17:19:00Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=1611738d4c4c375ea79a5cc25dd4fa29670ad88c'/>
<id>urn:sha1:1611738d4c4c375ea79a5cc25dd4fa29670ad88c</id>
<content type='text'>
(cherry picked from commit 6126f4ea646a3c19647c3efdcf672641cff6954b)
</content>
</entry>
<entry>
<title>libprocstat: improve conditional for 32-bit compat</title>
<updated>2023-10-25T23:31:02Z</updated>
<author>
<name>Brooks Davis</name>
<email>brooks@FreeBSD.org</email>
</author>
<published>2023-10-16T16:53:29Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=58a50eabf390afd621a00dad46ea15fd343189fc'/>
<id>urn:sha1:58a50eabf390afd621a00dad46ea15fd343189fc</id>
<content type='text'>
Include support for translating 32-bit auxv vectors on non-64-bit
platforms that aren't riscv (which has no 32-bit ABI support and
probably never will).

Reviewed by:	markj
Sponsored by:	DARPA
Differential Revision:	https://reviews.freebsd.org/D42201

(cherry picked from commit 248fe3d3483cb3ec2c78dd31dc02a467060a6577)
</content>
</entry>
<entry>
<title>libprocstat: copy all the 32-bit auxv entries</title>
<updated>2023-10-25T23:30:56Z</updated>
<author>
<name>Brooks Davis</name>
<email>brooks@FreeBSD.org</email>
</author>
<published>2023-10-16T16:53:22Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=ff90744045e310acae79669c07f70f0ecb5fbc0a'/>
<id>urn:sha1:ff90744045e310acae79669c07f70f0ecb5fbc0a</id>
<content type='text'>
Use source struct size not the destination struct size so we copy all
the auxv entries, not just the first half of them.

Fix a style issue on an adjacent line.

Reviewed by:	markj
Sponsored by:	DARPA
Differential Revision:	https://reviews.freebsd.org/D42200

(cherry picked from commit 8f06fabe39ac3ebca4ab448a456945008305a23f)
</content>
</entry>
<entry>
<title>libprocstat: make sv_name not static</title>
<updated>2023-10-25T23:30:51Z</updated>
<author>
<name>Brooks Davis</name>
<email>brooks@FreeBSD.org</email>
</author>
<published>2023-10-16T16:53:11Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=9b48cb8e89c86128c1d9d89eea67ef4b28a38c52'/>
<id>urn:sha1:9b48cb8e89c86128c1d9d89eea67ef4b28a38c52</id>
<content type='text'>
Making this variable static makes is_elf32_sysctl() and callers thread
unsafe.

Use a less absurd length for sv_name.  The longest name in the system is
"FreeBSD ELF64 V2" which tips the scales at 16+1 bytes.  We'll almost
certainly have other problems if we exceed 32 characters.

Reviewed by:	markj
Sponsored by:	DARPA
Differential Revision:	https://reviews.freebsd.org/D42199

(cherry picked from commit 72a4ee26a7c665ae1c31abe1c6feeaa7ccaba140)
</content>
</entry>
<entry>
<title>libprocstat: simplify auxv value conversion</title>
<updated>2023-10-25T23:30:45Z</updated>
<author>
<name>Brooks Davis</name>
<email>brooks@FreeBSD.org</email>
</author>
<published>2023-10-16T16:52:57Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=d65a002ded1fef6a9dce796252a73bd65104e1af'/>
<id>urn:sha1:d65a002ded1fef6a9dce796252a73bd65104e1af</id>
<content type='text'>
Avoid a weird dance through the union and treat all 32-bit values as
unsigned integers.  This avoids sign extension of flags and userspace
pointers.

Reviewed by:	markj
Sponsored by:	DARPA
Differential Revision:	https://reviews.freebsd.org/D42198

(cherry picked from commit 9735cc0e41825bb9e95d16433d381ffe4c190f38)
</content>
</entry>
<entry>
<title>libprocstat: style: space after switch</title>
<updated>2023-10-25T23:30:37Z</updated>
<author>
<name>Brooks Davis</name>
<email>brooks@FreeBSD.org</email>
</author>
<published>2023-10-02T21:50:00Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=b2f6c1f5488f93601e8d197bb6f5f6a99a0a9847'/>
<id>urn:sha1:b2f6c1f5488f93601e8d197bb6f5f6a99a0a9847</id>
<content type='text'>
Style demands a space after the switch keyword.

Noticed reviewing code in CheriBSD that propagated the style bug.

Reported by:	markj
Sponsored by:	DARPA
Reviewed by:	kib, markj
Differential Revision:	https://reviews.freebsd.org/D42041

(cherry picked from commit ccac440f7cbb013de41aa3933f3f7be77225c44f)
</content>
</entry>
<entry>
<title>Remove $FreeBSD$: one-line .c pattern</title>
<updated>2023-08-16T17:54:42Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2023-08-16T17:54:42Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=1d386b48a555f61cb7325543adbbb5c3f3407a66'/>
<id>urn:sha1:1d386b48a555f61cb7325543adbbb5c3f3407a66</id>
<content type='text'>
Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
</content>
</entry>
</feed>
