xref: /illumos-gate/usr/src/cmd/ast/libcmd/mapfile-vers (revision 09fbbb7d1b5a956a9b81304070dcff318a4a158e)
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) 2006, 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
43# functions by AST/ksh93's version of libcmd
44SYMBOL_VERSION SUNWprivate_1.1 {
45    global:
46	plugin_version;
47	_cmd_init;
48
49	b_basename;
50	b_cat;
51	b_chgrp;
52	b_cksum;
53	b_chmod;
54	b_chown;
55	b_cmp;
56	b_comm;
57	b_cp;
58	b_cut;
59	b_date;
60	b_dirname;
61	b_expr;
62	b_fds;
63	b_fmt;
64	b_fold;
65	b_getconf;
66	b_head;
67	b_id;
68	b_join;
69	b_ln;
70	b_logname;
71	b_md5sum;
72	b_mkdir;
73	b_mkfifo;
74	b_mktemp;
75	b_mv;
76	b_paste;
77	b_pathchk;
78	b_pids;
79	b_rev;
80	b_rm;
81	b_rmdir;
82	b_stty;
83	b_sum;
84	b_sync;
85	b_tail;
86	b_tee;
87	b_tty;
88	b_uname;
89	b_uniq;
90	b_wc;
91	b_vmstate;
92    local:
93	*;
94};
95
96# functions exported by the old Solaris version of libcmd
97# (the code has been moved to libc starting with Solaris 11/B51)
98SYMBOL_VERSION SUNWprivate_1.1 {
99    global:
100	defcntl		{ TYPE = FUNCTION; FILTER = libc.so.1 };
101	defopen		{ TYPE = FUNCTION; FILTER = libc.so.1 };
102	defread		{ TYPE = FUNCTION; FILTER = libc.so.1 };
103    local:
104	*;
105};
106