@ai-ecoverse/wasix-sysroot 2025.9.30-19 → 2025.9.30-20
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 +6 -0
- package/package.json +2 -1
- package/sysroot/include/unistd.h +3 -9
- package/sysroot/lib/wasm32-wasip1/libc.a +0 -0
- package/sysroot-eh/include/unistd.h +3 -9
- package/sysroot-eh/lib/wasm32-wasip1/libc.a +0 -0
- package/sysroot-ehpic/include/unistd.h +3 -9
- package/sysroot-ehpic/lib/wasm32-wasip1/libc.a +0 -0
- package/sysroot-exnref-eh/include/unistd.h +3 -9
- package/sysroot-exnref-eh/lib/wasm32-wasip1/libc.a +0 -0
- package/sysroot-exnref-ehpic/include/unistd.h +3 -9
- package/sysroot-exnref-ehpic/lib/wasm32-wasip1/libc.a +0 -0
package/README.md
CHANGED
|
@@ -41,4 +41,10 @@ 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-20 user and group ids come from slicc-kernel's process
|
|
45
|
+
credentials (`slicc.cred_get`/`cred_set`/`groups_get`/`groups_set`; slicc-kernel
|
|
46
|
+
≥ 1.44.0, which has users), and `getpw*`/`getgr*` read its `/etc/passwd` and `/etc/group`.
|
|
47
|
+
There is no fallback to uid 1000: on an older kernel `getuid()` returns -1,
|
|
48
|
+
the set\*id calls fail with ENOSYS, and user lookups find nothing.
|
|
49
|
+
|
|
44
50
|
Data only — no commands. Set `WASIXCC_SYSROOT_PREFIX` to this package directory.
|
package/package.json
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ai-ecoverse/wasix-sysroot",
|
|
3
3
|
"version": "2025.9.30-19",
|
|
4
|
-
"description": "WASIX sysroots: st_uid/st_gid=
|
|
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), wasip1, clang24 exnref",
|
|
5
|
+
"version": "2025.9.30-20",
|
|
5
6
|
"license": "Apache-2.0 WITH LLVM-exception",
|
|
6
7
|
"repository": {
|
|
7
8
|
"type": "git",
|
package/sysroot/include/unistd.h
CHANGED
|
@@ -163,9 +163,7 @@ int isatty(int);
|
|
|
163
163
|
pid_t tcgetpgrp(int);
|
|
164
164
|
int tcsetpgrp(int, pid_t);
|
|
165
165
|
|
|
166
|
-
|
|
167
|
-
int getgroups(int, gid_t []);
|
|
168
|
-
#endif
|
|
166
|
+
int getgroups(int, gid_t []); /* homescoop wasix-sysroot -20 */
|
|
169
167
|
|
|
170
168
|
uid_t getuid(void);
|
|
171
169
|
uid_t geteuid(void);
|
|
@@ -195,10 +193,8 @@ size_t confstr(int, char *, size_t);
|
|
|
195
193
|
#define F_LOCK 1
|
|
196
194
|
#define F_TLOCK 2
|
|
197
195
|
#define F_TEST 3
|
|
198
|
-
|
|
199
|
-
int setreuid(uid_t, uid_t);
|
|
196
|
+
int setreuid(uid_t, uid_t); /* homescoop wasix-sysroot -20 */
|
|
200
197
|
int setregid(gid_t, gid_t);
|
|
201
|
-
#endif
|
|
202
198
|
#ifdef __wasilibc_unmodified_upstream /* WASI has no POSIX file locking */
|
|
203
199
|
int lockf(int, int, off_t);
|
|
204
200
|
#endif
|
|
@@ -270,12 +266,10 @@ int getpagesize(void);
|
|
|
270
266
|
|
|
271
267
|
#ifdef _GNU_SOURCE
|
|
272
268
|
extern char **environ;
|
|
273
|
-
|
|
274
|
-
int setresuid(uid_t, uid_t, uid_t);
|
|
269
|
+
int setresuid(uid_t, uid_t, uid_t); /* homescoop wasix-sysroot -20 */
|
|
275
270
|
int setresgid(gid_t, gid_t, gid_t);
|
|
276
271
|
int getresuid(uid_t *, uid_t *, uid_t *);
|
|
277
272
|
int getresgid(gid_t *, gid_t *, gid_t *);
|
|
278
|
-
#endif
|
|
279
273
|
#ifdef __wasilibc_unmodified_upstream /* WASI has no cwd */
|
|
280
274
|
char *get_current_dir_name(void);
|
|
281
275
|
#endif
|
|
Binary file
|
|
@@ -163,9 +163,7 @@ int isatty(int);
|
|
|
163
163
|
pid_t tcgetpgrp(int);
|
|
164
164
|
int tcsetpgrp(int, pid_t);
|
|
165
165
|
|
|
166
|
-
|
|
167
|
-
int getgroups(int, gid_t []);
|
|
168
|
-
#endif
|
|
166
|
+
int getgroups(int, gid_t []); /* homescoop wasix-sysroot -20 */
|
|
169
167
|
|
|
170
168
|
uid_t getuid(void);
|
|
171
169
|
uid_t geteuid(void);
|
|
@@ -195,10 +193,8 @@ size_t confstr(int, char *, size_t);
|
|
|
195
193
|
#define F_LOCK 1
|
|
196
194
|
#define F_TLOCK 2
|
|
197
195
|
#define F_TEST 3
|
|
198
|
-
|
|
199
|
-
int setreuid(uid_t, uid_t);
|
|
196
|
+
int setreuid(uid_t, uid_t); /* homescoop wasix-sysroot -20 */
|
|
200
197
|
int setregid(gid_t, gid_t);
|
|
201
|
-
#endif
|
|
202
198
|
#ifdef __wasilibc_unmodified_upstream /* WASI has no POSIX file locking */
|
|
203
199
|
int lockf(int, int, off_t);
|
|
204
200
|
#endif
|
|
@@ -270,12 +266,10 @@ int getpagesize(void);
|
|
|
270
266
|
|
|
271
267
|
#ifdef _GNU_SOURCE
|
|
272
268
|
extern char **environ;
|
|
273
|
-
|
|
274
|
-
int setresuid(uid_t, uid_t, uid_t);
|
|
269
|
+
int setresuid(uid_t, uid_t, uid_t); /* homescoop wasix-sysroot -20 */
|
|
275
270
|
int setresgid(gid_t, gid_t, gid_t);
|
|
276
271
|
int getresuid(uid_t *, uid_t *, uid_t *);
|
|
277
272
|
int getresgid(gid_t *, gid_t *, gid_t *);
|
|
278
|
-
#endif
|
|
279
273
|
#ifdef __wasilibc_unmodified_upstream /* WASI has no cwd */
|
|
280
274
|
char *get_current_dir_name(void);
|
|
281
275
|
#endif
|
|
Binary file
|
|
@@ -163,9 +163,7 @@ int isatty(int);
|
|
|
163
163
|
pid_t tcgetpgrp(int);
|
|
164
164
|
int tcsetpgrp(int, pid_t);
|
|
165
165
|
|
|
166
|
-
|
|
167
|
-
int getgroups(int, gid_t []);
|
|
168
|
-
#endif
|
|
166
|
+
int getgroups(int, gid_t []); /* homescoop wasix-sysroot -20 */
|
|
169
167
|
|
|
170
168
|
uid_t getuid(void);
|
|
171
169
|
uid_t geteuid(void);
|
|
@@ -195,10 +193,8 @@ size_t confstr(int, char *, size_t);
|
|
|
195
193
|
#define F_LOCK 1
|
|
196
194
|
#define F_TLOCK 2
|
|
197
195
|
#define F_TEST 3
|
|
198
|
-
|
|
199
|
-
int setreuid(uid_t, uid_t);
|
|
196
|
+
int setreuid(uid_t, uid_t); /* homescoop wasix-sysroot -20 */
|
|
200
197
|
int setregid(gid_t, gid_t);
|
|
201
|
-
#endif
|
|
202
198
|
#ifdef __wasilibc_unmodified_upstream /* WASI has no POSIX file locking */
|
|
203
199
|
int lockf(int, int, off_t);
|
|
204
200
|
#endif
|
|
@@ -270,12 +266,10 @@ int getpagesize(void);
|
|
|
270
266
|
|
|
271
267
|
#ifdef _GNU_SOURCE
|
|
272
268
|
extern char **environ;
|
|
273
|
-
|
|
274
|
-
int setresuid(uid_t, uid_t, uid_t);
|
|
269
|
+
int setresuid(uid_t, uid_t, uid_t); /* homescoop wasix-sysroot -20 */
|
|
275
270
|
int setresgid(gid_t, gid_t, gid_t);
|
|
276
271
|
int getresuid(uid_t *, uid_t *, uid_t *);
|
|
277
272
|
int getresgid(gid_t *, gid_t *, gid_t *);
|
|
278
|
-
#endif
|
|
279
273
|
#ifdef __wasilibc_unmodified_upstream /* WASI has no cwd */
|
|
280
274
|
char *get_current_dir_name(void);
|
|
281
275
|
#endif
|
|
Binary file
|
|
@@ -163,9 +163,7 @@ int isatty(int);
|
|
|
163
163
|
pid_t tcgetpgrp(int);
|
|
164
164
|
int tcsetpgrp(int, pid_t);
|
|
165
165
|
|
|
166
|
-
|
|
167
|
-
int getgroups(int, gid_t []);
|
|
168
|
-
#endif
|
|
166
|
+
int getgroups(int, gid_t []); /* homescoop wasix-sysroot -20 */
|
|
169
167
|
|
|
170
168
|
uid_t getuid(void);
|
|
171
169
|
uid_t geteuid(void);
|
|
@@ -195,10 +193,8 @@ size_t confstr(int, char *, size_t);
|
|
|
195
193
|
#define F_LOCK 1
|
|
196
194
|
#define F_TLOCK 2
|
|
197
195
|
#define F_TEST 3
|
|
198
|
-
|
|
199
|
-
int setreuid(uid_t, uid_t);
|
|
196
|
+
int setreuid(uid_t, uid_t); /* homescoop wasix-sysroot -20 */
|
|
200
197
|
int setregid(gid_t, gid_t);
|
|
201
|
-
#endif
|
|
202
198
|
#ifdef __wasilibc_unmodified_upstream /* WASI has no POSIX file locking */
|
|
203
199
|
int lockf(int, int, off_t);
|
|
204
200
|
#endif
|
|
@@ -270,12 +266,10 @@ int getpagesize(void);
|
|
|
270
266
|
|
|
271
267
|
#ifdef _GNU_SOURCE
|
|
272
268
|
extern char **environ;
|
|
273
|
-
|
|
274
|
-
int setresuid(uid_t, uid_t, uid_t);
|
|
269
|
+
int setresuid(uid_t, uid_t, uid_t); /* homescoop wasix-sysroot -20 */
|
|
275
270
|
int setresgid(gid_t, gid_t, gid_t);
|
|
276
271
|
int getresuid(uid_t *, uid_t *, uid_t *);
|
|
277
272
|
int getresgid(gid_t *, gid_t *, gid_t *);
|
|
278
|
-
#endif
|
|
279
273
|
#ifdef __wasilibc_unmodified_upstream /* WASI has no cwd */
|
|
280
274
|
char *get_current_dir_name(void);
|
|
281
275
|
#endif
|
|
Binary file
|
|
@@ -163,9 +163,7 @@ int isatty(int);
|
|
|
163
163
|
pid_t tcgetpgrp(int);
|
|
164
164
|
int tcsetpgrp(int, pid_t);
|
|
165
165
|
|
|
166
|
-
|
|
167
|
-
int getgroups(int, gid_t []);
|
|
168
|
-
#endif
|
|
166
|
+
int getgroups(int, gid_t []); /* homescoop wasix-sysroot -20 */
|
|
169
167
|
|
|
170
168
|
uid_t getuid(void);
|
|
171
169
|
uid_t geteuid(void);
|
|
@@ -195,10 +193,8 @@ size_t confstr(int, char *, size_t);
|
|
|
195
193
|
#define F_LOCK 1
|
|
196
194
|
#define F_TLOCK 2
|
|
197
195
|
#define F_TEST 3
|
|
198
|
-
|
|
199
|
-
int setreuid(uid_t, uid_t);
|
|
196
|
+
int setreuid(uid_t, uid_t); /* homescoop wasix-sysroot -20 */
|
|
200
197
|
int setregid(gid_t, gid_t);
|
|
201
|
-
#endif
|
|
202
198
|
#ifdef __wasilibc_unmodified_upstream /* WASI has no POSIX file locking */
|
|
203
199
|
int lockf(int, int, off_t);
|
|
204
200
|
#endif
|
|
@@ -270,12 +266,10 @@ int getpagesize(void);
|
|
|
270
266
|
|
|
271
267
|
#ifdef _GNU_SOURCE
|
|
272
268
|
extern char **environ;
|
|
273
|
-
|
|
274
|
-
int setresuid(uid_t, uid_t, uid_t);
|
|
269
|
+
int setresuid(uid_t, uid_t, uid_t); /* homescoop wasix-sysroot -20 */
|
|
275
270
|
int setresgid(gid_t, gid_t, gid_t);
|
|
276
271
|
int getresuid(uid_t *, uid_t *, uid_t *);
|
|
277
272
|
int getresgid(gid_t *, gid_t *, gid_t *);
|
|
278
|
-
#endif
|
|
279
273
|
#ifdef __wasilibc_unmodified_upstream /* WASI has no cwd */
|
|
280
274
|
char *get_current_dir_name(void);
|
|
281
275
|
#endif
|
|
Binary file
|