PUPDATE_MAPS(3PROC) Process Control Library Functions PUPDATE_MAPS(3PROC)

NAME


Pupdate_maps - update address space mappings

LIBRARY


Process Control Library (libproc, -lproc)

SYNOPSIS


#include <libproc.h>

void
Pupdate_maps(struct ps_prochandle *P);

DESCRIPTION


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.

INTERFACE STABILITY


Uncommitted

MT-LEVEL
See LOCKING in libproc(3LIB).

SEE ALSO


libproc(3LIB), Pupdate_syms(3PROC)

illumos May 11, 2016 illumos