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	endac;
98	endauclass;
99	endauevent;
100	getacdir;
101	getacflg;
102	getacmin;
103	getacna;
104	getauclassent;
105	getauclassnam;
106	getaudit;
107	getauditflagsbin;
108	getauditflagschar;
109	getauevent;
110	getauevnam;
111	getauevnonam;
112	getauevnum;
113	getauid;
114	getfauditflags;
115	setac;
116	setauclass;
117	setaudit;
118	setauevent;
119	setauid;
120};
121
122SYMBOL_VERSION SUNWprivate_1.1 {
123    global:
124	adr_char;
125	adr_count;
126	adrf_char;
127	adrf_int32;
128	adrf_int64;
129	adrf_peek;
130	adrf_short;
131	adrf_start;
132	adrf_u_char;
133	adrf_u_int32;
134	adrf_u_int64;
135	adrf_u_short;
136	adr_int32;
137	adr_uid;
138	adr_int64;
139	adrm_char;
140	adrm_int32;
141	adrm_int64;
142	adrm_short;
143	adrm_start;
144	adrm_u_char;
145	adrm_u_int32;
146	adrm_u_int64;
147	adrm_u_short;
148	adrm_uid;
149	adr_short;
150	adr_ushort;
151	adr_start;
152	adt_alloc_event;
153	adt_audit_enabled;
154	adt_audit_state;
155	adt_dup_session;
156	adt_end_session;
157	adt_export_session_data;
158	adt_free_event;
159	adt_get_asid;
160	adt_get_auid;
161	adt_get_mask;
162	adt_get_session_id;
163	adt_get_termid;
164	adt_get_unique_id;
165	adt_load_hostname;
166	adt_load_table;
167	adt_load_termid;
168	adt_load_ttyname;
169	adt_put_event;
170	adt_set_asid;
171	adt_set_auid;
172	adt_set_from_ucred;
173	adt_set_mask;
174	adt_set_proc;
175	adt_set_termid;
176	adt_set_user;
177	adt_start_session;
178	audit_allocate_argv;
179	audit_allocate_device;
180	audit_allocate_list;
181	audit_allocate_record;
182	audit_at_create;
183	audit_at_delete;
184	audit_cron_bad_user;
185	audit_cron_create_anc_file;
186	audit_cron_delete_anc_file;
187	audit_cron_is_anc_name;
188	audit_cron_mode;
189	audit_cron_new_job;
190	audit_cron_session;
191	audit_cron_setinfo;
192	audit_crontab_delete;
193	audit_crontab_modify;
194	audit_crontab_not_allowed;
195	audit_crontab_process_not_audited;
196	audit_cron_user_acct_expired;
197	__auditd_debug_file_open;
198	auditdoor;
199	__audit_dowarn;
200	__audit_dowarn2;
201	audit_ftpd_bad_pw;
202	audit_ftpd_excluded;
203	audit_ftpd_failure;
204	audit_ftpd_logout;
205	audit_ftpd_no_anon;
206	audit_ftpd_success;
207	audit_ftpd_unknown;
208	audit_halt_fail;
209	audit_halt_setup;
210	audit_halt_success;
211	audit_kadmind_auth;
212	audit_kadmind_unauth;
213	audit_krb5kdc_as_req;
214	audit_krb5kdc_tgs_req;
215	audit_krb5kdc_tgs_req_2ndtktmm;
216	audit_krb5kdc_tgs_req_alt_tgt;
217	audit_mountd_mount;
218	audit_mountd_setup;
219	audit_mountd_umount;
220	audit_reboot_fail;
221	audit_reboot_setup;
222	audit_reboot_success;
223	audit_rexd_fail;
224	audit_rexd_setup;
225	audit_rexd_success;
226	audit_rexecd_fail;
227	audit_rexecd_setup;
228	audit_rexecd_success;
229	audit_rshd_fail;
230	audit_rshd_setup;
231	audit_rshd_success;
232	audit_settid;
233	audit_shutdown_fail;
234	audit_shutdown_setup;
235	audit_shutdown_success;
236	__audit_syslog;
237	aug_audit;
238	aug_get_machine;
239	aug_get_port;
240	aug_init;
241	aug_na_selected;
242	aug_save_afunc;
243	aug_save_asid;
244	aug_save_auid;
245	aug_save_egid;
246	aug_save_euid;
247	aug_save_event;
248	aug_save_gid;
249	aug_save_me;
250	aug_save_na;
251	aug_save_namask;
252	aug_save_path;
253	aug_save_pid;
254	aug_save_policy;
255	aug_save_sorf;
256	aug_save_text;
257	aug_save_tid;
258	aug_save_uid;
259	aug_selected;
260	au_to_exec_args;
261	au_to_exec_env;
262	au_to_exit;
263	au_to_fmri;
264	au_to_header;
265	au_to_header_ex;
266	au_to_in_addr_ex;
267	au_to_label;
268	au_to_mylabel;
269	au_to_privset;
270	au_to_seq;
271	au_to_trailer;
272	au_to_uauth;
273	au_to_upriv;
274	au_to_user;
275	au_to_xatom;
276	au_to_xcolormap;
277	au_to_xclient;
278	au_to_xcursor;
279	au_to_xfont;
280	au_to_xgc;
281	au_to_xpixmap;
282	au_to_xproperty;
283	au_to_xselect;
284	au_to_xwindow;
285	cacheauclass;
286	cacheauclassnam;
287	cacheauevent;
288	cannot_audit;
289	__chkflags;
290	da_add_list;
291	da_check_logindevperm;
292	da_is_on;
293	da_open_devdb;
294	da_print_device;
295	da_remove_list;
296	da_rm_list_entry;
297	da_update_defattrs;
298	da_update_device;
299	_endac;
300	enddadefent;
301	enddaent;
302	enddmapent;
303	freedadefent;
304	freedaent;
305	freedmapent;
306	_getacdir;
307	_getacflg;
308	_getacmin;
309	_getacna;
310	_getacplug;
311	getdadefent;
312	getdadeftype;
313	getdadmline;
314	getdaent;
315	getdanam;
316	getdatype;
317	getdevicerange;
318	getdmapdev;
319	getdmapdfield;
320	getdmapent;
321	getdmapfield;
322	getdmapnam;
323	getdmaptype;
324	__logpost;
325	_openac;
326	_rewindac;
327	setdadefent;
328	setdaent;
329	setdafile;
330	setdmapent;
331	setdmapfile;
332    local:
333	# These functions are aliased to "int" versions. Let those
334	# go into .SUNW_dynsymsort, and keep these out.
335	adrm_long		{ FLAGS = NODYNSORT };
336	adrm_u_long		{ FLAGS = NODYNSORT };
337	adrf_long		{ FLAGS = NODYNSORT };
338	adrf_u_long		{ FLAGS = NODYNSORT };
339	adrm_putlong		{ FLAGS = NODYNSORT };
340
341	# Reduce all remaining global symbols to local scope
342	*;
343};
344