summaryrefslogtreecommitdiff
path: root/usr/src
diff options
context:
space:
mode:
authorraf <none@none>2008-06-20 18:28:51 -0700
committerraf <none@none>2008-06-20 18:28:51 -0700
commitd56c62ccf2e073f87e8dd23ecb5c754f603688b0 (patch)
tree0057c9907f24ff3ca34904a48a2ace9dea51f06b /usr/src
parent9c8b6a95c9422a18be4946d4fca84a58fa1385ff (diff)
downloadillumos-joyent-d56c62ccf2e073f87e8dd23ecb5c754f603688b0.tar.gz
6717408 libc synonym expunging in snv_92 breaks Sun Studio libcollector
Diffstat (limited to 'usr/src')
-rw-r--r--usr/src/lib/libc/port/mapfile-vers2
-rw-r--r--usr/src/lib/libc/port/threads/scalls.c6
2 files changed, 8 insertions, 0 deletions
diff --git a/usr/src/lib/libc/port/mapfile-vers b/usr/src/lib/libc/port/mapfile-vers
index bb34032d24..2f164ffeb5 100644
--- a/usr/src/lib/libc/port/mapfile-vers
+++ b/usr/src/lib/libc/port/mapfile-vers
@@ -1425,6 +1425,8 @@ SUNWprivate_1.1 {
__fnmatch_C;
__fnmatch_sb;
__fnmatch_std;
+ _fork1 = NODYNSORT;
+ _forkall = NODYNSORT;
_fpclass;
_fpgetmask;
_fpgetround;
diff --git a/usr/src/lib/libc/port/threads/scalls.c b/usr/src/lib/libc/port/threads/scalls.c
index c90ab6cbde..866e152378 100644
--- a/usr/src/lib/libc/port/threads/scalls.c
+++ b/usr/src/lib/libc/port/threads/scalls.c
@@ -79,6 +79,12 @@
#endif
/*
+ * These are SUNWprivate, but they are being used by Sun Studio libcollector.
+ */
+#pragma weak _fork1 = fork1
+#pragma weak _forkall = forkall
+
+/*
* atfork_lock protects the pthread_atfork() data structures.
*
* fork_lock does double-duty. Not only does it (and atfork_lock)