node/lib/internal/process
Anna Henningsen ea5628e77a
process: allow reading from stdout/stderr sockets
Allow reading from stdio streams that are conventionally
associated with process output, since this is only convention.

This involves disabling the oddness around closing stdio
streams. Its purpose is to prevent the file descriptors
0 through 2 from being closed, since doing so can lead
to information leaks when new file descriptors are being
opened; instead, not doing anything seems like a more
reasonable choice.

Fixes: https://github.com/nodejs/node/issues/21203

Backport-PR-URL: https://github.com/nodejs/node/pull/25351
PR-URL: https://github.com/nodejs/node/pull/23053
Reviewed-By: James M Snell <jasnell@gmail.com>
2019-03-19 22:55:13 +00:00
..
next_tick.js src: refactor bootstrap to use bootstrap object 2018-08-16 11:38:52 +10:00
promises.js src: refactor bootstrap to use bootstrap object 2018-08-16 11:38:52 +10:00
stdio.js process: allow reading from stdout/stderr sockets 2019-03-19 22:55:13 +00:00
warning.js lib: improve lazy requires 2017-09-21 07:52:52 -07:00
write-coverage.js lib: use destructuring for some constants 2017-10-31 00:15:14 +00:00