@ai-ecoverse/slicc-kernel 1.41.3 → 1.41.4
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 +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -429,7 +429,7 @@ An exec'd program takes over the pid of the process it replaces, as on Linux: `g
|
|
|
429
429
|
|
|
430
430
|
### File modes and the umask
|
|
431
431
|
|
|
432
|
-
Every process has a umask in the kernel, `022` for a process the embedder starts, inherited across fork, spawn and exec and shown in `/proc/<pid>/status` (`Umask:`). The kernel applies it when a program creates a file or directory, whatever its libc does: an Emscripten program's `open` with `O_CREAT`, `mkdir` and `mknod` (so `umask 077; touch f` gives `600` in a child too), and a WASI program's `path_open` with `O_CREAT` and `path_create_directory` (`0666` and `0777` less the umask).
|
|
432
|
+
Every process has a umask in the kernel, `022` for a process the embedder starts, inherited across fork, spawn and exec and shown in `/proc/<pid>/status` (`Umask:`). The kernel applies it when a program creates a file or directory, whatever its libc does: an Emscripten program's `open` with `O_CREAT`, `mkdir` and `mknod` (so `umask 077; touch f` gives `600` in a child too), and a WASI program's `path_open` with `O_CREAT` and `path_create_directory` (`0666` and `0777` less the umask). An Emscripten program's `umask()` sets and reads the kernel's umask through the glue's `__syscall_umask` import, so `umask 077` in bash shows in `/proc` and reaches every child. A build that resolves `umask` inside its wasm, as wasm-bash 5.3.0-8 to 5.3.0-10 do, keeps a umask of its own that the kernel never sees.
|
|
433
433
|
|
|
434
434
|
WASI and WASIX have no call for file modes, so the kernel adds the import module `slicc_fs`, whose functions return a preview1 errno (kernels without them answer `ENOSYS`):
|
|
435
435
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ai-ecoverse/slicc-kernel",
|
|
3
|
-
"version": "1.41.
|
|
3
|
+
"version": "1.41.4",
|
|
4
4
|
"description": "SLICC's wasm-realm kernel: run Emscripten programs in the browser against OPFS, with fork, spawn, pipes and waitpid",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"@ai-ecoverse/wasi-rustc": "1.98.1-4",
|
|
56
56
|
"@ai-ecoverse/wasi-zig": "0.16.0-15",
|
|
57
57
|
"@ai-ecoverse/wasix-python": "3.14.2-11",
|
|
58
|
-
"@ai-ecoverse/wasm-bash": "5.3.0-
|
|
58
|
+
"@ai-ecoverse/wasm-bash": "5.3.0-11",
|
|
59
59
|
"@ai-ecoverse/wasm-coreutils": "9.7.0-3",
|
|
60
60
|
"@ai-ecoverse/wasm-curl": "8.22.0-4",
|
|
61
61
|
"@ai-ecoverse/wasm-git": "2.55.0-12",
|