@ai-ecoverse/wasix-sysroot 2025.9.30-33 → 2025.9.30-35
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 +11 -1
- package/package.json +1 -1
- package/sysroot/include/sys/stat.h +0 -6
- 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/include/sys/stat.h +0 -6
- 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/include/sys/stat.h +0 -6
- 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/include/sys/stat.h +0 -6
- 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/include/sys/stat.h +0 -6
- 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
|
@@ -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-35: **`sa_mask` and `SA_NODEFER` work** (slicc-kernel#975). While a handler runs, its `sa_mask` and, unless `SA_NODEFER`, its own signal are blocked, and the thread's mask comes back when it returns. libc swaps the mask through `slicc.sigmask_set` (slicc-kernel ≥ 1.93.0). Up to -34 handlers ran with the mask unchanged.
|
|
45
|
+
|
|
46
|
+
Since 2025.9.30-34 (slicc-kernel ≥ 1.120.0 for all of it; older kernels keep -33's behaviour):
|
|
47
|
+
|
|
48
|
+
- **The sender in `siginfo_t`.** `sigwaitinfo`/`sigtimedwait` fill `si_code`, `si_pid` and `si_uid` (and `si_status` for SIGCHLD) through `slicc.sigwait_info` (slicc-kernel#911, 1.114.0, homescoop#770). A `kill()` is SI_USER with the sender's pid and uid, `pthread_kill` SI_TKILL, a child's exit CLD_EXITED with its status. Up to -33 it was always SI_USER with pid and uid 0.
|
|
49
|
+
- **`SA_SIGINFO` handlers run**, with a `siginfo_t` carrying the sender (`slicc.siginfo_take`). Up to -33 they never ran: the libc called them with the wrong wasm type.
|
|
50
|
+
- **`flock()`** is in libc, through `slicc.flock` (slicc-kernel#893, 1.117.0). It has Linux's semantics: locks per open file description on files, directories, pipes, sockets and terminals, and `LOCK_EX` works on a read-only descriptor. A handled signal ends a wait with EINTR, and `SA_RESTART` resumes it (1.117.3). On an older kernel it's a whole-file `fcntl` lock. Before, `<sys/file.h>` declared it but nothing defined it, so programs (perl, ruby) fell back to their own emulation.
|
|
51
|
+
- **`poll`:** a pipe write end without readers gives `POLLOUT|POLLERR`, as on Linux, not `POLLHUP` (homescoop#629).
|
|
52
|
+
- **`mkfifo`, `mkfifoat`, `mknod(S_IFIFO)`** make real FIFOs through `slicc_fs.path_mkfifo` (slicc-kernel#957, **1.120.0**, homescoop#878). On older kernels they are ENOSYS. Up to -33 libc had none of them.
|
|
53
|
+
|
|
44
54
|
Since 2025.9.30-33 the package is **built from source in CI** (homescoop#890). Up to -32 it was npm -14, a local build, with our libc changes patched in.
|
|
45
55
|
- **Inputs:** wasix-libc v2026-07-03.1, built per variant by its own `build32-general.sh` (libc, compiler-rt, and libc++/libc++abi/libunwind from llvm-project 6bb93a24), and wasix-org's LLVM 21.1.206. All are public and sha256-pinned.
|
|
46
56
|
- **libc:** our libc changes are layered on top as before. Every exported libc symbol and `libc.imports` is the same as -32's.
|
|
@@ -93,7 +103,7 @@ libc, and `fcntl` hands the three lock commands to slicc-kernel
|
|
|
93
103
|
Linux does: not inherited by `fork`, kept across `exec`, dropped when any
|
|
94
104
|
descriptor of the file closes. On a kernel without the import every lock is
|
|
95
105
|
granted locally and `F_GETLK` reports `F_UNLCK`, as programs' own stubs did.
|
|
96
|
-
Up to -29 WASIX defined none of these. `flock` is
|
|
106
|
+
Up to -29 WASIX defined none of these. `flock` is in libc since -34 (above).
|
|
97
107
|
|
|
98
108
|
Since 2025.9.30-29 `poll` and `ppoll` take a `pollfd` that asks for neither
|
|
99
109
|
reading nor writing (`events` 0, as OpenSSH's client loop passes for idle
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ai-ecoverse/wasix-sysroot",
|
|
3
|
-
"version": "2025.9.30-
|
|
3
|
+
"version": "2025.9.30-35",
|
|
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, signal masks, poll/ppoll with events 0, epoll_ctl with Linux op numbers, named semaphores through slicc-kernel, wasip1, clang24 exnref",
|
|
5
5
|
"license": "Apache-2.0 WITH LLVM-exception",
|
|
6
6
|
"repository": {
|
|
@@ -83,20 +83,14 @@ int fchmod(int, mode_t);
|
|
|
83
83
|
int fchmodat(int, const char *, mode_t, int);
|
|
84
84
|
mode_t umask(mode_t);
|
|
85
85
|
int mkdir(const char *, mode_t);
|
|
86
|
-
#ifdef __wasilibc_unmodified_upstream /* WASI has no fifo */
|
|
87
86
|
int mkfifo(const char *, mode_t);
|
|
88
|
-
#endif
|
|
89
87
|
int mkdirat(int, const char *, mode_t);
|
|
90
|
-
#ifdef __wasilibc_unmodified_upstream /* WASI has no fifo */
|
|
91
88
|
int mkfifoat(int, const char *, mode_t);
|
|
92
|
-
#endif
|
|
93
89
|
|
|
94
|
-
#ifdef __wasilibc_unmodified_upstream /* WASI has no mknod */
|
|
95
90
|
#if defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
|
|
96
91
|
int mknod(const char *, mode_t, dev_t);
|
|
97
92
|
int mknodat(int, const char *, mode_t, dev_t);
|
|
98
93
|
#endif
|
|
99
|
-
#endif
|
|
100
94
|
|
|
101
95
|
int futimens(int, const struct timespec [2]);
|
|
102
96
|
int utimensat(int, const char *, const struct timespec [2], int);
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -83,20 +83,14 @@ int fchmod(int, mode_t);
|
|
|
83
83
|
int fchmodat(int, const char *, mode_t, int);
|
|
84
84
|
mode_t umask(mode_t);
|
|
85
85
|
int mkdir(const char *, mode_t);
|
|
86
|
-
#ifdef __wasilibc_unmodified_upstream /* WASI has no fifo */
|
|
87
86
|
int mkfifo(const char *, mode_t);
|
|
88
|
-
#endif
|
|
89
87
|
int mkdirat(int, const char *, mode_t);
|
|
90
|
-
#ifdef __wasilibc_unmodified_upstream /* WASI has no fifo */
|
|
91
88
|
int mkfifoat(int, const char *, mode_t);
|
|
92
|
-
#endif
|
|
93
89
|
|
|
94
|
-
#ifdef __wasilibc_unmodified_upstream /* WASI has no mknod */
|
|
95
90
|
#if defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
|
|
96
91
|
int mknod(const char *, mode_t, dev_t);
|
|
97
92
|
int mknodat(int, const char *, mode_t, dev_t);
|
|
98
93
|
#endif
|
|
99
|
-
#endif
|
|
100
94
|
|
|
101
95
|
int futimens(int, const struct timespec [2]);
|
|
102
96
|
int utimensat(int, const char *, const struct timespec [2], int);
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -83,20 +83,14 @@ int fchmod(int, mode_t);
|
|
|
83
83
|
int fchmodat(int, const char *, mode_t, int);
|
|
84
84
|
mode_t umask(mode_t);
|
|
85
85
|
int mkdir(const char *, mode_t);
|
|
86
|
-
#ifdef __wasilibc_unmodified_upstream /* WASI has no fifo */
|
|
87
86
|
int mkfifo(const char *, mode_t);
|
|
88
|
-
#endif
|
|
89
87
|
int mkdirat(int, const char *, mode_t);
|
|
90
|
-
#ifdef __wasilibc_unmodified_upstream /* WASI has no fifo */
|
|
91
88
|
int mkfifoat(int, const char *, mode_t);
|
|
92
|
-
#endif
|
|
93
89
|
|
|
94
|
-
#ifdef __wasilibc_unmodified_upstream /* WASI has no mknod */
|
|
95
90
|
#if defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
|
|
96
91
|
int mknod(const char *, mode_t, dev_t);
|
|
97
92
|
int mknodat(int, const char *, mode_t, dev_t);
|
|
98
93
|
#endif
|
|
99
|
-
#endif
|
|
100
94
|
|
|
101
95
|
int futimens(int, const struct timespec [2]);
|
|
102
96
|
int utimensat(int, const char *, const struct timespec [2], int);
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -83,20 +83,14 @@ int fchmod(int, mode_t);
|
|
|
83
83
|
int fchmodat(int, const char *, mode_t, int);
|
|
84
84
|
mode_t umask(mode_t);
|
|
85
85
|
int mkdir(const char *, mode_t);
|
|
86
|
-
#ifdef __wasilibc_unmodified_upstream /* WASI has no fifo */
|
|
87
86
|
int mkfifo(const char *, mode_t);
|
|
88
|
-
#endif
|
|
89
87
|
int mkdirat(int, const char *, mode_t);
|
|
90
|
-
#ifdef __wasilibc_unmodified_upstream /* WASI has no fifo */
|
|
91
88
|
int mkfifoat(int, const char *, mode_t);
|
|
92
|
-
#endif
|
|
93
89
|
|
|
94
|
-
#ifdef __wasilibc_unmodified_upstream /* WASI has no mknod */
|
|
95
90
|
#if defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
|
|
96
91
|
int mknod(const char *, mode_t, dev_t);
|
|
97
92
|
int mknodat(int, const char *, mode_t, dev_t);
|
|
98
93
|
#endif
|
|
99
|
-
#endif
|
|
100
94
|
|
|
101
95
|
int futimens(int, const struct timespec [2]);
|
|
102
96
|
int utimensat(int, const char *, const struct timespec [2], int);
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -83,20 +83,14 @@ int fchmod(int, mode_t);
|
|
|
83
83
|
int fchmodat(int, const char *, mode_t, int);
|
|
84
84
|
mode_t umask(mode_t);
|
|
85
85
|
int mkdir(const char *, mode_t);
|
|
86
|
-
#ifdef __wasilibc_unmodified_upstream /* WASI has no fifo */
|
|
87
86
|
int mkfifo(const char *, mode_t);
|
|
88
|
-
#endif
|
|
89
87
|
int mkdirat(int, const char *, mode_t);
|
|
90
|
-
#ifdef __wasilibc_unmodified_upstream /* WASI has no fifo */
|
|
91
88
|
int mkfifoat(int, const char *, mode_t);
|
|
92
|
-
#endif
|
|
93
89
|
|
|
94
|
-
#ifdef __wasilibc_unmodified_upstream /* WASI has no mknod */
|
|
95
90
|
#if defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
|
|
96
91
|
int mknod(const char *, mode_t, dev_t);
|
|
97
92
|
int mknodat(int, const char *, mode_t, dev_t);
|
|
98
93
|
#endif
|
|
99
|
-
#endif
|
|
100
94
|
|
|
101
95
|
int futimens(int, const struct timespec [2]);
|
|
102
96
|
int utimensat(int, const char *, const struct timespec [2], int);
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|