1 PUPDATE_MAPS(3PROC) Process Control Library Functions PUPDATE_MAPS(3PROC) 2 3 NAME 4 Pupdate_maps - update address space mappings 5 6 LIBRARY 7 Process Control Library (libproc, -lproc) 8 9 SYNOPSIS 10 #include <libproc.h> 11 12 void 13 Pupdate_maps(struct ps_prochandle *P); 14 15 DESCRIPTION 16 The Pupdate_maps() function is used to verify that all of the cached 17 mappings in the process P are still valid and update the cached data with 18 any new information. This is generally called in response to activity by 19 the run-time link-editor. In general, the libproc library takes care of 20 managing the need to call this function; however, debuggers, 21 introspection tools, and others that are interposing on rtld activity or 22 other actions, may need to call this function. Note that the 23 Pupdate_maps() function is only meaningful for active processes. It will 24 do nothing on process handles that refer to core files, zombie processes, 25 and ELF objects. 26 27 INTERFACE STABILITY 28 Uncommitted 29 30 MT-LEVEL 31 See LOCKING in libproc(3LIB). 32 33 SEE ALSO 34 libproc(3LIB), Pupdate_syms(3PROC) 35 36 illumos May 11, 2016 illumos