@ai-ecoverse/wasix-sysroot 2025.9.30-36 → 2025.9.30-38
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 +7 -0
- package/package.json +2 -2
- package/sysroot/include/__mode_t.h +9 -9
- 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/lib/wasm32-wasip1/libc.a +0 -0
- package/sysroot-eh/include/__mode_t.h +9 -9
- 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-eh/lib/wasm32-wasip1/libc.a +0 -0
- package/sysroot-ehpic/include/__mode_t.h +9 -9
- 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-ehpic/lib/wasm32-wasip1/libc.a +0 -0
- package/sysroot-exnref-eh/include/__mode_t.h +9 -9
- 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-eh/lib/wasm32-wasip1/libc.a +0 -0
- package/sysroot-exnref-ehpic/include/__mode_t.h +9 -9
- 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/sysroot-exnref-ehpic/lib/wasm32-wasip1/libc.a +0 -0
package/README.md
CHANGED
|
@@ -41,6 +41,13 @@ 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-38: `poll(POLLIN)` on an empty pipe read end whose writers are gone gives `POLLHUP` alone, as on Linux, on slicc-kernel ≥ 1.125.0 (homescoop#1133). A socket at EOF still gives `POLLIN`.
|
|
45
|
+
|
|
46
|
+
Since 2025.9.30-37:
|
|
47
|
+
- **`S_IF*` file-type bits are Linux's:** `S_IFMT` 0170000, `S_IFIFO` 0010000, `S_IFSOCK` 0140000. wasi-libc had 0160000, 0140000 and 0160000 (homescoop#1015).
|
|
48
|
+
- **Compatibility:** programs and side modules built on -36 or older keep the old values until they're rebuilt. Rebuild everything that compares `st_mode` together.
|
|
49
|
+
- **Device nodes:** `/dev/null`, `/dev/zero` and the kernel's other device nodes `stat` as 0666, not as type bits alone (homescoop#1112).
|
|
50
|
+
|
|
44
51
|
Since 2025.9.30-36:
|
|
45
52
|
- **A ready fd wins over a pending signal:** `ppoll`, `pselect` and `epoll_pwait` with an fd ready return it and leave a signal pending that their mask would unblock, as on Linux. Up to -35 they returned EINTR (homescoop#949).
|
|
46
53
|
- **`gethostname()`/`uname()`** give the kernel's node name (`HOSTNAME`, `slicc` by default), not `wasmer.sh` (homescoop#1050).
|
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, 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, flock, mkfifo, sa_mask, wasip1; libc++/libc++abi/libunwind from LLVM 20.1 (legacy EH in sysroot-eh/ehpic, exnref in sysroot-exnref-*)",
|
|
3
|
+
"version": "2025.9.30-38",
|
|
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, flock, mkfifo, sa_mask, Linux S_IF* bits, wasip1; libc++/libc++abi/libunwind from LLVM 20.1 (legacy EH in sysroot-eh/ehpic, exnref in sysroot-exnref-*)",
|
|
5
5
|
"license": "Apache-2.0 WITH LLVM-exception",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
#ifndef __wasilibc___mode_t_h
|
|
2
2
|
#define __wasilibc___mode_t_h
|
|
3
3
|
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
#define S_IFBLK (
|
|
7
|
-
#define S_IFCHR (
|
|
8
|
-
#define S_IFDIR (
|
|
9
|
-
#define S_IFLNK (
|
|
10
|
-
#define S_IFREG (
|
|
11
|
-
#define S_IFSOCK (
|
|
12
|
-
#define S_IFIFO (
|
|
4
|
+
/* homescoop (wasix-sysroot -37): Linux's values (musl's sys/stat.h). */
|
|
5
|
+
#define S_IFMT (0170000)
|
|
6
|
+
#define S_IFBLK (0060000)
|
|
7
|
+
#define S_IFCHR (0020000)
|
|
8
|
+
#define S_IFDIR (0040000)
|
|
9
|
+
#define S_IFLNK (0120000)
|
|
10
|
+
#define S_IFREG (0100000)
|
|
11
|
+
#define S_IFSOCK (0140000)
|
|
12
|
+
#define S_IFIFO (0010000)
|
|
13
13
|
|
|
14
14
|
#define S_ISBLK(m) (((m)&S_IFMT) == S_IFBLK)
|
|
15
15
|
#define S_ISCHR(m) (((m)&S_IFMT) == S_IFCHR)
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
#ifndef __wasilibc___mode_t_h
|
|
2
2
|
#define __wasilibc___mode_t_h
|
|
3
3
|
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
#define S_IFBLK (
|
|
7
|
-
#define S_IFCHR (
|
|
8
|
-
#define S_IFDIR (
|
|
9
|
-
#define S_IFLNK (
|
|
10
|
-
#define S_IFREG (
|
|
11
|
-
#define S_IFSOCK (
|
|
12
|
-
#define S_IFIFO (
|
|
4
|
+
/* homescoop (wasix-sysroot -37): Linux's values (musl's sys/stat.h). */
|
|
5
|
+
#define S_IFMT (0170000)
|
|
6
|
+
#define S_IFBLK (0060000)
|
|
7
|
+
#define S_IFCHR (0020000)
|
|
8
|
+
#define S_IFDIR (0040000)
|
|
9
|
+
#define S_IFLNK (0120000)
|
|
10
|
+
#define S_IFREG (0100000)
|
|
11
|
+
#define S_IFSOCK (0140000)
|
|
12
|
+
#define S_IFIFO (0010000)
|
|
13
13
|
|
|
14
14
|
#define S_ISBLK(m) (((m)&S_IFMT) == S_IFBLK)
|
|
15
15
|
#define S_ISCHR(m) (((m)&S_IFMT) == S_IFCHR)
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
#ifndef __wasilibc___mode_t_h
|
|
2
2
|
#define __wasilibc___mode_t_h
|
|
3
3
|
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
#define S_IFBLK (
|
|
7
|
-
#define S_IFCHR (
|
|
8
|
-
#define S_IFDIR (
|
|
9
|
-
#define S_IFLNK (
|
|
10
|
-
#define S_IFREG (
|
|
11
|
-
#define S_IFSOCK (
|
|
12
|
-
#define S_IFIFO (
|
|
4
|
+
/* homescoop (wasix-sysroot -37): Linux's values (musl's sys/stat.h). */
|
|
5
|
+
#define S_IFMT (0170000)
|
|
6
|
+
#define S_IFBLK (0060000)
|
|
7
|
+
#define S_IFCHR (0020000)
|
|
8
|
+
#define S_IFDIR (0040000)
|
|
9
|
+
#define S_IFLNK (0120000)
|
|
10
|
+
#define S_IFREG (0100000)
|
|
11
|
+
#define S_IFSOCK (0140000)
|
|
12
|
+
#define S_IFIFO (0010000)
|
|
13
13
|
|
|
14
14
|
#define S_ISBLK(m) (((m)&S_IFMT) == S_IFBLK)
|
|
15
15
|
#define S_ISCHR(m) (((m)&S_IFMT) == S_IFCHR)
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
#ifndef __wasilibc___mode_t_h
|
|
2
2
|
#define __wasilibc___mode_t_h
|
|
3
3
|
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
#define S_IFBLK (
|
|
7
|
-
#define S_IFCHR (
|
|
8
|
-
#define S_IFDIR (
|
|
9
|
-
#define S_IFLNK (
|
|
10
|
-
#define S_IFREG (
|
|
11
|
-
#define S_IFSOCK (
|
|
12
|
-
#define S_IFIFO (
|
|
4
|
+
/* homescoop (wasix-sysroot -37): Linux's values (musl's sys/stat.h). */
|
|
5
|
+
#define S_IFMT (0170000)
|
|
6
|
+
#define S_IFBLK (0060000)
|
|
7
|
+
#define S_IFCHR (0020000)
|
|
8
|
+
#define S_IFDIR (0040000)
|
|
9
|
+
#define S_IFLNK (0120000)
|
|
10
|
+
#define S_IFREG (0100000)
|
|
11
|
+
#define S_IFSOCK (0140000)
|
|
12
|
+
#define S_IFIFO (0010000)
|
|
13
13
|
|
|
14
14
|
#define S_ISBLK(m) (((m)&S_IFMT) == S_IFBLK)
|
|
15
15
|
#define S_ISCHR(m) (((m)&S_IFMT) == S_IFCHR)
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
#ifndef __wasilibc___mode_t_h
|
|
2
2
|
#define __wasilibc___mode_t_h
|
|
3
3
|
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
#define S_IFBLK (
|
|
7
|
-
#define S_IFCHR (
|
|
8
|
-
#define S_IFDIR (
|
|
9
|
-
#define S_IFLNK (
|
|
10
|
-
#define S_IFREG (
|
|
11
|
-
#define S_IFSOCK (
|
|
12
|
-
#define S_IFIFO (
|
|
4
|
+
/* homescoop (wasix-sysroot -37): Linux's values (musl's sys/stat.h). */
|
|
5
|
+
#define S_IFMT (0170000)
|
|
6
|
+
#define S_IFBLK (0060000)
|
|
7
|
+
#define S_IFCHR (0020000)
|
|
8
|
+
#define S_IFDIR (0040000)
|
|
9
|
+
#define S_IFLNK (0120000)
|
|
10
|
+
#define S_IFREG (0100000)
|
|
11
|
+
#define S_IFSOCK (0140000)
|
|
12
|
+
#define S_IFIFO (0010000)
|
|
13
13
|
|
|
14
14
|
#define S_ISBLK(m) (((m)&S_IFMT) == S_IFBLK)
|
|
15
15
|
#define S_ISCHR(m) (((m)&S_IFMT) == S_IFCHR)
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|