xref: /illumos-gate/usr/src/lib/libwrap/mapfile-vers (revision 20a7641f9918de8574b8b3b47dbe35c4bfc78df1)
1#
2# Copyright (c) 2001, 2010, Oracle and/or its affiliates. All rights reserved.
3# Copyright 2011 Nexenta Systems, Inc. All rights reserved.
4#
5
6#
7# MAPFILE HEADER START
8#
9# WARNING:  STOP NOW.  DO NOT MODIFY THIS FILE.
10# Object versioning must comply with the rules detailed in
11#
12#	usr/src/lib/README.mapfiles
13#
14# You should not be making modifications here until you've read the most current
15# copy of that file. If you need help, contact a gatekeeper for guidance.
16#
17# MAPFILE HEADER END
18#
19
20#
21# Linker mapfile that allows the dynamic library to reference some symbols
22# defined by the application.
23#
24
25$mapfile_version 2
26
27SYMBOL_VERSION ILLUMOS_0.2 {
28    global:
29	resident	{
30			  FLAGS = NODIRECT;
31			  ASSERT = {
32				  TYPE = OBJECT;
33				  SIZE = 4;
34				};
35			};
36} ILLUMOS_0.1;
37
38SYMBOL_VERSION ILLUMOS_0.1 {
39    global:
40	allow_severity		{
41				  FLAGS = NODIRECT;
42				  ASSERT = {
43					  TYPE = OBJECT;
44					  SIZE = 4;
45					};
46				};
47	clean_exit;
48	deny_severity		{
49				  FLAGS = NODIRECT;
50				  ASSERT = {
51					  TYPE = OBJECT;
52					  SIZE = 4;
53					};
54				};
55	dot_quad_addr;
56	dry_run			{
57				  ASSERT = {
58					  TYPE = OBJECT;
59					  SIZE = 4;
60					};
61				};
62	eval_client;
63	eval_hostaddr;
64	eval_hostinfo;
65	eval_hostname;
66	eval_server;
67	eval_user;
68	fromhost;
69	hosts_access;
70	hosts_access_verbose	{ ASSERT = { TYPE = OBJECT; SIZE = 4; }; };
71	hosts_allow_table	{
72				  ASSERT = {
73					  TYPE = OBJECT;
74					  SIZE = addrsize;
75					};
76				};
77	hosts_ctl;
78	hosts_deny_table	{
79				  ASSERT = {
80					  TYPE = OBJECT;
81					  SIZE = addrsize;
82					};
83				};
84	numeric_addr;
85	paranoid		{ ASSERT = { TYPE = OBJECT; SIZE = 9; }; };
86	percent_m;
87	percent_x;
88	process_options;
89	refuse;
90	request_init;
91	request_set;
92	rfc931;
93	rfc931_timeout		{
94				  ASSERT = {
95					  TYPE = OBJECT;
96					  SIZE = 4;
97					};
98				};
99	shell_cmd;
100	skip_ipv6_addrs;
101	sock_host;
102	sock_hostaddr;
103	sock_hostname;
104	sockgen_simplify;
105	split_at;
106	tcpd_buf		{
107				  ASSERT = {
108					  TYPE = OBJECT;
109					  $if _x86 && _ELF64
110
111					  SIZE = addrsize[8];
112					  $elif _x86 && _ELF32
113
114					  SIZE = addrsize[10];
115					  $elif _sparc
116
117					  SIZE = addrsize[12];
118					  $else
119
120					  $error Unknown architecture
121
122					  $endif
123
124					};
125				};
126	tcpd_context		{
127				  ASSERT = {
128					  TYPE = OBJECT;
129					  SIZE = addrsize[2];
130					};
131				};
132	tcpd_gethostbyname;
133	tcpd_warn;
134	tli_host;
135	unknown			{
136				  ASSERT = {
137					  TYPE = OBJECT;
138					  SIZE = 8;
139					};
140				};
141	xgets;
142    local:
143	*;
144};
145