Commit 1c59d38
committed
Merge tag 'linux-kselftest-nolibc-6.6-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest
Pull nolibc updates from Shuah Khan:
"Nolibc:
- improved portability by removing build errors with -ENOSYS
- added syscall6() on MIPS to support pselect6() and mmap()
- added setvbuf(), rmdir(), pipe(), pipe2()
- add support for ppc/ppc64
- environ is no longer optional
- fixed frame pointer issues at -O0
- dropped sys_stat() in favor of sys_statx()
- centralized _start_c() to remove lots of asm code
- switched size_t to __SIZE_TYPE__
Selftests:
- improved status reporting (success/warning/failure counts, path to
log file)
- various code cleanups (indent, unused variables, ...)
- more consistent test numbering
- enabled compiler warnings
- dropped unreliable chmod_net test
- improved reliability (create /dev/zero & /tmp, rely less on /proc)
- new tests (brk/sbrk/mmap/munmap)
- improved compatibility with musl
- new run-nolibc-test target to build and run natively
- new run-libc-test target to build and run against native libc
- made the cmdline parser more reliable against boolean arguments
- dropped dependency on memfd for vfprintf() test
- nolibc-test is no longer stripped
- added support for extending ARCH via XARCH
Other:
- add Thomas as co-maintainer"
* tag 'linux-kselftest-nolibc-6.6-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest: (103 commits)
tools/nolibc: avoid undesired casts in the __sysret() macro
tools/nolibc: keep brk(), sbrk(), mmap() away from __sysret()
tools/nolibc: silence ppc64 compile warnings
selftests/nolibc: libc-test: use HOSTCC instead of CC
tools/nolibc: stackprotector.h: make __stack_chk_init static
selftests/nolibc: allow report with existing test log
selftests/nolibc: add test support for ppc64
selftests/nolibc: add test support for ppc64le
selftests/nolibc: add test support for ppc
selftests/nolibc: add XARCH and ARCH mapping support
tools/nolibc: add support for powerpc64
tools/nolibc: add support for powerpc
MAINTAINERS: nolibc: add myself as co-maintainer
selftests/nolibc: enable compiler warnings
selftests/nolibc: don't strip nolibc-test
selftests/nolibc: prevent out of bounds access in expect_vfprintf
selftests/nolibc: use correct return type for read() and write()
selftests/nolibc: avoid sign-compare warnings
selftests/nolibc: avoid unused parameter warnings
selftests/nolibc: make functions static if possible
...23 files changed
Lines changed: 1221 additions & 1166 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15010 | 15010 | | |
15011 | 15011 | | |
15012 | 15012 | | |
| 15013 | + | |
15013 | 15014 | | |
15014 | 15015 | | |
15015 | 15016 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| 30 | + | |
30 | 31 | | |
31 | 32 | | |
32 | 33 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 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 | | - | |
| 11 | + | |
39 | 12 | | |
40 | 13 | | |
41 | 14 | | |
| |||
56 | 29 | | |
57 | 30 | | |
58 | 31 | | |
59 | | - | |
60 | | - | |
| 32 | + | |
| 33 | + | |
61 | 34 | | |
62 | 35 | | |
63 | 36 | | |
| |||
70 | 43 | | |
71 | 44 | | |
72 | 45 | | |
73 | | - | |
74 | | - | |
| 46 | + | |
| 47 | + | |
75 | 48 | | |
76 | 49 | | |
77 | 50 | | |
| |||
86 | 59 | | |
87 | 60 | | |
88 | 61 | | |
89 | | - | |
90 | | - | |
| 62 | + | |
| 63 | + | |
91 | 64 | | |
92 | 65 | | |
93 | 66 | | |
| |||
103 | 76 | | |
104 | 77 | | |
105 | 78 | | |
106 | | - | |
107 | | - | |
| 79 | + | |
| 80 | + | |
108 | 81 | | |
109 | 82 | | |
110 | 83 | | |
| |||
121 | 94 | | |
122 | 95 | | |
123 | 96 | | |
124 | | - | |
125 | | - | |
| 97 | + | |
| 98 | + | |
126 | 99 | | |
127 | 100 | | |
128 | 101 | | |
| |||
140 | 113 | | |
141 | 114 | | |
142 | 115 | | |
143 | | - | |
144 | | - | |
| 116 | + | |
| 117 | + | |
145 | 118 | | |
146 | 119 | | |
147 | 120 | | |
| |||
160 | 133 | | |
161 | 134 | | |
162 | 135 | | |
163 | | - | |
164 | | - | |
| 136 | + | |
| 137 | + | |
165 | 138 | | |
166 | 139 | | |
167 | 140 | | |
| |||
171 | 144 | | |
172 | 145 | | |
173 | 146 | | |
174 | | - | |
175 | | - | |
176 | | - | |
177 | 147 | | |
178 | | - | |
| 148 | + | |
179 | 149 | | |
180 | 150 | | |
181 | | - | |
182 | | - | |
183 | | - | |
184 | | - | |
185 | | - | |
186 | | - | |
187 | | - | |
188 | | - | |
189 | | - | |
190 | | - | |
191 | | - | |
192 | | - | |
193 | | - | |
194 | | - | |
195 | | - | |
196 | | - | |
197 | | - | |
198 | | - | |
199 | | - | |
200 | | - | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
201 | 154 | | |
202 | 155 | | |
203 | 156 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 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 | | - | |
| 11 | + | |
48 | 12 | | |
49 | 13 | | |
50 | 14 | | |
| |||
90 | 54 | | |
91 | 55 | | |
92 | 56 | | |
93 | | - | |
94 | | - | |
| 57 | + | |
| 58 | + | |
95 | 59 | | |
96 | 60 | | |
97 | 61 | | |
| |||
107 | 71 | | |
108 | 72 | | |
109 | 73 | | |
110 | | - | |
111 | | - | |
| 74 | + | |
| 75 | + | |
112 | 76 | | |
113 | 77 | | |
114 | 78 | | |
| |||
125 | 89 | | |
126 | 90 | | |
127 | 91 | | |
128 | | - | |
129 | | - | |
| 92 | + | |
| 93 | + | |
130 | 94 | | |
131 | 95 | | |
132 | 96 | | |
| |||
144 | 108 | | |
145 | 109 | | |
146 | 110 | | |
147 | | - | |
148 | | - | |
| 111 | + | |
| 112 | + | |
149 | 113 | | |
150 | 114 | | |
151 | 115 | | |
| |||
164 | 128 | | |
165 | 129 | | |
166 | 130 | | |
167 | | - | |
168 | | - | |
| 131 | + | |
| 132 | + | |
169 | 133 | | |
170 | 134 | | |
171 | 135 | | |
| |||
185 | 149 | | |
186 | 150 | | |
187 | 151 | | |
188 | | - | |
189 | | - | |
| 152 | + | |
| 153 | + | |
190 | 154 | | |
191 | 155 | | |
192 | 156 | | |
| |||
207 | 171 | | |
208 | 172 | | |
209 | 173 | | |
210 | | - | |
211 | | - | |
| 174 | + | |
| 175 | + | |
212 | 176 | | |
213 | 177 | | |
214 | 178 | | |
| |||
220 | 184 | | |
221 | 185 | | |
222 | 186 | | |
223 | | - | |
224 | | - | |
225 | | - | |
226 | | - | |
227 | 187 | | |
228 | | - | |
| 188 | + | |
229 | 189 | | |
230 | 190 | | |
231 | | - | |
232 | | - | |
233 | | - | |
234 | | - | |
235 | | - | |
236 | | - | |
237 | | - | |
238 | | - | |
239 | | - | |
240 | | - | |
241 | | - | |
242 | | - | |
243 | | - | |
244 | | - | |
245 | | - | |
246 | | - | |
247 | | - | |
248 | | - | |
249 | | - | |
250 | | - | |
251 | | - | |
252 | | - | |
253 | | - | |
254 | | - | |
255 | | - | |
256 | | - | |
257 | | - | |
258 | | - | |
259 | | - | |
260 | | - | |
261 | | - | |
262 | | - | |
263 | | - | |
264 | | - | |
265 | | - | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
266 | 195 | | |
267 | 196 | | |
268 | 197 | | |
| |||
0 commit comments