143051d27SRobert Mustacchi.\" 243051d27SRobert Mustacchi.\" This file and its contents are supplied under the terms of the 343051d27SRobert Mustacchi.\" Common Development and Distribution License ("CDDL"), version 1.0. 443051d27SRobert Mustacchi.\" You may only use this file in accordance with the terms of version 543051d27SRobert Mustacchi.\" 1.0 of the CDDL. 643051d27SRobert Mustacchi.\" 743051d27SRobert Mustacchi.\" A full copy of the text of the CDDL should have accompanied this 843051d27SRobert Mustacchi.\" source. A copy of the CDDL is also available via the Internet at 943051d27SRobert Mustacchi.\" http://www.illumos.org/license/CDDL. 1043051d27SRobert Mustacchi.\" 1143051d27SRobert Mustacchi.\" 1243051d27SRobert Mustacchi.\" Copyright 2015 Joyent, Inc. 1343051d27SRobert Mustacchi.\" 1443051d27SRobert Mustacchi.Dd May 11, 2016 1543051d27SRobert Mustacchi.Dt PUPDATE_MAPS 3PROC 1643051d27SRobert Mustacchi.Os 1743051d27SRobert Mustacchi.Sh NAME 1843051d27SRobert Mustacchi.Nm Pupdate_maps 1943051d27SRobert Mustacchi.Nd update address space mappings 20*ab618543SJohn Levon.Sh LIBRARY 2143051d27SRobert Mustacchi.Lb libproc 22*ab618543SJohn Levon.Sh SYNOPSIS 2343051d27SRobert Mustacchi.In libproc.h 2443051d27SRobert Mustacchi.Ft void 2543051d27SRobert Mustacchi.Fo Pupdate_maps 2643051d27SRobert Mustacchi.Fa "struct ps_prochandle *P" 2743051d27SRobert Mustacchi.Fc 2843051d27SRobert Mustacchi.Sh DESCRIPTION 2943051d27SRobert MustacchiThe 3043051d27SRobert Mustacchi.Fn Pupdate_maps 3143051d27SRobert Mustacchifunction is used to verify that all of the cached mappings in the 3243051d27SRobert Mustacchiprocess 3343051d27SRobert Mustacchi.Fa P 3443051d27SRobert Mustacchiare still valid and update the cached data with any new information. 3543051d27SRobert MustacchiThis is generally called in response to activity by the run-time 3672d3dbb9SYuri Pankovlink-editor. 3772d3dbb9SYuri PankovIn general, the 3843051d27SRobert Mustacchi.Sy libproc 3943051d27SRobert Mustacchilibrary takes care of managing the need to call this function; however, 4043051d27SRobert Mustacchidebuggers, introspection tools, and others that are interposing on rtld 4143051d27SRobert Mustacchiactivity or other actions, may need to call this function. 4243051d27SRobert MustacchiNote that the 4343051d27SRobert Mustacchi.Fn Pupdate_maps 4472d3dbb9SYuri Pankovfunction is only meaningful for active processes. 4572d3dbb9SYuri PankovIt will do nothing on process handles that refer to core files, zombie 4672d3dbb9SYuri Pankovprocesses, and ELF objects. 4743051d27SRobert Mustacchi.Sh INTERFACE STABILITY 4843051d27SRobert Mustacchi.Sy Uncommitted 4943051d27SRobert Mustacchi.Sh MT-LEVEL 5043051d27SRobert MustacchiSee 5143051d27SRobert Mustacchi.Sy LOCKING 5243051d27SRobert Mustacchiin 5343051d27SRobert Mustacchi.Xr libproc 3LIB . 5443051d27SRobert Mustacchi.Sh SEE ALSO 5543051d27SRobert Mustacchi.Xr libproc 3LIB , 5643051d27SRobert Mustacchi.Xr Pupdate_syms 3PROC 57