Skip to content

Conversation

aduh95
Copy link
Contributor

@aduh95 aduh95 commented Aug 1, 2020

Node.js v12.x implements unflagged worker_threads, therefore process.umask() calls represent the same security risk as in Node.js v14.x.

Note that this PR does not backport the runtime deprecation.

Refs: #32321
Refs: #32499
Refs: #32711

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • documentation is changed or added
  • commit message follows commit guidelines

cjihrig and others added 2 commits August 1, 2020 16:24
This commit introduces a documentation deprecation for calling
process.umask() with no arguments.

PR-URL: nodejs#32499
Fixes: nodejs#32321
Reviewed-By: Ben Noordhuis <[email protected]>
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Split doc entries for process.umask() into one entry for process.umask()
(which is deprecated) and another for `process.umask(mask)` which is
not deprecated.

PR-URL: nodejs#32711
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: James M Snell <[email protected]>
@nodejs-github-bot nodejs-github-bot added doc Issues and PRs related to the documentations. v12.x labels Aug 1, 2020
@aduh95
Copy link
Contributor Author

aduh95 commented Aug 10, 2020

@cjihrig can you please review this?

@aduh95
Copy link
Contributor Author

aduh95 commented Aug 11, 2020

Based on #34592 (comment), this PR may be invalid. @targos what are your thoughts for this one?

MylesBorins pushed a commit that referenced this pull request Aug 18, 2020
This commit introduces a documentation deprecation for calling
process.umask() with no arguments.

Backport-PR-URL: #34591
PR-URL: #32499
Fixes: #32321
Reviewed-By: Ben Noordhuis <[email protected]>
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: James M Snell <[email protected]>
MylesBorins pushed a commit that referenced this pull request Aug 18, 2020
Split doc entries for process.umask() into one entry for process.umask()
(which is deprecated) and another for `process.umask(mask)` which is
not deprecated.

Backport-PR-URL: #34591
PR-URL: #32711
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: James M Snell <[email protected]>
@MylesBorins
Copy link
Contributor

landed in 11a87ed...bb0cc00

@BethGriggs BethGriggs added the notable-change PRs with changes that should be highlighted in changelogs. label Sep 29, 2020
@aduh95 aduh95 deleted the backport-32499-to-erbium branch November 14, 2020 11:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
doc Issues and PRs related to the documentations. notable-change PRs with changes that should be highlighted in changelogs.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants