diff options
author | raf <none@none> | 2008-06-20 18:28:51 -0700 |
---|---|---|
committer | raf <none@none> | 2008-06-20 18:28:51 -0700 |
commit | d56c62ccf2e073f87e8dd23ecb5c754f603688b0 (patch) | |
tree | 0057c9907f24ff3ca34904a48a2ace9dea51f06b /usr/src | |
parent | 9c8b6a95c9422a18be4946d4fca84a58fa1385ff (diff) | |
download | illumos-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-vers | 2 | ||||
-rw-r--r-- | usr/src/lib/libc/port/threads/scalls.c | 6 |
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) |