@ai-ecoverse/wasix-sysroot 2025.9.30-22 → 2025.9.30-23

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/README.md CHANGED
@@ -9,7 +9,7 @@ WASIX libc/libcxx/compiler-rt sysroots, laid out as a wasixcc `SYSROOT_PREFIX`:
9
9
  Each tree has a real `lib/wasm32-wasip1` (not a symlink — npm/ipk skip
10
10
  links). clang 24 `--target=wasm32-wasip1` resolves crt/libc there.
11
11
  `unistd.h` declares `fork` under `__wasix__` even with `-fwasm-exceptions`.
12
- EH `libc.a` archives get real `fork`/`_Fork` from asyncify (static trees).
12
+ EH `libc.a` archives get real `fork`/`_Fork` (static trees since -14, PIC trees since -23).
13
13
  Every libc embeds SLICC identity stubs (getuid=1000) and reports
14
14
  `st_uid`/`st_gid` 1000 from `stat`/`lstat`/`fstat`/`fstatat`.
15
15
  `chmod`/`fchmod`/`fchmodat`/`umask` and the modes of fresh `open(O_CREAT)` /
@@ -41,6 +41,16 @@ 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-23 `ioctl` also takes Linux's request numbers for the
45
+ window size, `TIOCGWINSZ` 0x5413 and `TIOCSWINSZ` 0x5414, next to WASIX's
46
+ 0x101/0x102 (the headers keep those): code and ctypes snippets that hard-code
47
+ the Linux numbers got EINVAL before (homescoop#250).
48
+ `sysroot-ehpic` and `sysroot-exnref-ehpic` now have `fork`/`_Fork` like the
49
+ static trees (homescoop#253). As there, a program must be asyncified
50
+ (`wasm-opt --asyncify --pass-arg=asyncify-imports@wasix_32v1.proc_fork`) for
51
+ `fork()` to work, or it returns ENOSYS. A child forked after a `dlopen` cannot
52
+ call into the side module yet (slicc-kernel#337).
53
+
44
54
  Since 2025.9.30-22 every program linked against the sysroot carries a wasm
45
55
  custom section `slicc.libc` = `wasix-sysroot <version>` (from `crt1*.o`), so
46
56
  slicc-kernel can tell libc generations apart (`wasm-opt` and `llvm-strip` keep
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ai-ecoverse/wasix-sysroot",
3
- "version": "2025.9.30-22",
4
- "description": "WASIX sysroots: st_uid/st_gid = getuid()/getgid(), 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, wasip1, clang24 exnref",
3
+ "version": "2025.9.30-23",
4
+ "description": "WASIX sysroots: st_uid/st_gid = getuid()/getgid(), 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",
5
5
  "license": "Apache-2.0 WITH LLVM-exception",
6
6
  "repository": {
7
7
  "type": "git",
Binary file
Binary file
Binary file
Binary file