summaryrefslogtreecommitdiff
path: root/usr/src/lib/libc
diff options
context:
space:
mode:
authorJerry Jelinek <jerry.jelinek@joyent.com>2018-08-27 11:22:40 +0000
committerJerry Jelinek <jerry.jelinek@joyent.com>2018-08-27 11:22:40 +0000
commit62c14aa902d25dbe70b36dee1136ea3d20a40e50 (patch)
tree80811b2e60ed7861f8c98440d21e093588f9d9df /usr/src/lib/libc
parent785d08b06b18bdf67463a204f82e2e8fe9a56057 (diff)
parentc6fe8850c7ff4c85074c93430743b146d8133436 (diff)
downloadillumos-joyent-62c14aa902d25dbe70b36dee1136ea3d20a40e50.tar.gz
[illumos-gate merge]
commit c6fe8850c7ff4c85074c93430743b146d8133436 5709 Add binary compatibility with Solaris 10 update 10 commit acab0a4f5020a09371629ac5149fdcf355dd0512 9755 bounds checking functions and types should only be visible if __STDC_WANT_LIB_EXT1__ is set to 1
Diffstat (limited to 'usr/src/lib/libc')
-rw-r--r--usr/src/lib/libc/port/gen/memset_s.c2
-rw-r--r--usr/src/lib/libc/port/gen/set_constraint_handler_s.c2
-rw-r--r--usr/src/lib/libc/port/mapfile-vers5
3 files changed, 9 insertions, 0 deletions
diff --git a/usr/src/lib/libc/port/gen/memset_s.c b/usr/src/lib/libc/port/gen/memset_s.c
index 9f3fcf8ec0..c77b02de20 100644
--- a/usr/src/lib/libc/port/gen/memset_s.c
+++ b/usr/src/lib/libc/port/gen/memset_s.c
@@ -27,6 +27,8 @@
* Copyright 2018 Nexenta Systems, Inc.
*/
+#define __STDC_WANT_LIB_EXT1__ 1
+
#include "lint.h"
#include <errno.h>
diff --git a/usr/src/lib/libc/port/gen/set_constraint_handler_s.c b/usr/src/lib/libc/port/gen/set_constraint_handler_s.c
index 3466b8a1d0..2261a8df0a 100644
--- a/usr/src/lib/libc/port/gen/set_constraint_handler_s.c
+++ b/usr/src/lib/libc/port/gen/set_constraint_handler_s.c
@@ -27,6 +27,8 @@
* Copyright 2018 Nexenta Systems, Inc.
*/
+#define __STDC_WANT_LIB_EXT1__ 1
+
#include "lint.h"
#include <sys/types.h>
diff --git a/usr/src/lib/libc/port/mapfile-vers b/usr/src/lib/libc/port/mapfile-vers
index 812c0c94d5..9992247d90 100644
--- a/usr/src/lib/libc/port/mapfile-vers
+++ b/usr/src/lib/libc/port/mapfile-vers
@@ -599,6 +599,11 @@ $if lf64
posix_fadvise64;
posix_fallocate64;
$endif
+} SUNW_1.22.7;
+
+SYMBOL_VERSION SUNW_1.22.7 { # s10u10 - SunOS 5.10 (Solaris 10) patch additions
+ protected:
+ SUNW_1.22.7;
} SUNW_1.22.6;
SYMBOL_VERSION SUNW_1.22.6 { # s10u9 - SunOS 5.10 (Solaris 10) patch additions