<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/lib/libproc/proc_create.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>2023-08-16T17:54:42Z</updated>
<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>
<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>Use a global extern declaration to appease gcc.</title>
<updated>2017-12-06T17:52:01Z</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2017-12-06T17:52:01Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=cdaa2de87e3282eda938cb4a85d4de3200a166be'/>
<id>urn:sha1:cdaa2de87e3282eda938cb4a85d4de3200a166be</id>
<content type='text'>
Reported by:	gjb
X-MFC with:	r326498
</content>
</entry>
<entry>
<title>Add an envp argument to proc_create().</title>
<updated>2017-12-03T16:50:16Z</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2017-12-03T16:50:16Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=5577b8a709c072fedc73dde9b3ad730699438bf7'/>
<id>urn:sha1:5577b8a709c072fedc73dde9b3ad730699438bf7</id>
<content type='text'>
This is needed to support dtrace's -x setenv option.

MFC after:	2 weeks
</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>Add initializations missed in r315728.</title>
<updated>2017-03-22T18:33:29Z</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2017-03-22T18:33:29Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=643fc6b26f56009790b46350386ebb1036353830'/>
<id>urn:sha1:643fc6b26f56009790b46350386ebb1036353830</id>
<content type='text'>
X-MFC With:	r315728
</content>
</entry>
<entry>
<title>Avoid accessing an uninitialized variable when vfork() fails.</title>
<updated>2017-03-22T18:31:44Z</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2017-03-22T18:31:44Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=8440c5e621668d15ab3157f0d6f4a8d1d8507ed1'/>
<id>urn:sha1:8440c5e621668d15ab3157f0d6f4a8d1d8507ed1</id>
<content type='text'>
Reported by:	Miles Ohlrich &lt;miles.ohlrich@isilon.com&gt;
MFC after:	1 week
Sponsored by:	Dell EMC Isilon
</content>
</entry>
<entry>
<title>libproc: Add support for some proc_attach() flags.</title>
<updated>2016-12-06T04:22:38Z</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2016-12-06T04:22:38Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=b043b5dc6bf70af9d188fc37d201bb35dab8feec'/>
<id>urn:sha1:b043b5dc6bf70af9d188fc37d201bb35dab8feec</id>
<content type='text'>
This change adds some handling for the equivalent of Solaris' PGRAB_*
flags. In particular, support for PGRAB_RDONLY is needed to avoid a
nasty deadlock: dtrace(1) may otherwise stop the master process for its
pseudo-terminal and end up blocking while writing to standard output.
</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>
</feed>
