Open
Description
Version
All
Platform
All
Subsystem
process
What steps will reproduce the bug?
e.g. process.setgid(100)
- returns EPERM
with errno
set to 1
.
How often does it reproduce? Is there a required condition?
Always.
What is the expected behavior? Why is that the expected behavior?
There should likely be more consistenty wrt EPERM error numbers - UV_ error numbers are supposed to always be negative not positive. So the code should probably be -1
not 1
.
What do you see instead?
The code reported is always 1
.
// cc @jasnell
Additional information
No response
Metadata
Metadata
Assignees
Labels
No labels