@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/kernel-worker.js
CHANGED
|
@@ -2150,6 +2150,7 @@ function id(value) {
|
|
|
2150
2150
|
return value;
|
|
2151
2151
|
}
|
|
2152
2152
|
function changeCred(cur, change) {
|
|
2153
|
+
if (typeof change !== "object" || change === null) throw fsError("EINVAL", "not a change");
|
|
2153
2154
|
const privileged = cur.euid === 0;
|
|
2154
2155
|
const next2 = copyCred(cur);
|
|
2155
2156
|
for (const keys of [UIDS, GIDS]) {
|