Index: b/usr/src/lib/libc/port/mapfile-vers =================================================================== --- a/usr/src/lib/libc/port/mapfile-vers +++ b/usr/src/lib/libc/port/mapfile-vers @@ -258,14 +258,7 @@ SYMBOL_VERSION ILLUMOS_0.4 { # Illumos a protected: pipe2; dup3; - mkostemp; - mkostemps; - -$if lf64 - mkostemp64; - mkostemps64; -$endif -} ILLUMOS_0.3; +} DYSON_1; SYMBOL_VERSION DYSON_1 { global: @@ -287,6 +280,8 @@ SYMBOL_VERSION DYSON_1 { gnu_strerror_r; mempcpy; memrchr; + mkostemp; + mkostemps; program_invocation_name; program_invocation_short_name; qsort_r; @@ -294,6 +289,8 @@ SYMBOL_VERSION DYSON_1 { sendfile; sendfilev; $if _ELF32 + mkostemp64; + mkostemps64; sendfile64; sendfilev64; $endif Index: b/usr/src/head/stdlib.h =================================================================== --- a/usr/src/head/stdlib.h +++ b/usr/src/head/stdlib.h @@ -195,6 +195,10 @@ extern int mkstemp64(char *); #if !defined(_XPG4_2) || defined(__EXTENSIONS__) extern int mkstemps64(char *, int); #endif +#if defined(_GNU_SOURCE) || defined(__EXTENSIONS__) +int mkostemp64(char *, int); +int mkostemps64(char *, int, int); +#endif #endif /* _LARGEFILE64_SOURCE... */ #if !defined(_STRICT_SYMBOLS) || defined(_XPG7)