@ai-ecoverse/wasix-sysroot 2025.9.30-23 → 2025.9.30-24
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 +17 -2
- package/package.json +2 -2
- package/sysroot/lib/wasm32-wasip1/crt1-command.o +0 -0
- package/sysroot/lib/wasm32-wasip1/crt1-reactor.o +0 -0
- package/sysroot/lib/wasm32-wasip1/crt1.o +0 -0
- package/sysroot/lib/wasm32-wasip1/libc.a +0 -0
- package/sysroot-eh/lib/wasm32-wasip1/crt1-command.o +0 -0
- package/sysroot-eh/lib/wasm32-wasip1/crt1-reactor.o +0 -0
- package/sysroot-eh/lib/wasm32-wasip1/crt1.o +0 -0
- package/sysroot-eh/lib/wasm32-wasip1/libc.a +0 -0
- package/sysroot-ehpic/lib/wasm32-wasip1/crt1-command.o +0 -0
- package/sysroot-ehpic/lib/wasm32-wasip1/crt1-reactor.o +0 -0
- package/sysroot-ehpic/lib/wasm32-wasip1/crt1.o +0 -0
- package/sysroot-ehpic/lib/wasm32-wasip1/libc.a +0 -0
- package/sysroot-exnref-eh/lib/wasm32-wasip1/crt1-command.o +0 -0
- package/sysroot-exnref-eh/lib/wasm32-wasip1/crt1-reactor.o +0 -0
- package/sysroot-exnref-eh/lib/wasm32-wasip1/crt1.o +0 -0
- package/sysroot-exnref-eh/lib/wasm32-wasip1/libc.a +0 -0
- package/sysroot-exnref-ehpic/lib/wasm32-wasip1/crt1-command.o +0 -0
- package/sysroot-exnref-ehpic/lib/wasm32-wasip1/crt1-reactor.o +0 -0
- package/sysroot-exnref-ehpic/lib/wasm32-wasip1/crt1.o +0 -0
- package/sysroot-exnref-ehpic/lib/wasm32-wasip1/libc.a +0 -0
package/README.md
CHANGED
|
@@ -10,8 +10,8 @@ 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
12
|
EH `libc.a` archives get real `fork`/`_Fork` (static trees since -14, PIC trees since -23).
|
|
13
|
-
|
|
14
|
-
|
|
13
|
+
`stat`/`lstat`/`fstat`/`fstatat` report the file's owner from slicc-kernel
|
|
14
|
+
(since -24), else the caller's `getuid()`/`getgid()`.
|
|
15
15
|
`chmod`/`fchmod`/`fchmodat`/`umask` and the modes of fresh `open(O_CREAT)` /
|
|
16
16
|
`mkdir` go to the kernel's `slicc_fs` imports, and `stat`/`fstat`/`lstat`
|
|
17
17
|
read the permission bits back from them (slicc-kernel ≥
|
|
@@ -41,6 +41,21 @@ 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-24 files have real owners when slicc-kernel keeps them
|
|
45
|
+
(`createKernel({ users: 'report' | 'enforce' })`, slicc-kernel K3):
|
|
46
|
+
- `chown`/`lchown`/`fchown`/`fchownat` go to the kernel (`slicc_fs.path_chown`/
|
|
47
|
+
`fd_chown`), which applies Linux's rules: root may set anything, an owner may
|
|
48
|
+
only change the group to one of its own, -1 keeps an id, EPERM otherwise;
|
|
49
|
+
- `stat`/`lstat`/`fstat` report the stored owner (`slicc_fs.path_owner`/
|
|
50
|
+
`fd_owner`) instead of the caller's own ids;
|
|
51
|
+
- with users `'off'` the chown calls still check the path or fd (ENOENT,
|
|
52
|
+
EBADF) but change nothing, and `stat` shows the caller's ids, as before;
|
|
53
|
+
- on a kernel without these imports everything stays as in -23: chown to
|
|
54
|
+
anything but 0/-1 is ENOSYS, and `stat` shows `getuid()`/`getgid()`.
|
|
55
|
+
|
|
56
|
+
`linkat(AT_FDCWD, old, AT_FDCWD, new, …)` (and with two absolute paths) links
|
|
57
|
+
`old` again; up to -23 it passed `new` as both paths and failed with ENOENT.
|
|
58
|
+
|
|
44
59
|
Since 2025.9.30-23 `ioctl` also takes Linux's request numbers for the
|
|
45
60
|
window size, `TIOCGWINSZ` 0x5413 and `TIOCSWINSZ` 0x5414, next to WASIX's
|
|
46
61
|
0x101/0x102 (the headers keep those): code and ctypes snippets that hard-code
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ai-ecoverse/wasix-sysroot",
|
|
3
|
-
"version": "2025.9.30-
|
|
4
|
-
"description": "WASIX sysroots: st_uid/st_gid
|
|
3
|
+
"version": "2025.9.30-24",
|
|
4
|
+
"description": "WASIX sysroots: st_uid/st_gid and chown 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": {
|
|
7
7
|
"type": "git",
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|