Print this page
7029 want per-process exploit mitigation features (secflags)
7030 want basic address space layout randomization (aslr)
7031 noexec_user_stack should be a secflag
7032 want a means to forbid mappings around NULL.
Split |
Close |
Expand all |
Collapse all |
--- old/usr/src/lib/libproc/common/mapfile-vers
+++ new/usr/src/lib/libproc/common/mapfile-vers
1 1 #
2 2 # CDDL HEADER START
3 3 #
4 4 # The contents of this file are subject to the terms of the
5 5 # Common Development and Distribution License (the "License").
6 6 # You may not use this file except in compliance with the License.
7 7 #
8 8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 9 # or http://www.opensolaris.org/os/licensing.
10 10 # See the License for the specific language governing permissions
11 11 # and limitations under the License.
12 12 #
13 13 # When distributing Covered Code, include this CDDL HEADER in each
14 14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 15 # If applicable, add the following below this CDDL HEADER, with the
16 16 # fields enclosed by brackets "[]" replaced with your own identifying
17 17 # information: Portions Copyright [yyyy] [name of copyright owner]
18 18 #
19 19 # CDDL HEADER END
20 20 #
21 21 #
22 22 # Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
23 23 # Copyright 2012 DEY Storage Systems, Inc. All rights reserved.
24 24 # Copyright (c) 2013, Joyent, Inc. All rights reserved.
25 25 # Copyright (c) 2013 by Delphix. All rights reserved.
26 26 #
27 27
28 28 #
29 29 # MAPFILE HEADER START
30 30 #
31 31 # WARNING: STOP NOW. DO NOT MODIFY THIS FILE.
32 32 # Object versioning must comply with the rules detailed in
33 33 #
34 34 # usr/src/lib/README.mapfiles
35 35 #
36 36 # You should not be making modifications here until you've read the most current
37 37 # copy of that file. If you need help, contact a gatekeeper for guidance.
38 38 #
39 39 # MAPFILE HEADER END
40 40 #
41 41
42 42 $mapfile_version 2
43 43
44 44 # Due to mistakes made early in the history of this library, there are no
45 45 # SUNW_1.1 through SUNW_1.4 symbols, but they are now kept as placeholders.
46 46 # Don't add any symbols to these versions.
47 47
48 48 SYMBOL_VERSION SUNW_1.4 {
49 49 global:
50 50 SUNW_1.4;
51 51 } SUNW_1.3;
52 52
53 53 SYMBOL_VERSION SUNW_1.3 {
54 54 global:
55 55 SUNW_1.3;
56 56 } SUNW_1.2;
57 57
58 58 SYMBOL_VERSION SUNW_1.2 {
59 59 global:
60 60 SUNW_1.2;
61 61 } SUNW_1.1;
62 62
63 63 SYMBOL_VERSION SUNW_1.1 {
64 64 global:
65 65 SUNW_1.1;
66 66 };
67 67
68 68 SYMBOL_VERSION SUNWprivate_1.1 {
69 69 global:
70 70 Lalt_stack;
71 71 Lclearfault;
72 72 Lclearsig;
73 73 Lctlfd;
74 74 Ldstop;
75 75 Lfree;
76 76 Lgetareg;
77 77 Lgrab;
78 78 Lgrab_error;
79 79 _libproc_debug;
80 80 Lmain_stack;
81 81 Lprochandle;
82 82 Lpsinfo;
83 83 Lputareg;
84 84 Lsetrun;
85 85 Lstack;
86 86 Lstate;
87 87 Lstatus;
88 88 Lstop;
89 89 Lsync;
90 90 Lwait;
91 91 Lxecbkpt;
92 92 Lxecwapt;
93 93 Paddr_to_ctf;
94 94 Paddr_to_loadobj;
95 95 Paddr_to_map;
96 96 Paddr_to_text_map;
97 97 Pasfd;
98 98 Pclearfault;
99 99 Pclearsig;
100 100 Pcontent;
101 101 Pcreate;
102 102 Pcreate_agent;
103 103 Pcreate_callback;
104 104 Pcreate_error;
105 105 Pcred;
106 106 Pctlfd;
107 107 Pdelbkpt;
108 108 Pdelwapt;
109 109 Pdestroy_agent;
110 110 Pdstop;
111 111 Penv_iter;
112 112 Perror_printf;
113 113 Pexecname;
114 114 Pfault;
115 115 Pfgcore;
116 116 Pfgrab_core;
117 117 Pfree;
118 118 Pgcore;
119 119 Pgetareg;
120 120 Pgetauxval;
121 121 Pgetauxvec;
122 122 Pgetenv;
123 123 Pgrab;
124 124 Pgrab_core;
125 125 Pgrab_error;
126 126 Pgrab_file;
127 127 Pgrab_ops;
128 128 Pisprocdir;
129 129 Pissyscall;
130 130 Pissyscall_prev;
131 131 Plmid;
132 132 Plmid_to_ctf;
133 133 Plmid_to_loadobj;
134 134 Plmid_to_map;
135 135 Plookup_by_addr;
136 136 Plookup_by_name;
137 137 Plwp_alt_stack;
138 138 Plwp_getfpregs;
139 139 Plwp_getpsinfo;
140 140 Plwp_getregs;
141 141 Plwp_getspymaster;
142 142 Plwp_iter;
143 143 Plwp_iter_all;
144 144 Plwp_main_stack;
145 145 Plwp_setfpregs;
146 146 Plwp_setregs;
147 147 Plwp_stack;
148 148 Pmapping_iter;
149 149 Pmapping_iter_resolved;
150 150 Pname_to_ctf;
151 151 Pname_to_loadobj;
152 152 Pname_to_map;
153 153 Pobject_iter;
154 154 Pobject_iter_resolved;
155 155 Pobjname;
156 156 Pobjname_resolved;
157 157 Pplatform;
158 158 Ppltdest;
159 159 Ppriv;
160 160 Pprivinfo;
161 161 Ppriv_free;
162 162 Ppsinfo;
163 163 Pputareg;
164 164 pr_access;
165 165 pr_close;
166 166 pr_creat;
167 167 Prd_agent;
168 168 pr_door_info;
169 169 Pread;
170 170 Pread_string;
171 171 Prelease;
172 172 Preopen;
173 173 Preset_maps;
174 174 pr_exit;
175 175 pr_fcntl;
176 176 pr_fstat;
177 177 pr_fstat64;
178 178 pr_fstatvfs;
179 179 pr_getitimer;
180 180 pr_getpeername;
181 181 pr_getpeerucred;
182 182 pr_getprojid;
183 183 pr_getrctl;
184 184 pr_getrlimit;
185 185 pr_getrlimit64;
186 186 pr_getsockname;
187 187 pr_getsockopt;
188 188 pr_gettaskid;
189 189 pr_getzoneid;
190 190 pr_ioctl;
191 191 pr_link;
192 192 pr_llseek;
193 193 pr_lseek;
194 194 pr_lstat;
195 195 pr_lstat64;
196 196 pr_lwp_exit;
197 197 pr_memcntl;
198 198 pr_meminfo;
199 199 pr_mmap;
200 200 pr_munmap;
201 201 proc_arg_grab;
202 202 proc_arg_psinfo;
203 203 proc_arg_xgrab;
204 204 proc_arg_xpsinfo;
↓ open down ↓ |
204 lines elided |
↑ open up ↑ |
205 205 proc_content2str;
206 206 proc_finistdio;
207 207 proc_fltname;
208 208 proc_fltset2str;
209 209 proc_flushstdio;
210 210 proc_free_priv;
211 211 proc_get_auxv;
212 212 proc_get_cred;
213 213 proc_get_priv;
214 214 proc_get_psinfo;
215 + proc_get_secflags;
215 216 proc_get_status;
216 217 proc_initstdio;
217 218 proc_lwp_in_set;
218 219 proc_lwp_range_valid;
219 220 proc_signame;
220 221 proc_sigset2str;
221 222 proc_str2content;
222 223 proc_str2flt;
223 224 proc_str2fltset;
224 225 proc_str2sig;
225 226 proc_str2sigset;
226 227 proc_str2sys;
227 228 proc_str2sysset;
228 229 proc_sysname;
229 230 proc_sysset2str;
230 231 proc_unctrl_psinfo;
231 232 proc_walk;
232 233 pr_open;
233 234 pr_processor_bind;
234 235 pr_rename;
235 236 pr_setitimer;
236 237 pr_setprojrctl;
237 238 pr_setrctl;
238 239 pr_setrlimit;
239 240 pr_setrlimit64;
240 241 pr_settaskid;
241 242 pr_sigaction;
242 243 pr_stat;
243 244 pr_stat64;
244 245 pr_statvfs;
245 246 pr_unlink;
246 247 pr_waitid;
247 248 pr_zmap;
248 249 Pset_procfs_path;
249 250 Psetbkpt;
250 251 Psetcred;
251 252 Psetfault;
252 253 Psetflags;
253 254 Psetpriv;
254 255 Psetrun;
255 256 Psetsignal;
256 257 Psetsysentry;
257 258 Psetsysexit;
258 259 Psetwapt;
259 260 Psetzoneid;
260 261 Psignal;
261 262 ps_lcontinue;
262 263 ps_lgetfpregs;
263 264 ps_lgetregs;
264 265 ps_lsetfpregs;
265 266 ps_lsetregs;
266 267 ps_lstop;
267 268 ps_pauxv;
268 269 ps_pbrandname;
269 270 ps_pcontinue;
270 271 ps_pdmodel;
↓ open down ↓ |
46 lines elided |
↑ open up ↑ |
271 272 ps_pdread { FLAGS = NODYNSORT }; # Alias of ps_pread
272 273 ps_pdwrite { FLAGS = NODYNSORT }; # Alias of ps_pwrite
273 274 ps_pglobal_lookup;
274 275 ps_pglobal_sym;
275 276 ps_plog;
276 277 ps_pread;
277 278 ps_pstop;
278 279 ps_ptread { FLAGS = NODYNSORT }; # Alias of ps_pread
279 280 ps_ptwrite { FLAGS = NODYNSORT }; # Alias of ps_pwrite
280 281 ps_pwrite;
282 + Psecflags;
283 + Psecflags_free;
281 284 Pstack_iter;
282 285 Pstate;
283 286 Pstatus;
284 287 Pstop;
285 288 Pstopstatus;
286 289 Psymbol_iter;
287 290 Psymbol_iter_by_addr;
288 291 Psymbol_iter_by_lmid;
289 292 Psymbol_iter_by_name;
290 293 Psync;
291 294 Psyscall;
292 295 Psysentry;
293 296 Psysexit;
294 297 Puname;
295 298 Punsetflags;
296 299 Pupdate_maps;
297 300 Pupdate_syms;
298 301 Pwait;
299 302 Pwrite;
300 303 Pxcreate;
301 304 Pxecbkpt;
302 305 Pxecwapt;
303 306 Pxlookup_by_addr;
304 307 Pxlookup_by_addr_resolved;
305 308 Pxlookup_by_name;
306 309 Pxsymbol_iter;
307 310 Pzonename;
308 311 Pzonepath;
309 312 Pzoneroot;
310 313 Pfdinfo_iter;
311 314
312 315 $if _x86 && _ELF32
313 316 Pldt;
314 317 proc_get_ldt;
315 318 ps_lgetLDT;
316 319 $endif
317 320
318 321 $if _sparc
319 322 Plwp_getgwindows;
320 323 Plwp_getxregs;
321 324 Plwp_setxregs;
322 325 ps_lgetxregs;
323 326 ps_lgetxregsize;
324 327 ps_lsetxregs;
325 328
326 329 $if _ELF64
327 330 Plwp_getasrs;
328 331 Plwp_setasrs;
329 332 $endif
330 333 $endif
331 334
332 335 local:
333 336 *;
334 337 };
↓ open down ↓ |
44 lines elided |
↑ open up ↑ |
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX