summaryrefslogtreecommitdiff
path: root/usr/src/cmd/ypcmd
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/cmd/ypcmd')
-rw-r--r--usr/src/cmd/ypcmd/mapfile-intf9
-rw-r--r--usr/src/cmd/ypcmd/yppasswd/mapfile-intf39
2 files changed, 25 insertions, 23 deletions
diff --git a/usr/src/cmd/ypcmd/mapfile-intf b/usr/src/cmd/ypcmd/mapfile-intf
index b211154a6b..394d487a39 100644
--- a/usr/src/cmd/ypcmd/mapfile-intf
+++ b/usr/src/cmd/ypcmd/mapfile-intf
@@ -20,8 +20,7 @@
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -38,8 +37,10 @@
# MAPFILE HEADER END
#
+$mapfile_version 2
+
# makedbm interposes on _close.
-{
+SYMBOL_SCOPE {
global:
- _close = INTERPOSE;
+ _close { FLAGS = INTERPOSE };
};
diff --git a/usr/src/cmd/ypcmd/yppasswd/mapfile-intf b/usr/src/cmd/ypcmd/yppasswd/mapfile-intf
index 2337b3c840..c58c52c741 100644
--- a/usr/src/cmd/ypcmd/yppasswd/mapfile-intf
+++ b/usr/src/cmd/ypcmd/yppasswd/mapfile-intf
@@ -20,8 +20,7 @@
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -38,25 +37,27 @@
# MAPFILE HEADER END
#
+$mapfile_version 2
+
# rpc.yppasswdd interposes on a number of routines from libnisdb and libnsl, so
# define these as interposers. Note, libnisdb is itself an interposer, so
# these rpc.yppasswdd definitions are required to override libnisdb.
-{
+SYMBOL_SCOPE {
global:
- delete_map = INTERPOSE;
- hash = INTERPOSE;
- init_lock_map = INTERPOSE;
- lock_core = INTERPOSE;
- lock_map = INTERPOSE;
- mflag = INTERPOSE;
- nogecos = INTERPOSE;
- nopw = INTERPOSE;
- noshell = INTERPOSE;
- rename_map = INTERPOSE;
- single = INTERPOSE;
- unlock_core = INTERPOSE;
- unlock_map = INTERPOSE;
- validloginshell = INTERPOSE;
- validstr = INTERPOSE;
- xdr_yppasswd = INTERPOSE;
+ delete_map { FLAGS = INTERPOSE };
+ hash { FLAGS = INTERPOSE };
+ init_lock_map { FLAGS = INTERPOSE };
+ lock_core { FLAGS = INTERPOSE };
+ lock_map { FLAGS = INTERPOSE };
+ mflag { FLAGS = INTERPOSE };
+ nogecos { FLAGS = INTERPOSE };
+ nopw { FLAGS = INTERPOSE };
+ noshell { FLAGS = INTERPOSE };
+ rename_map { FLAGS = INTERPOSE };
+ single { FLAGS = INTERPOSE };
+ unlock_core { FLAGS = INTERPOSE };
+ unlock_map { FLAGS = INTERPOSE };
+ validloginshell { FLAGS = INTERPOSE };
+ validstr { FLAGS = INTERPOSE };
+ xdr_yppasswd { FLAGS = INTERPOSE };
};