@ai-ecoverse/slicc-kernel 1.125.2 → 1.125.3
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 -0
- package/dist/kernel-worker.js +2 -2
- package/dist/kernel-worker.js.map +2 -2
- package/dist/node-process-worker.js +34 -5
- package/dist/node-process-worker.js.map +3 -3
- package/dist/node.js +2 -2
- package/dist/node.js.map +2 -2
- package/dist/process-worker.js +34 -5
- package/dist/process-worker.js.map +3 -3
- package/dist/types/process/wasi/wasi-host.d.ts +2 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -803,6 +803,7 @@ The kernel's device nodes answer the mode and owner an Emscripten program sees f
|
|
|
803
803
|
- `/dev/null`, `/dev/zero`, `/dev/full`, `/dev/random`, `/dev/urandom` and `/dev/tty` are root's character devices with `0666`. `/dev/tty` also stats when the process has no controlling terminal; opening it then is `ENXIO`, as on Linux.
|
|
804
804
|
- A pty's `/dev/pts/N` is its owner's, with `0620`.
|
|
805
805
|
- `/dev/stdin`, `/dev/stdout`, `/dev/stderr` and `/dev/fd/N` answer for the descriptor they name.
|
|
806
|
+
- A symlink elsewhere that leads to one of them, such as `/tmp/console -> /dev/tty`, answers the same when followed ([#1042](https://github.com/ai-ecoverse/slicc-kernel/issues/1042)).
|
|
806
807
|
|
|
807
808
|
An Emscripten program sees those six character devices at `0666` with `users: 'off'` too.
|
|
808
809
|
|
package/dist/kernel-worker.js
CHANGED
|
@@ -6632,7 +6632,7 @@ function satisfies(version, range2) {
|
|
|
6632
6632
|
}
|
|
6633
6633
|
|
|
6634
6634
|
// src/version.ts
|
|
6635
|
-
var KERNEL_VERSION = true ? "1.125.
|
|
6635
|
+
var KERNEL_VERSION = true ? "1.125.3" : "0.0.0-dev";
|
|
6636
6636
|
var OS_RELEASE = "6.0.0-slicc";
|
|
6637
6637
|
function procVersion() {
|
|
6638
6638
|
return `Linux version ${OS_RELEASE} (slicc-kernel ${KERNEL_VERSION}) #1 SMP PREEMPT_DYNAMIC
|
|
@@ -9666,7 +9666,7 @@ var FsWatchers = class {
|
|
|
9666
9666
|
if (created4.length > 0 || !await fs.exists(ancestor)) created4.push(ancestor);
|
|
9667
9667
|
}
|
|
9668
9668
|
}
|
|
9669
|
-
const fresh2 = !options?.recursive ||
|
|
9669
|
+
const fresh2 = !options?.recursive || this.typed.size > 0 && !await fs.exists(path);
|
|
9670
9670
|
let done4 = false;
|
|
9671
9671
|
try {
|
|
9672
9672
|
await fs.mkdir(path, options);
|