blob: 02902016d5313db88d60ea4df55484209404d193 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
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)
|