Commit 94afc3e
process: passing -1 to setuid/setgid should not abort
Fixes: #32750
Signed-off-by: James M Snell <jasnell@gmail.com>
PR-URL: #36786
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Harshitha K P <harshitha014@gmail.com>
Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>1 parent 1a4d34e commit 94afc3eCopy full SHA for 94afc3e
File tree
Expand file treeCollapse file tree
2 files changed
+9
-0
lines changedOpen diff view settings
Filter options
- lib/internal/bootstrap/switches
- test/parallel
Expand file treeCollapse file tree
2 files changed
+9
-0
lines changedOpen diff view settings
Collapse file
lib/internal/bootstrap/switches/does_own_process_state.js
Copy file name to clipboardExpand all lines: lib/internal/bootstrap/switches/does_own_process_state.js+1Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
80 | 80 | |
81 | 81 | |
82 | 82 | |
| 83 | + |
83 | 84 | |
84 | 85 | |
85 | 86 | |
|
Collapse file
test/parallel/test-process-uid-gid.js
Copy file name to clipboardExpand all lines: test/parallel/test-process-uid-gid.js+8Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
51 | 51 | |
52 | 52 | |
53 | 53 | |
| 54 | + |
| 55 | + |
| 56 | + |
| 57 | + |
| 58 | + |
| 59 | + |
| 60 | + |
54 | 61 | |
55 | 62 | |
56 | 63 | |
| ||
79 | 86 | |
80 | 87 | |
81 | 88 | |
| 89 | + |
82 | 90 | |
83 | 91 | |
84 | 92 | |
|
0 commit comments