<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/lib/libproc/_libproc.h, 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>2023-08-16T17:54:16Z</updated>
<entry>
<title>Remove $FreeBSD$: two-line .h pattern</title>
<updated>2023-08-16T17:54:16Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2023-08-16T17:54:16Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=b3e7694832e81d7a904a10f525f8797b753bf0d3'/>
<id>urn:sha1:b3e7694832e81d7a904a10f525f8797b753bf0d3</id>
<content type='text'>
Remove /^\s*\*\n \*\s+\$FreeBSD\$$\n/
</content>
</entry>
<entry>
<title>spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD</title>
<updated>2023-05-12T16:44:03Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2023-05-10T15:40:58Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=4d846d260e2b9a3d4d0a701462568268cbfe7a5b'/>
<id>urn:sha1:4d846d260e2b9a3d4d0a701462568268cbfe7a5b</id>
<content type='text'>
The SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catch
up to that fact and revert to their recommended match of BSD-2-Clause.

Discussed with:		pfg
MFC After:		3 days
Sponsored by:		Netflix
</content>
</entry>
<entry>
<title>lib: further adoption of SPDX licensing ID tags.</title>
<updated>2017-11-26T02:00:33Z</updated>
<author>
<name>Pedro F. Giffuni</name>
<email>pfg@FreeBSD.org</email>
</author>
<published>2017-11-26T02:00:33Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=5e53a4f90f82c4345f277dd87cc9292f26e04a29'/>
<id>urn:sha1:5e53a4f90f82c4345f277dd87cc9292f26e04a29</id>
<content type='text'>
Mainly focus on files that use BSD 2-Clause license, however the tool I
was using mis-identified many licenses so this was mostly a manual - error
prone - task.

The Software Package Data Exchange (SPDX) group provides a specification
to make it easier for automated tools to detect and summarize well known
opensource licenses. We are gradually adopting the specification, noting
that the tags are considered only advisory and do not, in any way,
superceed or replace the license texts.
</content>
</entry>
<entry>
<title>Avoid keeping a dangling pointer when the mappings array is resized.</title>
<updated>2017-09-06T16:24:34Z</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2017-09-06T16:24:34Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=2c73c414eb0b7cb81e3142d98733f3be429f2abf'/>
<id>urn:sha1:2c73c414eb0b7cb81e3142d98733f3be429f2abf</id>
<content type='text'>
Sponsored by:	Dell EMC Isilon
</content>
</entry>
<entry>
<title>libproc: Cache symbol tables for mapped objects upon access.</title>
<updated>2016-12-06T04:21:35Z</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2016-12-06T04:21:35Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=c156354ff82167219f10fd80c55f6452acb60328'/>
<id>urn:sha1:c156354ff82167219f10fd80c55f6452acb60328</id>
<content type='text'>
Extend the file handle cache entries to include symbol tables as well. An
index is used to implement binary search by symbol value. Lookups by
name are comparatively rare and are thus still implemented with a linear
search, but support for a binary search by name would be straightforward
to add if needed.
</content>
</entry>
<entry>
<title>libproc: Cache ELF handles for loaded objects.</title>
<updated>2016-12-06T04:19:08Z</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2016-12-06T04:19:08Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=07a9c2e65d5f2f21cc9783e33dd94a5ce8cc592d'/>
<id>urn:sha1:07a9c2e65d5f2f21cc9783e33dd94a5ce8cc592d</id>
<content type='text'>
libproc previously created a new handle for each symbol lookup, which
gives rather egregious performance for DTrace's ustack() action. With
this change libproc will cache the libelf descriptor upon access, making
lookups much faster in the common case.
</content>
</entry>
<entry>
<title>libproc: Make proc_getpid() an accessor for struct proc_handle.</title>
<updated>2016-12-06T04:14:20Z</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2016-12-06T04:14:20Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=b1bb30e5c5786253ff0316a29e0929dd1168effa'/>
<id>urn:sha1:b1bb30e5c5786253ff0316a29e0929dd1168effa</id>
<content type='text'>
This allows librtld_db to fetch the PID from a handle without calling into
libproc. Together with r303531, this means that librtld_db no longer
references symbols from libproc.
</content>
</entry>
<entry>
<title>Fix style bugs and remove trailing whitespace in libproc and librtld_db.</title>
<updated>2016-12-06T04:13:02Z</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2016-12-06T04:13:02Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=fcf9fc109edfef9d3bbd6f03bd796ac728cb9258'/>
<id>urn:sha1:fcf9fc109edfef9d3bbd6f03bd796ac728cb9258</id>
<content type='text'>
MFC after:	1 week
</content>
</entry>
<entry>
<title>libproc: Add proc_getmodel().</title>
<updated>2016-07-30T03:09:23Z</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2016-07-30T03:09:23Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=4808a67805fe7287d8054934d978cd1076302689'/>
<id>urn:sha1:4808a67805fe7287d8054934d978cd1076302689</id>
<content type='text'>
This is used by libdtrace to determine the data model of target processes.
This allows for the creation of pid provider probes in 32-bit processes on
amd64.

MFC after:	1 month
</content>
</entry>
<entry>
<title>Add descriptions for fields in struct proc_handle.</title>
<updated>2016-07-30T03:07:14Z</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2016-07-30T03:07:14Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=700244a246427d903ba6a6135b9c2bd920a24d03'/>
<id>urn:sha1:700244a246427d903ba6a6135b9c2bd920a24d03</id>
<content type='text'>
Remove the unused kq field and some unnecessary includes.

MFC after:	1 month
</content>
</entry>
</feed>
