| PUPDATE_MAPS(3PROC) | Process Control Library Functions | PUPDATE_MAPS(3PROC) |
Pupdate_maps —
update address space mappings
Process Control Library (libproc, -lproc)
#include
<libproc.h>
void
Pupdate_maps(struct ps_prochandle
*P);
The
Pupdate_maps()
function is used to verify that all of the cached mappings in the process
P are still valid and update the cached data with any
new information. This is generally called in response to activity by the
run-time link-editor. In general, the
libproc
library takes care of managing the need to call this function; however,
debuggers, introspection tools, and others that are interposing on rtld
activity or other actions, may need to call this function. Note that the
Pupdate_maps() function is only meaningful for
active processes. It will do nothing on process handles that refer to core
files, zombie processes, and ELF objects.
See LOCKING in libproc(3LIB).
| May 11, 2016 | OmniOS |