|
Revision tags: release/13.4.0-p5, release/13.5.0-p1, release/14.2.0-p3, release/13.5.0, release/14.2.0-p2, release/14.1.0-p8, release/13.4.0-p4, release/14.1.0-p7, release/14.2.0-p1, release/13.4.0-p3, release/14.2.0, release/13.4.0, release/14.1.0, release/13.3.0, release/14.0.0 |
|
| #
1d386b48 |
| 16-Aug-2023 |
Warner Losh <[email protected]> |
Remove $FreeBSD$: one-line .c pattern
Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
|
| #
4d846d26 |
| 10-May-2023 |
Warner Losh <[email protected]> |
spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD
The SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catch up to that fact and revert to their recommended match of
spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD
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
show more ...
|
|
Revision tags: release/13.2.0, release/12.4.0, release/13.1.0, release/12.3.0, release/13.0.0, release/12.2.0, release/11.4.0, release/12.1.0, release/11.3.0, release/12.0.0, release/11.2.0 |
|
| #
cdaa2de8 |
| 06-Dec-2017 |
Mark Johnston <[email protected]> |
Use a global extern declaration to appease gcc.
Reported by: gjb X-MFC with: r326498
|
| #
5577b8a7 |
| 03-Dec-2017 |
Mark Johnston <[email protected]> |
Add an envp argument to proc_create().
This is needed to support dtrace's -x setenv option.
MFC after: 2 weeks
|
| #
5e53a4f9 |
| 26-Nov-2017 |
Pedro F. Giffuni <[email protected]> |
lib: further adoption of SPDX licensing ID tags.
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 pr
lib: further adoption of SPDX licensing ID tags.
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.
show more ...
|
|
Revision tags: release/10.4.0, release/11.1.0 |
|
| #
643fc6b2 |
| 22-Mar-2017 |
Mark Johnston <[email protected]> |
Add initializations missed in r315728.
X-MFC With: r315728
|
| #
8440c5e6 |
| 22-Mar-2017 |
Mark Johnston <[email protected]> |
Avoid accessing an uninitialized variable when vfork() fails.
Reported by: Miles Ohlrich <[email protected]> MFC after: 1 week Sponsored by: Dell EMC Isilon
|
| #
b043b5dc |
| 06-Dec-2016 |
Mark Johnston <[email protected]> |
libproc: Add support for some proc_attach() flags.
This change adds some handling for the equivalent of Solaris' PGRAB_* flags. In particular, support for PGRAB_RDONLY is needed to avoid a nasty dea
libproc: Add support for some proc_attach() flags.
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.
show more ...
|
| #
c156354f |
| 06-Dec-2016 |
Mark Johnston <[email protected]> |
libproc: Cache symbol tables for mapped objects upon access.
Extend the file handle cache entries to include symbol tables as well. An index is used to implement binary search by symbol value. Looku
libproc: Cache symbol tables for mapped objects upon access.
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.
show more ...
|
| #
07a9c2e6 |
| 06-Dec-2016 |
Mark Johnston <[email protected]> |
libproc: Cache ELF handles for loaded objects.
libproc previously created a new handle for each symbol lookup, which gives rather egregious performance for DTrace's ustack() action. With this change
libproc: Cache ELF handles for loaded objects.
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.
show more ...
|
| #
b1bb30e5 |
| 06-Dec-2016 |
Mark Johnston <[email protected]> |
libproc: Make proc_getpid() an accessor for struct proc_handle.
This allows librtld_db to fetch the PID from a handle without calling into libproc. Together with r303531, this means that librtld_db
libproc: Make proc_getpid() an accessor for struct proc_handle.
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.
show more ...
|
| #
fcf9fc10 |
| 06-Dec-2016 |
Mark Johnston <[email protected]> |
Fix style bugs and remove trailing whitespace in libproc and librtld_db.
MFC after: 1 week
|
|
Revision tags: release/11.0.1, release/11.0.0 |
|
| #
ce601a26 |
| 02-Aug-2016 |
Conrad Meyer <[email protected]> |
proc_init: Fix a few memory leaks of 'phdl'
In the normal case and correct failure cases, the 'phdl' pointer is passed to callers to use or clean up as needed. However, some failure cases returned
proc_init: Fix a few memory leaks of 'phdl'
In the normal case and correct failure cases, the 'phdl' pointer is passed to callers to use or clean up as needed. However, some failure cases returned early, failing to export the phdl pointer.
This was introduced in the restructuring of r303533.
Reported by: Coverity CID: 1361070 Reviewed by: markj Sponsored by: EMC / Isilon Storage Division
show more ...
|
| #
4808a678 |
| 30-Jul-2016 |
Mark Johnston <[email protected]> |
libproc: Add proc_getmodel().
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:
libproc: Add proc_getmodel().
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
show more ...
|
|
Revision tags: release/10.3.0, release/10.2.0, release/10.1.0, release/9.3.0 |
|
| #
acc0eea6 |
| 03-May-2014 |
Mark Johnston <[email protected]> |
Allow "a.out" as an alias for the executable if no other matching entries are found. This improves compatibility with Solaris' libproc and fixes a number of failing DTrace tests that rely on this fea
Allow "a.out" as an alias for the executable if no other matching entries are found. This improves compatibility with Solaris' libproc and fixes a number of failing DTrace tests that rely on this feature.
MFC after: 3 weeks
show more ...
|
|
Revision tags: release/10.0.0 |
|
| #
30e81f7e |
| 27-Oct-2013 |
Mark Johnston <[email protected]> |
Clean up the debug printing in libproc a bit. In particular:
* Don't print any error messages to stderr unless DEBUG is defined. * Add a DPRINTFX macro for use when errno isn't set. * Print the erro
Clean up the debug printing in libproc a bit. In particular:
* Don't print any error messages to stderr unless DEBUG is defined. * Add a DPRINTFX macro for use when errno isn't set. * Print the error string from libelf when appropriate.
show more ...
|
|
Revision tags: release/9.2.0, release/8.4.0, release/9.1.0, release/8.3.0_cvs, release/8.3.0, release/9.0.0 |
|
| #
a8375da0 |
| 03-Aug-2011 |
Andriy Gapon <[email protected]> |
fix a serious bug in libproc's proc_attach
proc_attach always frees any struct proc_handle data that it allocates, but that is supposed to be done only in error conditions.
PR: bin/158431 Approved
fix a serious bug in libproc's proc_attach
proc_attach always frees any struct proc_handle data that it allocates, but that is supposed to be done only in error conditions.
PR: bin/158431 Approved by: re (kib) MFC after: 1 week
show more ...
|
|
Revision tags: release/7.4.0_cvs, release/8.2.0_cvs, release/7.4.0, release/8.2.0 |
|
| #
faeece5e |
| 14-Dec-2010 |
Kevin Lo <[email protected]> |
Fix a memory leak on the error condition
Reviewed by: rpaulo
|
| #
8eb20f36 |
| 31-Jul-2010 |
Rui Paulo <[email protected]> |
New version of libproc. Changes are: * breakpoint setup support * register query * symbol to address mapping and vice-versa * more misc utility functions based on their Solaris counterpart
Also, I'v
New version of libproc. Changes are: * breakpoint setup support * register query * symbol to address mapping and vice-versa * more misc utility functions based on their Solaris counterpart
Also, I've written some test cases.
Sponsored by: The FreeBSD Foundation
show more ...
|
|
Revision tags: release/8.1.0_cvs, release/8.1.0, release/7.3.0_cvs, release/7.3.0, release/8.0.0_cvs, release/8.0.0, release/7.2.0_cvs, release/7.2.0, release/7.1.0_cvs, release/7.1.0, release/6.4.0_cvs, release/6.4.0 |
|
| #
820e0679 |
| 05-Nov-2008 |
Craig Rodrigues <[email protected]> |
Merge latest DTrace changes from Perforce. Update libproc API to reflect new changes.
Approved by: jb
|
| #
2c633af4 |
| 22-May-2008 |
John Birrell <[email protected]> |
Add a process library with some stubs that the DTrace client needs. These will be fleshed out as part of the DTrace userland tracing development.
For now, the kernel tracing part of DTrace requires
Add a process library with some stubs that the DTrace client needs. These will be fleshed out as part of the DTrace userland tracing development.
For now, the kernel tracing part of DTrace requires minimal functionality for this library.
The API for this library is deliberately different from the libproc in OpenSolaris due to licensing restrictions.
show more ...
|