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#
23# Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
24# Copyright 2021 OmniOS Community Edition (OmniOSce) Association.
25#
26
27#
28# MAPFILE HEADER START
29#
30# WARNING:  STOP NOW.  DO NOT MODIFY THIS FILE.
31# Object versioning must comply with the rules detailed in
32#
33#	usr/src/lib/README.mapfiles
34#
35# You should not be making modifications here until you've read the most current
36# copy of that file. If you need help, contact a gatekeeper for guidance.
37#
38# MAPFILE HEADER END
39#
40
41$mapfile_version 2
42
43SYMBOL_VERSION SUNWprivate_1.1 {
44    global:
45	plugin_version;
46
47	sh_access;
48	sh_addbuiltin;
49	sh_bltin_tree;
50	sh_close;
51	sh_delay;
52	sh_dup;
53	sh_eval;
54	sh_exec;
55	sh_exit;
56	sh_fcntl;
57	sh_fmtq;
58	sh_fmtqf;
59	sh_fun;
60	sh_funscope;
61	sh_getinterp;
62	sh_getscope;
63	sh_init;
64	sh_iogetiop;
65	sh_isoption;
66	sh_main;
67	sh_menu;
68	sh_offoption;
69	sh_onoption;
70	sh_open;
71	sh_parse;
72	sh_pathopen;
73	sh_pipe;
74	sh_read;
75	sh_reinit;
76	sh_seek;
77	sh_setscope;
78	sh_sigcheck;
79	sh_strnum;
80	sh_subfork;
81	sh_tdump;
82	sh_trap;
83	sh_waitnotify;
84	sh_waitsafe;
85	sh_write;
86
87	nv_adddisc;
88	nv_aindex;
89	nv_associative;
90	nv_clone;
91	nv_close;
92	nv_context;
93	nv_create;
94	nv_dict;
95	nv_disc;
96	nv_discfun;
97	nv_getn;
98	nv_getnum;
99	nv_getsub;
100	nv_getv;
101	nv_getval;
102	nv_hasdisc;
103	nv_isnull;
104	nv_lastdict;
105	nv_name;
106	nv_newattr;
107	nv_nextsub;
108	nv_open;
109	nv_opensub;
110	nv_putsub;
111	nv_putv;
112	nv_putval;
113	nv_scan;
114	nv_search;
115	nv_setarray;
116	nv_setdisc;
117	nv_setref;
118	nv_setsize;
119	nv_settype;
120	nv_setvec;
121	nv_setvtree;
122	nv_unset;
123
124	# semi-private, needed for shcomp
125	sh;
126	e_dict;
127
128    local:
129	*;
130};
131
132# Builtin shell commands
133# (see libshell/common/include/builtins.h)
134# Note: We have to export all the |b_*()| symbols that the "builtin" command
135# can load builtins which are not enabled by the default OS/Net configuration.
136SYMBOL_VERSION SUNWprivate_1.1 {
137    global:
138	B_echo;
139	B_login;
140	b_alarm;
141	b_alias;
142	b_bg;
143	b_break;
144	b_builtin;
145	b_cd;
146	b_close;
147	b_command;
148	b_dot_cmd;
149	b_dup;
150	b_eval;
151	b_exec;
152	b_false;
153	b_getopts;
154	b_hist;
155	b_jobs;
156	b_kill;
157	b_let;
158	b_open;
159	b_poll;
160	b_print;
161	b_printf;
162	b_pwd;
163	b_read;
164	b_readonly;
165	b_return;
166	b_rewind;
167	b_set;
168	b_shift;
169	b_sleep;
170	b_stat;
171	b_test;
172	b_tmpfile;
173	b_trap;
174	b_true;
175	b_typeset;
176	b_ulimit;
177	b_umask;
178	b_unalias;
179	b_unset;
180	b_vpath;
181	b_wait;
182	b_whence;
183    local:
184	*;
185};
186