diff options
author | Adam Gregory <adam@aguilaengineering.com> | 2024-07-10 14:15:43 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-10 15:15:43 +0200 |
commit | 82f9216610ec9cc32697ca77cb95da4b229117d4 (patch) | |
tree | 96db85051b07a8979355d54b458fa6f283db713d /cli/args/mod.rs | |
parent | 9a0d59d95df29202080cf40a6e0bda52ca7fa6a8 (diff) |
fix: Add sys permission kinds for node compat (#24242)
Fixes #24241
* Support "statfs", "username", "getPriority" and "setPriority" kinds
for `--allow-sys`.
* Check individual permissions in `node:os.userInfo()` instead of a
single "userInfo" permission.
* Check for "uid" permission in `node:process.geteuid()` instead of
"geteuid".
* Add missing "homedir" to `SysPermissionDescriptor.kind` union
Co-authored-by: Bartek IwaĆczuk <biwanczuk@gmail.com>
Diffstat (limited to 'cli/args/mod.rs')
0 files changed, 0 insertions, 0 deletions