summaryrefslogtreecommitdiff
path: root/usr/src/man/man3proc/Pupdate_maps.3proc
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/man/man3proc/Pupdate_maps.3proc')
-rw-r--r--usr/src/man/man3proc/Pupdate_maps.3proc54
1 files changed, 54 insertions, 0 deletions
diff --git a/usr/src/man/man3proc/Pupdate_maps.3proc b/usr/src/man/man3proc/Pupdate_maps.3proc
new file mode 100644
index 0000000000..bb5dedfb30
--- /dev/null
+++ b/usr/src/man/man3proc/Pupdate_maps.3proc
@@ -0,0 +1,54 @@
+.\"
+.\" This file and its contents are supplied under the terms of the
+.\" Common Development and Distribution License ("CDDL"), version 1.0.
+.\" You may only use this file in accordance with the terms of version
+.\" 1.0 of the CDDL.
+.\"
+.\" A full copy of the text of the CDDL should have accompanied this
+.\" source. A copy of the CDDL is also available via the Internet at
+.\" http://www.illumos.org/license/CDDL.
+.\"
+.\"
+.\" Copyright 2015 Joyent, Inc.
+.\"
+.Dd May 11, 2016
+.Dt PUPDATE_MAPS 3PROC
+.Os
+.Sh NAME
+.Nm Pupdate_maps
+.Nd update address space mappings
+.Sh SYNOPSIS
+.Lb libproc
+.In libproc.h
+.Ft void
+.Fo Pupdate_maps
+.Fa "struct ps_prochandle *P"
+.Fc
+.Sh DESCRIPTION
+The
+.Fn Pupdate_maps
+function is used to verify that all of the cached mappings in the
+process
+.Fa 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
+.Sy 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
+.Fn 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.
+.Sh INTERFACE STABILITY
+.Sy Uncommitted
+.Sh MT-LEVEL
+See
+.Sy LOCKING
+in
+.Xr libproc 3LIB .
+.Sh SEE ALSO
+.Xr libproc 3LIB ,
+.Xr Pupdate_syms 3PROC