@ai-ecoverse/slicc-kernel 1.47.0 → 1.47.2
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 +2 -2
- package/dist/kernel-worker.js +4 -2
- package/dist/kernel-worker.js.map +2 -2
- package/dist/node-process-worker.js +76 -10
- package/dist/node-process-worker.js.map +3 -3
- package/dist/node.js +4 -2
- package/dist/node.js.map +2 -2
- package/dist/process-worker.js +76 -10
- package/dist/process-worker.js.map +3 -3
- package/package.json +1 -1
package/dist/node.js
CHANGED
|
@@ -9961,7 +9961,7 @@ function openLane(token, dispatch2) {
|
|
|
9961
9961
|
}
|
|
9962
9962
|
};
|
|
9963
9963
|
}
|
|
9964
|
-
function processInit(opts, sab, umask, lane) {
|
|
9964
|
+
function processInit(opts, sab, umask, cred, lane) {
|
|
9965
9965
|
const base = {
|
|
9966
9966
|
type: WASM_PROCESS_INIT,
|
|
9967
9967
|
pid: opts.shownPid ?? opts.pid,
|
|
@@ -9971,6 +9971,7 @@ function processInit(opts, sab, umask, lane) {
|
|
|
9971
9971
|
cwd: opts.cwd,
|
|
9972
9972
|
sab,
|
|
9973
9973
|
umask,
|
|
9974
|
+
cred,
|
|
9974
9975
|
...opts.ppid !== void 0 ? { ppid: opts.ppid } : {}
|
|
9975
9976
|
};
|
|
9976
9977
|
if (opts.program.abi === "js") {
|
|
@@ -10149,13 +10150,14 @@ function spawnWasmProcess(opts) {
|
|
|
10149
10150
|
env: opts.env,
|
|
10150
10151
|
cwd: opts.cwd,
|
|
10151
10152
|
sab: tsab,
|
|
10153
|
+
cred: copyCred(process2.cred),
|
|
10152
10154
|
...opts.ppid !== void 0 ? { ppid: opts.ppid } : {},
|
|
10153
10155
|
thread
|
|
10154
10156
|
};
|
|
10155
10157
|
tw.postMessage(tinit);
|
|
10156
10158
|
};
|
|
10157
10159
|
worker.postMessage(
|
|
10158
|
-
processInit(opts, sab, process2.umask, lane?.lane),
|
|
10160
|
+
processInit(opts, sab, process2.umask, copyCred(process2.cred), lane?.lane),
|
|
10159
10161
|
transferOf(opts, lane?.lane)
|
|
10160
10162
|
);
|
|
10161
10163
|
const signal = (sig) => {
|