blob: 74dce13c3eb16c6b5b35a866ace6593d1498aab9 [file] [log] [blame] [raw]
#
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
# Common Development and Distribution License (the "License").
# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
# See the License for the specific language governing permissions
# and limitations under the License.
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
# If applicable, add the following below this CDDL HEADER, with the
# fields enclosed by brackets "[]" replaced with your own identifying
# information: Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#
#
# Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
# MAPFILE HEADER START
#
# WARNING: STOP NOW. DO NOT MODIFY THIS FILE.
# Object versioning must comply with the rules detailed in
#
# usr/src/lib/README.mapfiles
#
# You should not be making modifications here until you've read the most current
# copy of that file. If you need help, contact a gatekeeper for guidance.
#
# MAPFILE HEADER END
#
$mapfile_version 2
# The grub shell interposes on the getopt() family - this reimplementation is
# required for the real grub loader which can't depend on libc. The grub shell
# is built from the same source as the grub loader.
SYMBOL_SCOPE {
global:
getopt { FLAGS = INTERPOSE };
getopt_long { FLAGS = INTERPOSE };
getopt_long_only { FLAGS = INTERPOSE };
optarg { FLAGS = INTERPOSE };
opterr { FLAGS = INTERPOSE };
optind { FLAGS = INTERPOSE };
optopt { FLAGS = INTERPOSE };
local:
*;
};