1#
2# CDDL HEADER START
3#
4# The contents of this file are subject to the terms of the
5# Common Development and Distribution License (the "License").
6# You may not use this file except in compliance with the License.
7#
8# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9# or http://www.opensolaris.org/os/licensing.
10# See the License for the specific language governing permissions
11# and limitations under the License.
12#
13# When distributing Covered Code, include this CDDL HEADER in each
14# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15# If applicable, add the following below this CDDL HEADER, with the
16# fields enclosed by brackets "[]" replaced with your own identifying
17# information: Portions Copyright [yyyy] [name of copyright owner]
18#
19# CDDL HEADER END
20#
21#
22# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
23#
24
25#
26# MAPFILE HEADER START
27#
28# WARNING:  STOP NOW.  DO NOT MODIFY THIS FILE.
29# Object versioning must comply with the rules detailed in
30#
31#	usr/src/lib/README.mapfiles
32#
33# You should not be making modifications here until you've read the most current
34# copy of that file. If you need help, contact a gatekeeper for guidance.
35#
36# MAPFILE HEADER END
37#
38
39$mapfile_version 2
40
41SYMBOL_VERSION SUNW_1.2 {
42    global:
43	au_to_arg32;
44	au_to_arg64;
45	au_to_process_ex;
46	au_to_return32;
47	au_to_return64;
48	au_to_subject_ex;
49	getaudit_addr;
50	setaudit_addr;
51} SUNW_1.1;
52
53# Due to mistakes made early in the history of this library, there are
54# no SUNW_1.1 symbols, but the version is now kept as a placeholder.
55# Don't add any symbols to this version.
56
57SYMBOL_VERSION SUNW_1.1 {
58    global:
59	SUNW_1.1;
60} SUNW_0.8;
61
62SYMBOL_VERSION SUNW_0.8 {
63    global:
64	au_to_newgroups;
65	getauclassent_r;
66	getauclassnam_r;
67	getauevent_r;
68	getauevnam_r;
69	getauevnum_r;
70} SUNW_0.7;
71
72SYMBOL_VERSION SUNW_0.7 {
73    global:
74	au_close;
75	audit;
76	auditon;
77	au_open;
78	au_preselect;
79	au_to_arg;
80	au_to_attr;
81	au_to_cmd;
82	au_to_data;
83	au_to_groups;
84	au_to_in_addr;
85	au_to_ipc;
86	au_to_iport;
87	au_to_me;
88	au_to_opaque;
89	au_to_path;
90	au_to_process;
91	au_to_return;
92	au_to_socket;
93	au_to_subject;
94	au_to_text;
95	au_user_mask;
96	au_write;
97	endauclass;
98	endauevent;
99	getauclassent;
100	getauclassnam;
101	getaudit;
102	getauditflagsbin;
103	getauditflagschar;
104	getauevent;
105	getauevnam;
106	getauevnonam;
107	getauevnum;
108	getauid;
109	getfauditflags;
110	setauclass;
111	setaudit;
112	setauevent;
113	setauid;
114};
115
116SYMBOL_VERSION SUNWprivate_1.1 {
117    global:
118	adr_char;
119	adr_count;
120	adrf_char;
121	adrf_int32;
122	adrf_int64;
123	adrf_peek;
124	adrf_short;
125	adrf_start;
126	adrf_u_char;
127	adrf_u_int32;
128	adrf_u_int64;
129	adrf_u_short;
130	adr_int32;
131	adr_uid;
132	adr_int64;
133	adrm_char;
134	adrm_int32;
135	adrm_int64;
136	adrm_short;
137	adrm_start;
138	adrm_u_char;
139	adrm_u_int32;
140	adrm_u_int64;
141	adrm_u_short;
142	adrm_uid;
143	adr_short;
144	adr_ushort;
145	adr_start;
146	adt_alloc_event;
147	adt_audit_enabled;
148	adt_audit_state;
149	adt_dup_session;
150	adt_end_session;
151	adt_export_session_data;
152	adt_free_event;
153	adt_get_asid;
154	adt_get_auid;
155	adt_get_mask;
156	adt_get_session_id;
157	adt_get_termid;
158	adt_get_unique_id;
159	adt_load_hostname;
160	adt_load_table;
161	adt_load_termid;
162	adt_load_ttyname;
163	adt_put_event;
164	adt_set_asid;
165	adt_set_auid;
166	adt_set_from_ucred;
167	adt_set_mask;
168	adt_set_proc;
169	adt_set_termid;
170	adt_set_user;
171	adt_start_session;
172	audit_allocate_argv;
173	audit_allocate_device;
174	audit_allocate_list;
175	audit_allocate_record;
176	audit_at_create;
177	audit_at_delete;
178	audit_cron_bad_user;
179	audit_cron_create_anc_file;
180	audit_cron_delete_anc_file;
181	audit_cron_is_anc_name;
182	audit_cron_mode;
183	audit_cron_new_job;
184	audit_cron_session;
185	audit_cron_setinfo;
186	audit_crontab_delete;
187	audit_crontab_modify;
188	audit_crontab_not_allowed;
189	audit_crontab_process_not_audited;
190	audit_cron_user_acct_expired;
191	__auditd_debug_file_open;
192	auditdoor;
193	__audit_dowarn;
194	__audit_dowarn2;
195	audit_ftpd_bad_pw;
196	audit_ftpd_excluded;
197	audit_ftpd_failure;
198	audit_ftpd_logout;
199	audit_ftpd_no_anon;
200	audit_ftpd_success;
201	audit_ftpd_unknown;
202	audit_halt_fail;
203	audit_halt_setup;
204	audit_halt_success;
205	audit_kadmind_auth;
206	audit_kadmind_unauth;
207	audit_krb5kdc_as_req;
208	audit_krb5kdc_tgs_req;
209	audit_krb5kdc_tgs_req_2ndtktmm;
210	audit_krb5kdc_tgs_req_alt_tgt;
211	audit_mountd_mount;
212	audit_mountd_setup;
213	audit_mountd_umount;
214	audit_reboot_fail;
215	audit_reboot_setup;
216	audit_reboot_success;
217	audit_rexd_fail;
218	audit_rexd_setup;
219	audit_rexd_success;
220	audit_rexecd_fail;
221	audit_rexecd_setup;
222	audit_rexecd_success;
223	audit_rshd_fail;
224	audit_rshd_setup;
225	audit_rshd_success;
226	audit_settid;
227	audit_shutdown_fail;
228	audit_shutdown_setup;
229	audit_shutdown_success;
230	__audit_syslog;
231	aug_audit;
232	aug_get_machine;
233	aug_get_port;
234	aug_init;
235	aug_na_selected;
236	aug_save_afunc;
237	aug_save_asid;
238	aug_save_auid;
239	aug_save_egid;
240	aug_save_euid;
241	aug_save_event;
242	aug_save_gid;
243	aug_save_me;
244	aug_save_na;
245	aug_save_namask;
246	aug_save_path;
247	aug_save_pid;
248	aug_save_policy;
249	aug_save_sorf;
250	aug_save_text;
251	aug_save_tid;
252	aug_save_uid;
253	aug_selected;
254	au_to_exec_args;
255	au_to_exec_env;
256	au_to_exit;
257	au_to_fmri;
258	au_to_header;
259	au_to_header_ex;
260	au_to_in_addr_ex;
261	au_to_label;
262	au_to_mylabel;
263	au_to_privset;
264	au_to_seq;
265	au_to_trailer;
266	au_to_uauth;
267	au_to_upriv;
268	au_to_user;
269	au_to_xatom;
270	au_to_xcolormap;
271	au_to_xclient;
272	au_to_xcursor;
273	au_to_xfont;
274	au_to_xgc;
275	au_to_xpixmap;
276	au_to_xproperty;
277	au_to_xselect;
278	au_to_xwindow;
279	cacheauclass;
280	cacheauclassnam;
281	cacheauevent;
282	cannot_audit;
283	__chkflags;
284	da_add_list;
285	da_check_logindevperm;
286	da_is_on;
287	da_open_devdb;
288	da_print_device;
289	da_remove_list;
290	da_rm_list_entry;
291	da_update_defattrs;
292	da_update_device;
293	do_getflags_scf;
294	do_getnaflags_scf;
295	do_getpluginconfig_scf;
296	do_getpolicy_scf;
297	do_getqbufsz_scf;
298	do_getqctrl_scf;
299	do_getqdelay_scf;
300	do_getqhiwater_scf;
301	do_getqlowater_scf;
302	do_setflags_scf;
303	do_setnaflags_scf;
304	do_setpluginconfig_scf;
305	do_setpolicy_scf;
306	do_setqbufsz_scf;
307	do_setqctrl_scf;
308	do_setqdelay_scf;
309	do_setqhiwater_scf;
310	do_setqlowater_scf;
311	enddadefent;
312	enddaent;
313	enddmapent;
314	freedadefent;
315	freedaent;
316	freedmapent;
317	free_static_att_kva;
318	getdadefent;
319	getdadeftype;
320	getdadmline;
321	getdaent;
322	getdanam;
323	getdatype;
324	getdevicerange;
325	getdmapdev;
326	getdmapdfield;
327	getdmapent;
328	getdmapfield;
329	getdmapnam;
330	getdmaptype;
331	get_policy;
332	__logpost;
333	plugin_avail_scf;
334	plugin_kva_ll_free;
335	prt_error_va;
336	setdadefent;
337	setdaent;
338	setdafile;
339	setdmapent;
340	setdmapfile;
341    local:
342	# These functions are aliased to "int" versions. Let those
343	# go into .SUNW_dynsymsort, and keep these out.
344	adrm_long		{ FLAGS = NODYNSORT };
345	adrm_u_long		{ FLAGS = NODYNSORT };
346	adrf_long		{ FLAGS = NODYNSORT };
347	adrf_u_long		{ FLAGS = NODYNSORT };
348	adrm_putlong		{ FLAGS = NODYNSORT };
349
350	# Reduce all remaining global symbols to local scope
351	*;
352};
353