17c478bd9Sstevel@tonic-gate#
27c478bd9Sstevel@tonic-gate# CDDL HEADER START
37c478bd9Sstevel@tonic-gate#
47c478bd9Sstevel@tonic-gate# The contents of this file are subject to the terms of the
55aefb655Srie# Common Development and Distribution License (the "License").
65aefb655Srie# You may not use this file except in compliance with the License.
77c478bd9Sstevel@tonic-gate#
87c478bd9Sstevel@tonic-gate# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
97c478bd9Sstevel@tonic-gate# or http://www.opensolaris.org/os/licensing.
107c478bd9Sstevel@tonic-gate# See the License for the specific language governing permissions
117c478bd9Sstevel@tonic-gate# and limitations under the License.
127c478bd9Sstevel@tonic-gate#
137c478bd9Sstevel@tonic-gate# When distributing Covered Code, include this CDDL HEADER in each
147c478bd9Sstevel@tonic-gate# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
157c478bd9Sstevel@tonic-gate# If applicable, add the following below this CDDL HEADER, with the
167c478bd9Sstevel@tonic-gate# fields enclosed by brackets "[]" replaced with your own identifying
177c478bd9Sstevel@tonic-gate# information: Portions Copyright [yyyy] [name of copyright owner]
187c478bd9Sstevel@tonic-gate#
197c478bd9Sstevel@tonic-gate# CDDL HEADER END
207c478bd9Sstevel@tonic-gate#
217c478bd9Sstevel@tonic-gate
225aefb655Srie#
23*cd3e9333SAli Bahrami# Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
245aefb655Srie#
25bfed486aSAli Bahrami
26bfed486aSAli Bahrami#
27bfed486aSAli Bahrami# MAPFILE HEADER START
28bfed486aSAli Bahrami#
29bfed486aSAli Bahrami# WARNING:  STOP NOW.  DO NOT MODIFY THIS FILE.
30bfed486aSAli Bahrami# Object versioning must comply with the rules detailed in
31bfed486aSAli Bahrami#
32bfed486aSAli Bahrami#	usr/src/lib/README.mapfiles
33bfed486aSAli Bahrami#
34bfed486aSAli Bahrami# You should not be making modifications here until you've read the most current
35bfed486aSAli Bahrami# copy of that file. If you need help, contact a gatekeeper for guidance.
36bfed486aSAli Bahrami#
37bfed486aSAli Bahrami# MAPFILE HEADER END
385aefb655Srie#
397c478bd9Sstevel@tonic-gate
40*cd3e9333SAli Bahrami$mapfile_version 2
41*cd3e9333SAli Bahrami
4224da5b34Srie# The grub shell interposes on the getopt() family - this reimplementation is
4324da5b34Srie# required for the real grub loader which can't depend on libc.  The grub shell
4424da5b34Srie# is built from the same source as the grub loader.
45*cd3e9333SAli BahramiSYMBOL_SCOPE {
467c478bd9Sstevel@tonic-gate	global:
47*cd3e9333SAli Bahrami		getopt			{ FLAGS = INTERPOSE };
48*cd3e9333SAli Bahrami		getopt_long		{ FLAGS = INTERPOSE };
49*cd3e9333SAli Bahrami		getopt_long_only	{ FLAGS = INTERPOSE };
50*cd3e9333SAli Bahrami		optarg			{ FLAGS = INTERPOSE };
51*cd3e9333SAli Bahrami		opterr			{ FLAGS = INTERPOSE };
52*cd3e9333SAli Bahrami		optind			{ FLAGS = INTERPOSE };
53*cd3e9333SAli Bahrami		optopt			{ FLAGS = INTERPOSE };
547c478bd9Sstevel@tonic-gate	local:
557c478bd9Sstevel@tonic-gate		*;
567c478bd9Sstevel@tonic-gate};
57