@ai-ecoverse/slicc-kernel 1.191.2 → 1.191.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 CHANGED
@@ -459,7 +459,7 @@ A WASI program runs in a process worker of its own like an Emscripten one, again
459
459
 
460
460
  Every WASI program sees `/` through the cwd.
461
461
 
462
- **`preopenRoot`.** A command whose manifest entry sets `"preopenRoot": true` gets two more preopens after those:
462
+ **`preopenRoot`.** A command whose manifest entry sets `"preopenRoot": true`, and a `.wasm` run by path that no package owns (it has no manifest to opt in with, [#1868](https://github.com/ai-ecoverse/slicc-kernel/issues/1868)), get two more preopens after those:
463
463
  3. `/`, the root;
464
464
  4. `./`, the cwd again.
465
465
 
@@ -474,7 +474,7 @@ That's for programs that walk to the root, such as Go's (`GOOS=wasip1`) and esbu
474
474
  - without `preopenRoot`: fds 3 through 3 + *n*, *n* being the number of top-level directories, `/dev`, `/proc`, `/usr` and `/bin` together;
475
475
  - with it: two more, through 3 + *n* + 2.
476
476
 
477
- A descriptor a program inherits at one of those numbers (from bash's `3<file`, or a `posix_spawn` file action) moves to the first free number above them. One above the range keeps its number. A command that takes descriptors by number from its caller should leave `preopenRoot` off, which keeps the shorter range.
477
+ A descriptor a program inherits at one of those numbers (from bash's `3<file`, or a `posix_spawn` file action) moves to the first free number above them. One above the range keeps its number. A command that takes descriptors by number from its caller should leave `preopenRoot` off, which keeps the shorter range. An unowned `.wasm` run by path has the longer one, so a descriptor it inherits in that range lands two numbers higher; one that needs the shorter range can be installed as a package command without the flag.
478
478
 
479
479
  **Paths with `..`.** A `..` after a symlinked directory goes to the parent of the link's target, as on Linux: with `/a/link -> /x/y`, `/a/link/../f` is `/x/f`, for a WASI program as for bash. A `..` after a file or a missing name fails with `ENOTDIR` or `ENOENT`. Paths without `..` are joined as they are.
480
480
 
@@ -1362,7 +1362,7 @@ function createParentRefreshCount() {
1362
1362
  }
1363
1363
 
1364
1364
  // src/version.ts
1365
- var KERNEL_VERSION = true ? "1.191.2" : "0.0.0-dev";
1365
+ var KERNEL_VERSION = true ? "1.191.4" : "0.0.0-dev";
1366
1366
  var OS_RELEASE = "6.0.0-slicc";
1367
1367
  function procVersion() {
1368
1368
  return `Linux version ${OS_RELEASE} (slicc-kernel ${KERNEL_VERSION}) #1 SMP PREEMPT_DYNAMIC