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.

Uncommitted

See LOCKING in libproc(3LIB).

libproc(3LIB), Pupdate_syms(3PROC)
May 11, 2016 illumos