blob: 0f81eb30e2cdad5372a2efbc4d6b650da738b778 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
.\"
.\" 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 LIBRARY
.Lb libproc
.Sh SYNOPSIS
.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
|