Print this page
5776 vfork and getwd should not be exposed under XPG7
Split |
Close |
Expand all |
Collapse all |
--- old/usr/src/test/libc-tests/cfg/symbols/unistd_h.cfg
+++ new/usr/src/test/libc-tests/cfg/symbols/unistd_h.cfg
1 1 #
2 2 # This file and its contents are supplied under the terms of the
3 3 # Common Development and Distribution License ("CDDL"), version 1.0.
4 4 # You may only use this file in accordance with the terms of version
5 5 # 1.0 of the CDDL.
6 6 #
7 7 # A full copy of the text of the CDDL should have accompanied this
8 8 # source. A copy of the CDDL is also available via the Internet at
9 9 # http://www.illumos.org/license/CDDL.
10 10 #
11 11
12 12 #
13 13 # Copyright 2015 Garrett D'Amore <garrett@damore.org>
14 14 #
15 15
16 16 #
17 17 # Definitions found in unistd.h
18 18 #
19 19
20 20 #
21 21 # Types.
22 22 #
23 23 type | pid_t | unistd.h | POSIX+ SUS+
24 24
25 25 #
26 26 # Values.
27 27 #
28 28 # Note that the standard requires the user declare environ.
29 29 # value | environ | char ** | unistd.h | POSIX+ SUS+
30 30 value | _CS_PATH | int | unistd.h | SUS+
31 31
32 32 value | _CS_POSIX_V6_ILP32_OFF32_CFLAGS | int | unistd.h | SUSv3+
33 33 value | _CS_POSIX_V6_ILP32_OFF32_LDFLAGS | int | unistd.h | SUSv3+
34 34 value | _CS_POSIX_V6_ILP32_OFF32_LIBS | int | unistd.h | SUSv3+
35 35 value | _CS_POSIX_V6_ILP32_OFFBIG_CFLAGS | int | unistd.h | SUSv3+
36 36 value | _CS_POSIX_V6_ILP32_OFFBIG_LDFLAGS | int | unistd.h | SUSv3+
37 37 value | _CS_POSIX_V6_ILP32_OFFBIG_LIBS | int | unistd.h | SUSv3+
38 38 value | _CS_POSIX_V6_LP64_OFF64_CFLAGS | int | unistd.h | SUSv3+
39 39 value | _CS_POSIX_V6_LP64_OFF64_LDFLAGS | int | unistd.h | SUSv3+
40 40 value | _CS_POSIX_V6_LP64_OFF64_LIBS | int | unistd.h | SUSv3+
41 41 value | _CS_POSIX_V6_LPBIG_OFFBIG_CFLAGS | int | unistd.h | SUSv3+
42 42 value | _CS_POSIX_V6_LPBIG_OFFBIG_LDFLAGS | int | unistd.h | SUSv3+
43 43 value | _CS_POSIX_V6_LPBIG_OFFBIG_LIBS | int | unistd.h | SUSv3+
44 44 value | _CS_POSIX_V6_WIDTH_RESTRICTED_ENVS | int | unistd.h | SUSv3+
45 45
46 46 #
47 47 # Functions
48 48 #
49 49 func | access |\
50 50 int |\
51 51 const char *; int |\
52 52 unistd.h | POSIX+ SUS+
53 53
54 54 func | chown |\
55 55 int |\
56 56 const char *; uid_t; gid_t |\
57 57 unistd.h | POSIX+ SUS+
58 58
59 59 func | execl |\
60 60 int |\
61 61 const char *; const char * |\
62 62 unistd.h | POSIX+ SUS+
63 63
64 64 func | execle |\
65 65 int |\
66 66 const char *; const char *; char *; char *const [] |\
67 67 unistd.h | POSIX+ SUS+
68 68
69 69 func | execlp |\
70 70 int |\
71 71 const char *; const char *; char * |\
72 72 unistd.h | POSIX+ SUS+
73 73
74 74 func | execv |\
75 75 int |\
76 76 const char *; char *const [] |\
77 77 unistd.h | POSIX+ SUS+
78 78
79 79 func | execve |\
80 80 int |\
81 81 const char *; char *const []; char *const [] |\
82 82 unistd.h | POSIX+ SUS+
83 83
84 84 func | execvp |\
85 85 int |\
86 86 const char *; char *const [] |\
87 87 unistd.h | POSIX+ SUS+
88 88
89 89 func | fchown |\
90 90 int |\
91 91 int; uid_t; gid_t |\
92 92 unistd.h | -POSIX+ SUS+
93 93
↓ open down ↓ |
93 lines elided |
↑ open up ↑ |
94 94 func | getlogin |\
95 95 char * |\
96 96 void |\
97 97 unistd.h | POSIX+ SUS+
98 98
99 99 func | getlogin_r |\
100 100 int |\
101 101 char *; size_t |\
102 102 unistd.h | -POSIX+ -SUS+ +POSIX-1995+ SUSv2+
103 103
104 +func | getwd |\
105 + char * |\
106 + char * |\
107 + unistd.h | -ALL SUS+ -SUSv4+
108 +
104 109 func | lchown |\
105 110 int |\
106 111 const char *; uid_t; gid_t |\
107 112 unistd.h | -POSIX+ SUS+
108 113
109 114 func | link |\
110 115 int |\
111 116 const char *; const char * |\
112 117 unistd.h | POSIX+ SUS+
113 118
114 119 # XPG3 may have put this here incorrectly (Open Group says no..., but...)
115 120 # Probably this is actually our error, and we should kill it, but we can
116 121 # do that when kill off XPG3 support altogether.
117 122 func | rename |\
118 123 int |\
119 124 const char *; const char * |\
120 125 unistd.h | -POSIX+ +XPG3 -XPG4+
121 126
122 127 func | symlink |\
123 128 int |\
124 129 const char *; const char * |\
125 130 unistd.h | -XPG3+ -POSIX+ SUS+
126 131
↓ open down ↓ |
13 lines elided |
↑ open up ↑ |
127 132 func | ttyname |\
128 133 char * |\
129 134 int |\
130 135 unistd.h | POSIX+ SUS+
131 136
132 137 func | ttyname_r |\
133 138 int |\
134 139 int; char *; size_t |\
135 140 unistd.h | -POSIX+ -SUS+ +POSIX-1995+ SUSv2+
136 141
142 +func | ualarm |\
143 + int |\
144 + useconds_t; useconds_t |\
145 + unistd.h | -ALL SUS+ -SUSv4+
146 +
137 147 func | unlink |\
138 148 int |\
139 149 const char * |\
140 150 unistd.h | POSIX+ XPG3+
151 +
152 +func | usleep |\
153 + int |\
154 + useconds_t |\
155 + unistd.h | -ALL SUS+ -SUSv4+
156 +
157 +func | vfork |\
158 + pid_t |\
159 + void |\
160 + unistd.h | -ALL SUS+ -SUSv4+
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX