@ai-ecoverse/slicc-kernel 1.80.0 → 1.81.0
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/index.js.map +1 -1
- package/dist/kernel-worker.js +1 -0
- package/dist/kernel-worker.js.map +2 -2
- package/dist/node-process-worker.js +20 -9
- package/dist/node-process-worker.js.map +2 -2
- package/dist/node.js +1 -0
- package/dist/node.js.map +2 -2
- package/dist/process-worker.js +20 -9
- package/dist/process-worker.js.map +2 -2
- package/package.json +1 -1
package/dist/node.js
CHANGED
|
@@ -570,6 +570,7 @@ function id(value) {
|
|
|
570
570
|
return value;
|
|
571
571
|
}
|
|
572
572
|
function changeCred(cur, change) {
|
|
573
|
+
if (typeof change !== "object" || change === null) throw fsError("EINVAL", "not a change");
|
|
573
574
|
const privileged = cur.euid === 0;
|
|
574
575
|
const next2 = copyCred(cur);
|
|
575
576
|
for (const keys of [UIDS, GIDS]) {
|