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

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.
Files changed (27) hide show
  1. package/README.md +22 -1
  2. package/package.json +1 -1
  3. package/sysroot/lib/wasm32-wasip1/crt1-command.o +0 -0
  4. package/sysroot/lib/wasm32-wasip1/crt1-reactor.o +0 -0
  5. package/sysroot/lib/wasm32-wasip1/crt1.o +0 -0
  6. package/sysroot/lib/wasm32-wasip1/libc.a +0 -0
  7. package/sysroot/lib/wasm32-wasip1/libwasi-emulated-process-clocks.a +0 -0
  8. package/sysroot-eh/lib/wasm32-wasip1/crt1-command.o +0 -0
  9. package/sysroot-eh/lib/wasm32-wasip1/crt1-reactor.o +0 -0
  10. package/sysroot-eh/lib/wasm32-wasip1/crt1.o +0 -0
  11. package/sysroot-eh/lib/wasm32-wasip1/libc.a +0 -0
  12. package/sysroot-eh/lib/wasm32-wasip1/libwasi-emulated-process-clocks.a +0 -0
  13. package/sysroot-ehpic/lib/wasm32-wasip1/crt1-command.o +0 -0
  14. package/sysroot-ehpic/lib/wasm32-wasip1/crt1-reactor.o +0 -0
  15. package/sysroot-ehpic/lib/wasm32-wasip1/crt1.o +0 -0
  16. package/sysroot-ehpic/lib/wasm32-wasip1/libc.a +0 -0
  17. package/sysroot-ehpic/lib/wasm32-wasip1/libwasi-emulated-process-clocks.a +0 -0
  18. package/sysroot-exnref-eh/lib/wasm32-wasip1/crt1-command.o +0 -0
  19. package/sysroot-exnref-eh/lib/wasm32-wasip1/crt1-reactor.o +0 -0
  20. package/sysroot-exnref-eh/lib/wasm32-wasip1/crt1.o +0 -0
  21. package/sysroot-exnref-eh/lib/wasm32-wasip1/libc.a +0 -0
  22. package/sysroot-exnref-eh/lib/wasm32-wasip1/libwasi-emulated-process-clocks.a +0 -0
  23. package/sysroot-exnref-ehpic/lib/wasm32-wasip1/crt1-command.o +0 -0
  24. package/sysroot-exnref-ehpic/lib/wasm32-wasip1/crt1-reactor.o +0 -0
  25. package/sysroot-exnref-ehpic/lib/wasm32-wasip1/crt1.o +0 -0
  26. package/sysroot-exnref-ehpic/lib/wasm32-wasip1/libc.a +0 -0
  27. package/sysroot-exnref-ehpic/lib/wasm32-wasip1/libwasi-emulated-process-clocks.a +0 -0
package/README.md CHANGED
@@ -41,12 +41,33 @@ 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-27 setting file times works for every form (homescoop#294).
45
+ Up to -26, `utimensat(…, NULL)`, `futimens(fd, NULL)`, `utimes(p, NULL)` and
46
+ `utime(p, NULL)`, which mean "now", set the times to 0 (1970) in static
47
+ builds, and returned -1 without errno in PIC ones. `UTIME_NOW`/`UTIME_OMIT` in
48
+ the second timespec returned -1 without errno too. Python's `os.utime(p)` and
49
+ `pathlib.Path.touch()`, Perl's `utime undef, undef` and Ruby's
50
+ `FileUtils.touch` are affected. `clock()`, `times()` and `getrusage()` now
51
+ report the process CPU time slicc-kernel keeps (`CLOCK_PROCESS_CPUTIME_ID`):
52
+ `clock()` in `CLOCKS_PER_SEC` units, `times()` in clock ticks (100 a second)
53
+ with the elapsed real time as its value, and `tms_stime`, `tms_cutime`,
54
+ `tms_cstime`, `ru_stime` and `RUSAGE_CHILDREN` 0, since the kernel has no
55
+ system or children's times yet. Up to -26 they mixed in the wall clock.
56
+
57
+ Since 2025.9.30-26 an empty path is ENOENT, as POSIX and Linux have it:
58
+ `open("")`, `stat("")`, `access("")`, `mkdir("")`, `chmod("")`, `symlink("", x)`
59
+ and every other call that takes a path used to act on the current directory
60
+ (libc made `""` relative to the cwd). With slicc-kernel ≥ 1.71.1 the
61
+ `*at(dirfd, "")` forms are ENOENT too (slicc-kernel#404).
62
+ `fstatat(fd, "", st, AT_EMPTY_PATH)` (0x1000) is `fstat(fd)`.
63
+
44
64
  Since 2025.9.30-25 `access`, `faccessat`, `eaccess` and `euidaccess` ask
45
65
  slicc-kernel (`slicc_fs.path_access`, slicc-kernel >= 1.63.0, K3(b)), which
46
66
  checks the file's owner, group and mode against the real ids (`access`) or the
47
67
  effective ids (`AT_EACCESS`, `eaccess`), as Linux does, including search
48
68
  permission on every directory of the path and root needing an x bit for
49
- `X_OK`. With users `'off'` or `'report'` it only checks that the path exists.
69
+ `X_OK`. With users `'off'` or `'report'` it checks that the path exists, and
70
+ `X_OK` on a device is EACCES whenever owners are on (`'report'` too).
50
71
  On an older kernel the -24 check stays (the path exists; WASI rights).
51
72
  - `AT_EACCESS` is now 0x200 (it was 0, so `faccessat(…, AT_EACCESS)` was
52
73
  `access`); `faccessat` also takes `AT_SYMLINK_NOFOLLOW`, which was EINVAL.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-ecoverse/wasix-sysroot",
3
- "version": "2025.9.30-25",
3
+ "version": "2025.9.30-27",
4
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",
5
5
  "license": "Apache-2.0 WITH LLVM-exception",
6
6
  "repository": {
Binary file
Binary file
Binary file
Binary file