@ai-ecoverse/wasix-perl 5.42.0-8 → 5.42.0-9

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 CHANGED
@@ -13,4 +13,15 @@ Perl 5.42 for slicc WASIX (`perl`, `prove`, `pod2man`, `cpan`, `perldoc`).
13
13
  &re::install") and `getcwd` inside a mount returned an empty string.
14
14
  - File modes on slicc-kernel ≥ 1.35.1: `umask`, `chmod`, `mkdir` modes and
15
15
  File::Temp's 600/700 hold, and `stat` reports them (wasix-sysroot
16
- 2025.9.30-17); older kernels leave files 644 and directories 755
16
+ slicc_fs, since -17); older kernels leave files 644 and directories 755
17
+
18
+ ## 5.42.0-9: wasix-sysroot 2025.9.30-20
19
+
20
+ - `%SIG` handlers fire on slicc-kernel ≥ 1.47.1: the libc reports every
21
+ disposition to the kernel (`slicc.sigaction_set`), so `$SIG{CHLD}` reaping
22
+ and `$SIG{WINCH}` work. `alarm`, `sleep` interrupted by a signal and
23
+ `kill $$` behave as on Linux.
24
+ - `$<`, `$>`, `$(`, `getpwuid` and `getgrgid` come from slicc-kernel's
25
+ process credentials (slicc-kernel ≥ 1.44.0, no fallback). Root is uid 0 with
26
+ home `/root`; a `kernel.users.add` user gets its own ids.
27
+
@@ -2,7 +2,7 @@
2
2
 
3
3
  perl.wasm statically links the following.
4
4
 
5
- ## wasix-libc (@ai-ecoverse/wasix-sysroot 2025.9.30; files from tag v2025-09-02.1)
5
+ ## wasix-libc (@ai-ecoverse/wasix-sysroot 2025.9.30-20; files from tag v2025-09-02.1)
6
6
 
7
7
  ```text
8
8
  wasi-libc as a whole is multi-licensed under the
package/bin/perl.wasm CHANGED
Binary file
@@ -438,8 +438,8 @@
438
438
  * available to change the real, effective and saved gid of the current
439
439
  * process.
440
440
  */
441
- /*#define HAS_SETREGID / **/
442
- /*#define HAS_SETRESGID / **/
441
+ #define HAS_SETREGID /**/
442
+ #define HAS_SETRESGID /**/
443
443
 
444
444
  /* HAS_SETREUID:
445
445
  * This symbol, if defined, indicates that the setreuid routine is
@@ -451,8 +451,8 @@
451
451
  * available to change the real, effective and saved uid of the current
452
452
  * process.
453
453
  */
454
- /*#define HAS_SETREUID / **/
455
- /*#define HAS_SETRESUID / **/
454
+ #define HAS_SETREUID /**/
455
+ #define HAS_SETRESUID /**/
456
456
 
457
457
  /* HAS_SETRGID:
458
458
  * This symbol, if defined, indicates that the setrgid routine is available
@@ -3373,7 +3373,7 @@
3373
3373
  * to the program to supply one. Good guesses are
3374
3374
  * extern int setresgid(uid_t ruid, uid_t euid, uid_t suid);
3375
3375
  */
3376
- /*#define HAS_SETRESGID_PROTO / **/
3376
+ #define HAS_SETRESGID_PROTO /**/
3377
3377
 
3378
3378
  /* HAS_SETRESUID_PROTO:
3379
3379
  * This symbol, if defined, indicates that the system provides
@@ -3381,7 +3381,7 @@
3381
3381
  * to the program to supply one. Good guesses are
3382
3382
  * extern int setresuid(uid_t ruid, uid_t euid, uid_t suid);
3383
3383
  */
3384
- /*#define HAS_SETRESUID_PROTO / **/
3384
+ #define HAS_SETRESUID_PROTO /**/
3385
3385
 
3386
3386
  /* HAS_STRUCT_STATFS_F_FLAGS:
3387
3387
  * This symbol, if defined, indicates that the struct statfs
@@ -730,10 +730,10 @@ d_setproctitle='undef'
730
730
  d_setprotoent_r='undef'
731
731
  d_setpwent='define'
732
732
  d_setpwent_r='undef'
733
- d_setregid='undef'
734
- d_setresgid='undef'
735
- d_setresuid='undef'
736
- d_setreuid='undef'
733
+ d_setregid='define'
734
+ d_setresgid='define'
735
+ d_setresuid='define'
736
+ d_setreuid='define'
737
737
  d_setrgid='undef'
738
738
  d_setruid='undef'
739
739
  d_setsent='undef'
@@ -777,8 +777,8 @@ d_sprintf_returns_strlen='define'
777
777
  d_sqrtl='define'
778
778
  d_srand48_r='undef'
779
779
  d_srandom_r='undef'
780
- d_sresgproto='undef'
781
- d_sresuproto='undef'
780
+ d_sresgproto='define'
781
+ d_sresuproto='define'
782
782
  d_stat='define'
783
783
  d_statblks='define'
784
784
  d_statfs_f_flags='undef'
package/package.json CHANGED
@@ -1,7 +1,10 @@
1
1
  {
2
2
  "name": "@ai-ecoverse/wasix-perl",
3
- "version": "5.42.0-8",
4
- "description": "Perl 5.42 for slicc WASIX (file modes via wasix-sysroot -17 slicc_fs; fcntl CLOEXEC fix; exec/stdio)",
3
+ "version": "5.42.0-9",
4
+ "description": "Perl 5.42 for slicc WASIX (wasix-sysroot -20: user ids and %SIG from slicc-kernel; file modes via slicc_fs; exec/stdio)",
5
+ "engines": {
6
+ "slicc-kernel": ">=1.44.0"
7
+ },
5
8
  "license": "Artistic-1.0-Perl OR GPL-1.0-or-later",
6
9
  "repository": {
7
10
  "type": "git",