diff options
author | Divy Srivastava <dj.srivastava23@gmail.com> | 2024-11-12 21:25:49 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-12 16:55:49 +0100 |
commit | 7179bdcc772577e44566acded5b165946d73fe4b (patch) | |
tree | 2a2e708f69341ffa650a33f767ac22d76eac01ce /runtime/permissions | |
parent | 7d326c269cfb8463d530ee5dd4bcabb7499e1ba7 (diff) |
fix(ext/node): handle `--allow-sys=inspector` (#26836)
`op_inspector_open` checks for "inspector" as one of the allowed sys
value.
Diffstat (limited to 'runtime/permissions')
-rw-r--r-- | runtime/permissions/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/permissions/lib.rs b/runtime/permissions/lib.rs index 6480f4bf5..3aa5aabb3 100644 --- a/runtime/permissions/lib.rs +++ b/runtime/permissions/lib.rs @@ -1461,7 +1461,7 @@ pub struct SysDescriptor(String); impl SysDescriptor { pub fn parse(kind: String) -> Result<Self, SysDescriptorParseError> { match kind.as_str() { - "hostname" | "osRelease" | "osUptime" | "loadavg" + "hostname" | "inspector" | "osRelease" | "osUptime" | "loadavg" | "networkInterfaces" | "systemMemoryInfo" | "uid" | "gid" | "cpus" | "homedir" | "getegid" | "statfs" | "getPriority" | "setPriority" | "userInfo" => Ok(Self(kind)), |