@ai-ecoverse/wasix-sysroot 2025.9.30-27 → 2025.9.30-29

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/LICENSE CHANGED
@@ -1,5 +1,692 @@
1
- Apache-2.0 WITH LLVM-exception
1
+ ==> wasix-libc-LICENSE <==
2
2
 
3
- This package redistributes wasix-libc sysroot contents (headers, libc, libc++,
4
- compiler-rt builtins) as built/installed by wasixcc. See
5
- https://github.com/wasix-org/wasix-libc for upstream terms.
3
+ wasi-libc as a whole is multi-licensed under the
4
+ Apache License v2.0 with LLVM Exceptions, the Apache License v2.0, and
5
+ the MIT License. See the LICENSE-APACHE-LLVM, LICENSE-APACHE and LICENSE-MIT
6
+ files, respectively, for details.
7
+
8
+ Portions of this software are derived from third-party works covered by
9
+ their own licenses:
10
+
11
+ dlmalloc/ - CC0; see the notice in malloc.c for details
12
+ emmalloc/ - MIT; see the notice in emmalloc.c for details
13
+ libc-bottom-half/cloudlibc/ - BSD-2-Clause; see the LICENSE file for details
14
+ libc-top-half/musl/ - MIT; see the COPYRIGHT file for details
15
+
16
+ wasi-libc changes to these files are multi-licensed under the
17
+ Apache License v2.0 with LLVM Exceptions, the Apache License v2.0,
18
+ the MIT License, and the original licenses of the third-party works.
19
+
20
+ ==> wasix-libc-LICENSE-APACHE-LLVM <==
21
+
22
+
23
+ Apache License
24
+ Version 2.0, January 2004
25
+ http://www.apache.org/licenses/
26
+
27
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
28
+
29
+ 1. Definitions.
30
+
31
+ "License" shall mean the terms and conditions for use, reproduction,
32
+ and distribution as defined by Sections 1 through 9 of this document.
33
+
34
+ "Licensor" shall mean the copyright owner or entity authorized by
35
+ the copyright owner that is granting the License.
36
+
37
+ "Legal Entity" shall mean the union of the acting entity and all
38
+ other entities that control, are controlled by, or are under common
39
+ control with that entity. For the purposes of this definition,
40
+ "control" means (i) the power, direct or indirect, to cause the
41
+ direction or management of such entity, whether by contract or
42
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
43
+ outstanding shares, or (iii) beneficial ownership of such entity.
44
+
45
+ "You" (or "Your") shall mean an individual or Legal Entity
46
+ exercising permissions granted by this License.
47
+
48
+ "Source" form shall mean the preferred form for making modifications,
49
+ including but not limited to software source code, documentation
50
+ source, and configuration files.
51
+
52
+ "Object" form shall mean any form resulting from mechanical
53
+ transformation or translation of a Source form, including but
54
+ not limited to compiled object code, generated documentation,
55
+ and conversions to other media types.
56
+
57
+ "Work" shall mean the work of authorship, whether in Source or
58
+ Object form, made available under the License, as indicated by a
59
+ copyright notice that is included in or attached to the work
60
+ (an example is provided in the Appendix below).
61
+
62
+ "Derivative Works" shall mean any work, whether in Source or Object
63
+ form, that is based on (or derived from) the Work and for which the
64
+ editorial revisions, annotations, elaborations, or other modifications
65
+ represent, as a whole, an original work of authorship. For the purposes
66
+ of this License, Derivative Works shall not include works that remain
67
+ separable from, or merely link (or bind by name) to the interfaces of,
68
+ the Work and Derivative Works thereof.
69
+
70
+ "Contribution" shall mean any work of authorship, including
71
+ the original version of the Work and any modifications or additions
72
+ to that Work or Derivative Works thereof, that is intentionally
73
+ submitted to Licensor for inclusion in the Work by the copyright owner
74
+ or by an individual or Legal Entity authorized to submit on behalf of
75
+ the copyright owner. For the purposes of this definition, "submitted"
76
+ means any form of electronic, verbal, or written communication sent
77
+ to the Licensor or its representatives, including but not limited to
78
+ communication on electronic mailing lists, source code control systems,
79
+ and issue tracking systems that are managed by, or on behalf of, the
80
+ Licensor for the purpose of discussing and improving the Work, but
81
+ excluding communication that is conspicuously marked or otherwise
82
+ designated in writing by the copyright owner as "Not a Contribution."
83
+
84
+ "Contributor" shall mean Licensor and any individual or Legal Entity
85
+ on behalf of whom a Contribution has been received by Licensor and
86
+ subsequently incorporated within the Work.
87
+
88
+ 2. Grant of Copyright License. Subject to the terms and conditions of
89
+ this License, each Contributor hereby grants to You a perpetual,
90
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
91
+ copyright license to reproduce, prepare Derivative Works of,
92
+ publicly display, publicly perform, sublicense, and distribute the
93
+ Work and such Derivative Works in Source or Object form.
94
+
95
+ 3. Grant of Patent License. Subject to the terms and conditions of
96
+ this License, each Contributor hereby grants to You a perpetual,
97
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
98
+ (except as stated in this section) patent license to make, have made,
99
+ use, offer to sell, sell, import, and otherwise transfer the Work,
100
+ where such license applies only to those patent claims licensable
101
+ by such Contributor that are necessarily infringed by their
102
+ Contribution(s) alone or by combination of their Contribution(s)
103
+ with the Work to which such Contribution(s) was submitted. If You
104
+ institute patent litigation against any entity (including a
105
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
106
+ or a Contribution incorporated within the Work constitutes direct
107
+ or contributory patent infringement, then any patent licenses
108
+ granted to You under this License for that Work shall terminate
109
+ as of the date such litigation is filed.
110
+
111
+ 4. Redistribution. You may reproduce and distribute copies of the
112
+ Work or Derivative Works thereof in any medium, with or without
113
+ modifications, and in Source or Object form, provided that You
114
+ meet the following conditions:
115
+
116
+ (a) You must give any other recipients of the Work or
117
+ Derivative Works a copy of this License; and
118
+
119
+ (b) You must cause any modified files to carry prominent notices
120
+ stating that You changed the files; and
121
+
122
+ (c) You must retain, in the Source form of any Derivative Works
123
+ that You distribute, all copyright, patent, trademark, and
124
+ attribution notices from the Source form of the Work,
125
+ excluding those notices that do not pertain to any part of
126
+ the Derivative Works; and
127
+
128
+ (d) If the Work includes a "NOTICE" text file as part of its
129
+ distribution, then any Derivative Works that You distribute must
130
+ include a readable copy of the attribution notices contained
131
+ within such NOTICE file, excluding those notices that do not
132
+ pertain to any part of the Derivative Works, in at least one
133
+ of the following places: within a NOTICE text file distributed
134
+ as part of the Derivative Works; within the Source form or
135
+ documentation, if provided along with the Derivative Works; or,
136
+ within a display generated by the Derivative Works, if and
137
+ wherever such third-party notices normally appear. The contents
138
+ of the NOTICE file are for informational purposes only and
139
+ do not modify the License. You may add Your own attribution
140
+ notices within Derivative Works that You distribute, alongside
141
+ or as an addendum to the NOTICE text from the Work, provided
142
+ that such additional attribution notices cannot be construed
143
+ as modifying the License.
144
+
145
+ You may add Your own copyright statement to Your modifications and
146
+ may provide additional or different license terms and conditions
147
+ for use, reproduction, or distribution of Your modifications, or
148
+ for any such Derivative Works as a whole, provided Your use,
149
+ reproduction, and distribution of the Work otherwise complies with
150
+ the conditions stated in this License.
151
+
152
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
153
+ any Contribution intentionally submitted for inclusion in the Work
154
+ by You to the Licensor shall be under the terms and conditions of
155
+ this License, without any additional terms or conditions.
156
+ Notwithstanding the above, nothing herein shall supersede or modify
157
+ the terms of any separate license agreement you may have executed
158
+ with Licensor regarding such Contributions.
159
+
160
+ 6. Trademarks. This License does not grant permission to use the trade
161
+ names, trademarks, service marks, or product names of the Licensor,
162
+ except as required for reasonable and customary use in describing the
163
+ origin of the Work and reproducing the content of the NOTICE file.
164
+
165
+ 7. Disclaimer of Warranty. Unless required by applicable law or
166
+ agreed to in writing, Licensor provides the Work (and each
167
+ Contributor provides its Contributions) on an "AS IS" BASIS,
168
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
169
+ implied, including, without limitation, any warranties or conditions
170
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
171
+ PARTICULAR PURPOSE. You are solely responsible for determining the
172
+ appropriateness of using or redistributing the Work and assume any
173
+ risks associated with Your exercise of permissions under this License.
174
+
175
+ 8. Limitation of Liability. In no event and under no legal theory,
176
+ whether in tort (including negligence), contract, or otherwise,
177
+ unless required by applicable law (such as deliberate and grossly
178
+ negligent acts) or agreed to in writing, shall any Contributor be
179
+ liable to You for damages, including any direct, indirect, special,
180
+ incidental, or consequential damages of any character arising as a
181
+ result of this License or out of the use or inability to use the
182
+ Work (including but not limited to damages for loss of goodwill,
183
+ work stoppage, computer failure or malfunction, or any and all
184
+ other commercial damages or losses), even if such Contributor
185
+ has been advised of the possibility of such damages.
186
+
187
+ 9. Accepting Warranty or Additional Liability. While redistributing
188
+ the Work or Derivative Works thereof, You may choose to offer,
189
+ and charge a fee for, acceptance of support, warranty, indemnity,
190
+ or other liability obligations and/or rights consistent with this
191
+ License. However, in accepting such obligations, You may act only
192
+ on Your own behalf and on Your sole responsibility, not on behalf
193
+ of any other Contributor, and only if You agree to indemnify,
194
+ defend, and hold each Contributor harmless for any liability
195
+ incurred by, or claims asserted against, such Contributor by reason
196
+ of your accepting any such warranty or additional liability.
197
+
198
+ END OF TERMS AND CONDITIONS
199
+
200
+ APPENDIX: How to apply the Apache License to your work.
201
+
202
+ To apply the Apache License to your work, attach the following
203
+ boilerplate notice, with the fields enclosed by brackets "[]"
204
+ replaced with your own identifying information. (Don't include
205
+ the brackets!) The text should be enclosed in the appropriate
206
+ comment syntax for the file format. We also recommend that a
207
+ file or class name and description of purpose be included on the
208
+ same "printed page" as the copyright notice for easier
209
+ identification within third-party archives.
210
+
211
+ Copyright [yyyy] [name of copyright owner]
212
+
213
+ Licensed under the Apache License, Version 2.0 (the "License");
214
+ you may not use this file except in compliance with the License.
215
+ You may obtain a copy of the License at
216
+
217
+ http://www.apache.org/licenses/LICENSE-2.0
218
+
219
+ Unless required by applicable law or agreed to in writing, software
220
+ distributed under the License is distributed on an "AS IS" BASIS,
221
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
222
+ See the License for the specific language governing permissions and
223
+ limitations under the License.
224
+
225
+
226
+ --- LLVM Exceptions to the Apache 2.0 License ----
227
+
228
+ As an exception, if, as a result of your compiling your source code, portions
229
+ of this Software are embedded into an Object form of such source code, you
230
+ may redistribute such embedded portions in such Object form without complying
231
+ with the conditions of Sections 4(a), 4(b) and 4(d) of the License.
232
+
233
+ In addition, if you combine or link compiled forms of this Software with
234
+ software that is licensed under the GPLv2 ("Combined Software") and if a
235
+ court of competent jurisdiction determines that the patent provision (Section
236
+ 3), the indemnity provision (Section 9) or other Section of the License
237
+ conflicts with the conditions of the GPLv2, you may retroactively and
238
+ prospectively choose to deem waived or otherwise exclude such Section(s) of
239
+ the License, but only in their entirety and only with respect to the Combined
240
+ Software.
241
+
242
+
243
+ ==> wasix-libc-LICENSE-APACHE <==
244
+
245
+ Apache License
246
+ Version 2.0, January 2004
247
+ http://www.apache.org/licenses/
248
+
249
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
250
+
251
+ 1. Definitions.
252
+
253
+ "License" shall mean the terms and conditions for use, reproduction,
254
+ and distribution as defined by Sections 1 through 9 of this document.
255
+
256
+ "Licensor" shall mean the copyright owner or entity authorized by
257
+ the copyright owner that is granting the License.
258
+
259
+ "Legal Entity" shall mean the union of the acting entity and all
260
+ other entities that control, are controlled by, or are under common
261
+ control with that entity. For the purposes of this definition,
262
+ "control" means (i) the power, direct or indirect, to cause the
263
+ direction or management of such entity, whether by contract or
264
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
265
+ outstanding shares, or (iii) beneficial ownership of such entity.
266
+
267
+ "You" (or "Your") shall mean an individual or Legal Entity
268
+ exercising permissions granted by this License.
269
+
270
+ "Source" form shall mean the preferred form for making modifications,
271
+ including but not limited to software source code, documentation
272
+ source, and configuration files.
273
+
274
+ "Object" form shall mean any form resulting from mechanical
275
+ transformation or translation of a Source form, including but
276
+ not limited to compiled object code, generated documentation,
277
+ and conversions to other media types.
278
+
279
+ "Work" shall mean the work of authorship, whether in Source or
280
+ Object form, made available under the License, as indicated by a
281
+ copyright notice that is included in or attached to the work
282
+ (an example is provided in the Appendix below).
283
+
284
+ "Derivative Works" shall mean any work, whether in Source or Object
285
+ form, that is based on (or derived from) the Work and for which the
286
+ editorial revisions, annotations, elaborations, or other modifications
287
+ represent, as a whole, an original work of authorship. For the purposes
288
+ of this License, Derivative Works shall not include works that remain
289
+ separable from, or merely link (or bind by name) to the interfaces of,
290
+ the Work and Derivative Works thereof.
291
+
292
+ "Contribution" shall mean any work of authorship, including
293
+ the original version of the Work and any modifications or additions
294
+ to that Work or Derivative Works thereof, that is intentionally
295
+ submitted to Licensor for inclusion in the Work by the copyright owner
296
+ or by an individual or Legal Entity authorized to submit on behalf of
297
+ the copyright owner. For the purposes of this definition, "submitted"
298
+ means any form of electronic, verbal, or written communication sent
299
+ to the Licensor or its representatives, including but not limited to
300
+ communication on electronic mailing lists, source code control systems,
301
+ and issue tracking systems that are managed by, or on behalf of, the
302
+ Licensor for the purpose of discussing and improving the Work, but
303
+ excluding communication that is conspicuously marked or otherwise
304
+ designated in writing by the copyright owner as "Not a Contribution."
305
+
306
+ "Contributor" shall mean Licensor and any individual or Legal Entity
307
+ on behalf of whom a Contribution has been received by Licensor and
308
+ subsequently incorporated within the Work.
309
+
310
+ 2. Grant of Copyright License. Subject to the terms and conditions of
311
+ this License, each Contributor hereby grants to You a perpetual,
312
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
313
+ copyright license to reproduce, prepare Derivative Works of,
314
+ publicly display, publicly perform, sublicense, and distribute the
315
+ Work and such Derivative Works in Source or Object form.
316
+
317
+ 3. Grant of Patent License. Subject to the terms and conditions of
318
+ this License, each Contributor hereby grants to You a perpetual,
319
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
320
+ (except as stated in this section) patent license to make, have made,
321
+ use, offer to sell, sell, import, and otherwise transfer the Work,
322
+ where such license applies only to those patent claims licensable
323
+ by such Contributor that are necessarily infringed by their
324
+ Contribution(s) alone or by combination of their Contribution(s)
325
+ with the Work to which such Contribution(s) was submitted. If You
326
+ institute patent litigation against any entity (including a
327
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
328
+ or a Contribution incorporated within the Work constitutes direct
329
+ or contributory patent infringement, then any patent licenses
330
+ granted to You under this License for that Work shall terminate
331
+ as of the date such litigation is filed.
332
+
333
+ 4. Redistribution. You may reproduce and distribute copies of the
334
+ Work or Derivative Works thereof in any medium, with or without
335
+ modifications, and in Source or Object form, provided that You
336
+ meet the following conditions:
337
+
338
+ (a) You must give any other recipients of the Work or
339
+ Derivative Works a copy of this License; and
340
+
341
+ (b) You must cause any modified files to carry prominent notices
342
+ stating that You changed the files; and
343
+
344
+ (c) You must retain, in the Source form of any Derivative Works
345
+ that You distribute, all copyright, patent, trademark, and
346
+ attribution notices from the Source form of the Work,
347
+ excluding those notices that do not pertain to any part of
348
+ the Derivative Works; and
349
+
350
+ (d) If the Work includes a "NOTICE" text file as part of its
351
+ distribution, then any Derivative Works that You distribute must
352
+ include a readable copy of the attribution notices contained
353
+ within such NOTICE file, excluding those notices that do not
354
+ pertain to any part of the Derivative Works, in at least one
355
+ of the following places: within a NOTICE text file distributed
356
+ as part of the Derivative Works; within the Source form or
357
+ documentation, if provided along with the Derivative Works; or,
358
+ within a display generated by the Derivative Works, if and
359
+ wherever such third-party notices normally appear. The contents
360
+ of the NOTICE file are for informational purposes only and
361
+ do not modify the License. You may add Your own attribution
362
+ notices within Derivative Works that You distribute, alongside
363
+ or as an addendum to the NOTICE text from the Work, provided
364
+ that such additional attribution notices cannot be construed
365
+ as modifying the License.
366
+
367
+ You may add Your own copyright statement to Your modifications and
368
+ may provide additional or different license terms and conditions
369
+ for use, reproduction, or distribution of Your modifications, or
370
+ for any such Derivative Works as a whole, provided Your use,
371
+ reproduction, and distribution of the Work otherwise complies with
372
+ the conditions stated in this License.
373
+
374
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
375
+ any Contribution intentionally submitted for inclusion in the Work
376
+ by You to the Licensor shall be under the terms and conditions of
377
+ this License, without any additional terms or conditions.
378
+ Notwithstanding the above, nothing herein shall supersede or modify
379
+ the terms of any separate license agreement you may have executed
380
+ with Licensor regarding such Contributions.
381
+
382
+ 6. Trademarks. This License does not grant permission to use the trade
383
+ names, trademarks, service marks, or product names of the Licensor,
384
+ except as required for reasonable and customary use in describing the
385
+ origin of the Work and reproducing the content of the NOTICE file.
386
+
387
+ 7. Disclaimer of Warranty. Unless required by applicable law or
388
+ agreed to in writing, Licensor provides the Work (and each
389
+ Contributor provides its Contributions) on an "AS IS" BASIS,
390
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
391
+ implied, including, without limitation, any warranties or conditions
392
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
393
+ PARTICULAR PURPOSE. You are solely responsible for determining the
394
+ appropriateness of using or redistributing the Work and assume any
395
+ risks associated with Your exercise of permissions under this License.
396
+
397
+ 8. Limitation of Liability. In no event and under no legal theory,
398
+ whether in tort (including negligence), contract, or otherwise,
399
+ unless required by applicable law (such as deliberate and grossly
400
+ negligent acts) or agreed to in writing, shall any Contributor be
401
+ liable to You for damages, including any direct, indirect, special,
402
+ incidental, or consequential damages of any character arising as a
403
+ result of this License or out of the use or inability to use the
404
+ Work (including but not limited to damages for loss of goodwill,
405
+ work stoppage, computer failure or malfunction, or any and all
406
+ other commercial damages or losses), even if such Contributor
407
+ has been advised of the possibility of such damages.
408
+
409
+ 9. Accepting Warranty or Additional Liability. While redistributing
410
+ the Work or Derivative Works thereof, You may choose to offer,
411
+ and charge a fee for, acceptance of support, warranty, indemnity,
412
+ or other liability obligations and/or rights consistent with this
413
+ License. However, in accepting such obligations, You may act only
414
+ on Your own behalf and on Your sole responsibility, not on behalf
415
+ of any other Contributor, and only if You agree to indemnify,
416
+ defend, and hold each Contributor harmless for any liability
417
+ incurred by, or claims asserted against, such Contributor by reason
418
+ of your accepting any such warranty or additional liability.
419
+
420
+ END OF TERMS AND CONDITIONS
421
+
422
+ APPENDIX: How to apply the Apache License to your work.
423
+
424
+ To apply the Apache License to your work, attach the following
425
+ boilerplate notice, with the fields enclosed by brackets "[]"
426
+ replaced with your own identifying information. (Don't include
427
+ the brackets!) The text should be enclosed in the appropriate
428
+ comment syntax for the file format. We also recommend that a
429
+ file or class name and description of purpose be included on the
430
+ same "printed page" as the copyright notice for easier
431
+ identification within third-party archives.
432
+
433
+ Copyright [yyyy] [name of copyright owner]
434
+
435
+ Licensed under the Apache License, Version 2.0 (the "License");
436
+ you may not use this file except in compliance with the License.
437
+ You may obtain a copy of the License at
438
+
439
+ http://www.apache.org/licenses/LICENSE-2.0
440
+
441
+ Unless required by applicable law or agreed to in writing, software
442
+ distributed under the License is distributed on an "AS IS" BASIS,
443
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
444
+ See the License for the specific language governing permissions and
445
+ limitations under the License.
446
+
447
+ ==> wasix-libc-LICENSE-MIT <==
448
+
449
+ Permission is hereby granted, free of charge, to any
450
+ person obtaining a copy of this software and associated
451
+ documentation files (the "Software"), to deal in the
452
+ Software without restriction, including without
453
+ limitation the rights to use, copy, modify, merge,
454
+ publish, distribute, sublicense, and/or sell copies of
455
+ the Software, and to permit persons to whom the Software
456
+ is furnished to do so, subject to the following
457
+ conditions:
458
+
459
+ The above copyright notice and this permission notice
460
+ shall be included in all copies or substantial portions
461
+ of the Software.
462
+
463
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF
464
+ ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
465
+ TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
466
+ PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT
467
+ SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
468
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
469
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
470
+ IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
471
+ DEALINGS IN THE SOFTWARE.
472
+
473
+ ==> musl-COPYRIGHT <==
474
+
475
+ musl as a whole is licensed under the following standard MIT license:
476
+
477
+ ----------------------------------------------------------------------
478
+ Copyright © 2005-2020 Rich Felker, et al.
479
+
480
+ Permission is hereby granted, free of charge, to any person obtaining
481
+ a copy of this software and associated documentation files (the
482
+ "Software"), to deal in the Software without restriction, including
483
+ without limitation the rights to use, copy, modify, merge, publish,
484
+ distribute, sublicense, and/or sell copies of the Software, and to
485
+ permit persons to whom the Software is furnished to do so, subject to
486
+ the following conditions:
487
+
488
+ The above copyright notice and this permission notice shall be
489
+ included in all copies or substantial portions of the Software.
490
+
491
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
492
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
493
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
494
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
495
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
496
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
497
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
498
+ ----------------------------------------------------------------------
499
+
500
+ Authors/contributors include:
501
+
502
+ A. Wilcox
503
+ Ada Worcester
504
+ Alex Dowad
505
+ Alex Suykov
506
+ Alexander Monakov
507
+ Andre McCurdy
508
+ Andrew Kelley
509
+ Anthony G. Basile
510
+ Aric Belsito
511
+ Arvid Picciani
512
+ Bartosz Brachaczek
513
+ Benjamin Peterson
514
+ Bobby Bingham
515
+ Boris Brezillon
516
+ Brent Cook
517
+ Chris Spiegel
518
+ Clément Vasseur
519
+ Daniel Micay
520
+ Daniel Sabogal
521
+ Daurnimator
522
+ David Carlier
523
+ David Edelsohn
524
+ Denys Vlasenko
525
+ Dmitry Ivanov
526
+ Dmitry V. Levin
527
+ Drew DeVault
528
+ Emil Renner Berthing
529
+ Fangrui Song
530
+ Felix Fietkau
531
+ Felix Janda
532
+ Gianluca Anzolin
533
+ Hauke Mehrtens
534
+ He X
535
+ Hiltjo Posthuma
536
+ Isaac Dunham
537
+ Jaydeep Patil
538
+ Jens Gustedt
539
+ Jeremy Huntwork
540
+ Jo-Philipp Wich
541
+ Joakim Sindholt
542
+ John Spencer
543
+ Julien Ramseier
544
+ Justin Cormack
545
+ Kaarle Ritvanen
546
+ Khem Raj
547
+ Kylie McClain
548
+ Leah Neukirchen
549
+ Luca Barbato
550
+ Luka Perkov
551
+ M Farkas-Dyck (Strake)
552
+ Mahesh Bodapati
553
+ Markus Wichmann
554
+ Masanori Ogino
555
+ Michael Clark
556
+ Michael Forney
557
+ Mikhail Kremnyov
558
+ Natanael Copa
559
+ Nicholas J. Kain
560
+ orc
561
+ Pascal Cuoq
562
+ Patrick Oppenlander
563
+ Petr Hosek
564
+ Petr Skocik
565
+ Pierre Carrier
566
+ Reini Urban
567
+ Rich Felker
568
+ Richard Pennington
569
+ Ryan Fairfax
570
+ Samuel Holland
571
+ Segev Finer
572
+ Shiz
573
+ sin
574
+ Solar Designer
575
+ Stefan Kristiansson
576
+ Stefan O'Rear
577
+ Szabolcs Nagy
578
+ Timo Teräs
579
+ Trutz Behn
580
+ Valentin Ochs
581
+ Will Dietz
582
+ William Haddon
583
+ William Pitcock
584
+
585
+ Portions of this software are derived from third-party works licensed
586
+ under terms compatible with the above MIT license:
587
+
588
+ The TRE regular expression implementation (src/regex/reg* and
589
+ src/regex/tre*) is Copyright © 2001-2008 Ville Laurikari and licensed
590
+ under a 2-clause BSD license (license text in the source files). The
591
+ included version has been heavily modified by Rich Felker in 2012, in
592
+ the interests of size, simplicity, and namespace cleanliness.
593
+
594
+ Much of the math library code (src/math/* and src/complex/*) is
595
+ Copyright © 1993,2004 Sun Microsystems or
596
+ Copyright © 2003-2011 David Schultz or
597
+ Copyright © 2003-2009 Steven G. Kargl or
598
+ Copyright © 2003-2009 Bruce D. Evans or
599
+ Copyright © 2008 Stephen L. Moshier or
600
+ Copyright © 2017-2018 Arm Limited
601
+ and labelled as such in comments in the individual source files. All
602
+ have been licensed under extremely permissive terms.
603
+
604
+ The ARM memcpy code (src/string/arm/memcpy.S) is Copyright © 2008
605
+ The Android Open Source Project and is licensed under a two-clause BSD
606
+ license. It was taken from Bionic libc, used on Android.
607
+
608
+ The AArch64 memcpy and memset code (src/string/aarch64/*) are
609
+ Copyright © 1999-2019, Arm Limited.
610
+
611
+ The implementation of DES for crypt (src/crypt/crypt_des.c) is
612
+ Copyright © 1994 David Burren. It is licensed under a BSD license.
613
+
614
+ The implementation of blowfish crypt (src/crypt/crypt_blowfish.c) was
615
+ originally written by Solar Designer and placed into the public
616
+ domain. The code also comes with a fallback permissive license for use
617
+ in jurisdictions that may not recognize the public domain.
618
+
619
+ The smoothsort implementation (src/stdlib/qsort.c) is Copyright © 2011
620
+ Valentin Ochs and is licensed under an MIT-style license.
621
+
622
+ The x86_64 port was written by Nicholas J. Kain and is licensed under
623
+ the standard MIT terms.
624
+
625
+ The mips and microblaze ports were originally written by Richard
626
+ Pennington for use in the ellcc project. The original code was adapted
627
+ by Rich Felker for build system and code conventions during upstream
628
+ integration. It is licensed under the standard MIT terms.
629
+
630
+ The mips64 port was contributed by Imagination Technologies and is
631
+ licensed under the standard MIT terms.
632
+
633
+ The powerpc port was also originally written by Richard Pennington,
634
+ and later supplemented and integrated by John Spencer. It is licensed
635
+ under the standard MIT terms.
636
+
637
+ All other files which have no copyright comments are original works
638
+ produced specifically for use as part of this library, written either
639
+ by Rich Felker, the main author of the library, or by one or more
640
+ contibutors listed above. Details on authorship of individual files
641
+ can be found in the git version control history of the project. The
642
+ omission of copyright and license comments in each file is in the
643
+ interest of source tree size.
644
+
645
+ In addition, permission is hereby granted for all public header files
646
+ (include/* and arch/*/bits/*) and crt files intended to be linked into
647
+ applications (crt/*, ldso/dlstart.c, and arch/*/crt_arch.h) to omit
648
+ the copyright notice and permission notice otherwise required by the
649
+ license, and to use these files without any requirement of
650
+ attribution. These files include substantial contributions from:
651
+
652
+ Bobby Bingham
653
+ John Spencer
654
+ Nicholas J. Kain
655
+ Rich Felker
656
+ Richard Pennington
657
+ Stefan Kristiansson
658
+ Szabolcs Nagy
659
+
660
+ all of whom have explicitly granted such permission.
661
+
662
+ This file previously contained text expressing a belief that most of
663
+ the files covered by the above exception were sufficiently trivial not
664
+ to be subject to copyright, resulting in confusion over whether it
665
+ negated the permissions granted in the license. In the spirit of
666
+ permissive licensing, and of not having licensing issues being an
667
+ obstacle to adoption, that text has been removed.
668
+
669
+ ==> cloudlibc-LICENSE <==
670
+
671
+ Copyright (c) 2015-2017 Nuxi (https://nuxi.nl/) and contributors.
672
+
673
+ Redistribution and use in source and binary forms, with or without
674
+ modification, are permitted provided that the following conditions
675
+ are met:
676
+ 1. Redistributions of source code must retain the above copyright
677
+ notice, this list of conditions and the following disclaimer.
678
+ 2. Redistributions in binary form must reproduce the above copyright
679
+ notice, this list of conditions and the following disclaimer in the
680
+ documentation and/or other materials provided with the distribution.
681
+
682
+ THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
683
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
684
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
685
+ ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
686
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
687
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
688
+ OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
689
+ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
690
+ LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
691
+ OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
692
+ SUCH DAMAGE.
package/README.md CHANGED
@@ -41,6 +41,49 @@ Since 2025.9.30-18:
41
41
  `sleep` early with the seconds left.
42
42
  - `raise()` and `pthread_kill(pthread_self())` reach the handler.
43
43
 
44
+ Since 2025.9.30-29 `poll` and `ppoll` take a `pollfd` that asks for neither
45
+ reading nor writing (`events` 0, as OpenSSH's client loop passes for idle
46
+ channels, or only bits WASI can't poll): the entry is skipped, and its
47
+ `revents` stays 0 unless the descriptor is bad, which gives `POLLNVAL` at
48
+ once. Up to -28 the whole call failed with ENOSYS. Such an entry gets no
49
+ `POLLHUP`/`POLLERR` (WASI polls only for reading and writing); `POLLPRI` is
50
+ `POLLIN` in these headers. A call with only such entries waits out its
51
+ timeout, or until a signal handler runs. `epoll_ctl` maps Linux's
52
+ `EPOLL_CTL_ADD`/`MOD`/`DEL` (1/3/2, what `<sys/epoll.h>` defines) to WASIX's
53
+ 0/1/2 and fails with -1 and `errno`; up to -28 it passed the Linux number on
54
+ (an ADD arrived as a WASIX MOD, a MOD as an invalid op) and returned the
55
+ errno as its value, so every error looked like success (homescoop#443).
56
+ `epoll_wait` gives back the whole 64-bit `data` (up to -28 any value whose
57
+ low 32 bits are 0 came back as the fd) and as many events as `maxevents`
58
+ asks for (it was capped at 64), `epoll_create1` honours `EPOLL_CLOEXEC`, and
59
+ `epoll_pwait` installs its signal mask for the wait. WASIX epoll needs
60
+ slicc-kernel ≥ 1.95.0; older kernels answer ENOSYS. On slicc-kernel 1.95.x
61
+ `EPOLL_CTL_MOD` of an fd that isn't registered adds it instead of failing
62
+ with ENOENT: the kernel still takes -28's numbering (slicc-kernel#684).
63
+
64
+ Since 2025.9.30-28 signal masks work. `sigprocmask` and `pthread_sigmask`
65
+ hand the thread's mask to slicc-kernel (`slicc.sigmask_set`), which holds a
66
+ blocked signal as pending and delivers it when it is unblocked, before the
67
+ call returns; `sigpending` reports the pending set (`slicc.sigpending_get`).
68
+ `SIGKILL` and `SIGSTOP` cannot be blocked. Up to -27 `pthread_sigmask` did
69
+ nothing (it did not even fill in the old mask), so a blocked signal was
70
+ delivered at once, and `sigpending` failed. On a slicc-kernel without these
71
+ imports the libc keeps the mask itself: masks read back right, but a blocked
72
+ signal is still delivered at once and nothing is ever pending.
73
+ `pselect` with a signal mask, `ppoll` (new) and `sigsuspend` install the
74
+ mask for the wait in one kernel call (`slicc.sigmask_poll`), so a signal
75
+ blocked everywhere else reaches its handler there, as gnupg's daemons and
76
+ openssh expect. `sigwait`, `sigtimedwait` and `sigwaitinfo` fail with ENOSYS
77
+ (up to -27 they reported success with a garbage signal number).
78
+ On slicc-kernel before 1.91.0 (slicc-kernel#561, every wasix-sysroot
79
+ version): a signal that reaches a thread while it runs its own code, not
80
+ inside a kernel call, is handled at the start of the thread's next kernel
81
+ call, and if that call is a wait it still sleeps its whole timeout. Up to -27
82
+ this hit every signal sent during computation; -28 on 1.88.0 leaves it only
83
+ between the mask swap and the wait inside `pselect`/`ppoll`, and
84
+ `slicc.sigmask_poll` (1.89.0) narrows it further. slicc-kernel 1.91.0 fixes
85
+ it: such a wait returns EINTR at once.
86
+
44
87
  Since 2025.9.30-27 setting file times works for every form (homescoop#294).
45
88
  Up to -26, `utimensat(…, NULL)`, `futimens(fd, NULL)`, `utimes(p, NULL)` and
46
89
  `utime(p, NULL)`, which mean "now", set the times to 0 (1970) in static
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ai-ecoverse/wasix-sysroot",
3
- "version": "2025.9.30-27",
4
- "description": "WASIX sysroots: st_uid/st_gid, chown and access() through slicc-kernel file owners (getuid()/getgid() on older kernels), file modes via slicc_fs, F_SETFD CLOEXEC fix, select exceptfds, physical chdir, POSIX TZ, socketpair flags, sigaction_set, alarm/setitimer/getitimer, EINTR sleeps, raise/pthread_kill, process credentials from slicc-kernel (no fixed uid 1000), per-fd termios/winsize from slicc-kernel (Linux and WASIX ioctl numbers), fork in the PIC variants, wasip1, clang24 exnref",
3
+ "version": "2025.9.30-29",
4
+ "description": "WASIX sysroots: st_uid/st_gid, chown and access() through slicc-kernel file owners (getuid()/getgid() on older kernels), file modes via slicc_fs, F_SETFD CLOEXEC fix, select exceptfds, physical chdir, POSIX TZ, socketpair flags, sigaction_set, alarm/setitimer/getitimer, EINTR sleeps, raise/pthread_kill, process credentials from slicc-kernel (no fixed uid 1000), per-fd termios/winsize from slicc-kernel (Linux and WASIX ioctl numbers), fork in the PIC variants, signal masks, poll/ppoll with events 0, epoll_ctl with Linux op numbers, wasip1, clang24 exnref",
5
5
  "license": "Apache-2.0 WITH LLVM-exception",
6
6
  "repository": {
7
7
  "type": "git",
Binary file
Binary file
Binary file
Binary file