summaryrefslogtreecommitdiff
path: root/runtime/js
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/js')
-rw-r--r--runtime/js/30_os.js5
-rw-r--r--runtime/js/90_deno_ns.js1
2 files changed, 6 insertions, 0 deletions
diff --git a/runtime/js/30_os.js b/runtime/js/30_os.js
index 9cc2ba5c7..f9df42305 100644
--- a/runtime/js/30_os.js
+++ b/runtime/js/30_os.js
@@ -30,6 +30,10 @@
return core.opSync("op_network_interfaces");
}
+ function getGid() {
+ return core.opSync("op_getgid");
+ }
+
function getUid() {
return core.opSync("op_getuid");
}
@@ -94,6 +98,7 @@
env,
execPath,
exit,
+ getGid,
getUid,
hostname,
loadavg,
diff --git a/runtime/js/90_deno_ns.js b/runtime/js/90_deno_ns.js
index 879e63e57..24a31bc31 100644
--- a/runtime/js/90_deno_ns.js
+++ b/runtime/js/90_deno_ns.js
@@ -124,6 +124,7 @@
osRelease: __bootstrap.os.osRelease,
systemMemoryInfo: __bootstrap.os.systemMemoryInfo,
networkInterfaces: __bootstrap.os.networkInterfaces,
+ getGid: __bootstrap.os.getGid,
getUid: __bootstrap.os.getUid,
sleepSync: __bootstrap.timers.sleepSync,
listen: __bootstrap.netUnstable.listen,