summaryrefslogtreecommitdiffstats
path: root/lib/libproc/proc_util.c
Commit message (Collapse)AuthorAgeFilesLines
* MFC r309591:markj2017-04-111-5/+10
| | | | Fix style bugs and remove trailing whitespace in libproc and librtld_db.
* If the traced process stops because it received a signal, libproc needsmarkj2014-05-041-9/+15
| | | | | | to ensure that the signal is forwarded when proc_continue() is called. MFC after: 3 weeks
* Revert r257248 and fix the problem in a way that doesn't violate style(9).markj2013-10-291-2/+1
| | | | Suggested by: jmg
* Fix the build with gcc.markj2013-10-281-1/+2
|
* Clean up the debug printing in libproc a bit. In particular:markj2013-10-271-1/+1
| | | | | | * 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.
* Ignore EINTR when calling waitpid.rpaulo2010-09-181-1/+2
|
* Several fixes for libproc:rpaulo2010-08-111-4/+7
| | | | | | | | o return the correct status in proc_wstatus() o proc_read takes a void * o correctly allocate the objs structure array Sponsored by: The FreeBSD Foundation
* New version of libproc. Changes are:rpaulo2010-07-311-26/+113
| | | | | | | | | | | * 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
* Add a process library with some stubs that the DTrace client needs.jb2008-05-221-0/+133
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.
OpenPOWER on IntegriCloud