@ai-ecoverse/wasix-sysroot 2025.9.30-30 → 2025.9.30-31

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
@@ -41,6 +41,26 @@ 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-31:
45
+
46
+ - **AF_UNIX addresses.** `getsockname`, `getpeername`, `accept`, `recvfrom`
47
+ and `recvmsg` return the socket's `sockaddr_un`: `AF_UNIX` and the path,
48
+ length `offsetof(sun_path) + strlen + 1`, or an unnamed address of
49
+ `sizeof(sa_family_t)`. Up to -30 the family came back 0 and the path empty.
50
+ `bind`, `connect`, `sendto` and `sendmsg` take `sizeof(struct sockaddr_un)`
51
+ as the length, as most C programs pass it. Up to -30 that failed with
52
+ -1 and errno -1 ("Success"); a bad address now gives EINVAL or
53
+ EAFNOSUPPORT.
54
+ - **Hangup on events-0 pollfds.** A `poll`/`ppoll` entry with no read/write
55
+ interest is watched for hangup. A pipe or socket whose peer closed gives
56
+ `POLLHUP`, and the write end of a pipe whose reader is gone gives `POLLERR`,
57
+ as on Linux. Up to -30 such an entry never reported anything.
58
+ - **More named semaphores.** The libc no longer limits a process to 256 named
59
+ semaphores. slicc-kernel's own limit goes up with slicc-kernel#770.
60
+ - **Known limit:** `epoll_pwait`'s mask swap isn't atomic yet. The kernel's
61
+ masked epoll wait comes with slicc-kernel#771, and until then the libc swaps
62
+ the mask around the wait.
63
+
44
64
  Since 2025.9.30-30 named semaphores work between processes. `sem_open`,
45
65
  `sem_close`, `sem_unlink`, `sem_wait`, `sem_trywait`, `sem_timedwait`,
46
66
  `sem_post` and `sem_getvalue` on a named semaphore go to slicc-kernel
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-ecoverse/wasix-sysroot",
3
- "version": "2025.9.30-30",
3
+ "version": "2025.9.30-31",
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": {
Binary file
Binary file
Binary file
Binary file