node/doc/api
Anna Henningsen cbc3ef64ce
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

PR-URL: https://github.com/nodejs/node/pull/23053
Reviewed-By: James M Snell <jasnell@gmail.com>
2018-10-04 09:20:24 -07:00
..
addons.md src: replace deprecated uses of FunctionTemplate::GetFunction 2018-09-24 05:44:28 +02:00
assert.md doc: improve assert documentation 2018-09-07 22:42:08 +01:00
async_hooks.md lib: implement queueMicrotask 2018-09-23 15:57:19 -05:00
buffer.md errors: use ERR_OUT_OF_RANGE for index errors 2018-09-26 19:36:50 -07:00
child_process.md 2018-09-06, Version 10.10.0 (Current) 2018-09-06 23:57:43 +02:00
cli.md cli: normalize _- when parsing options 2018-09-25 13:32:30 +02:00
cluster.md doc: specify cluster worker.kill() caveat 2018-10-04 09:02:47 -04:00
console.md 2018-07-18, Version 10.7.0 (Current) 2018-07-18 20:17:23 +02:00
crypto.md crypto: do not allow multiple calls to setAuthTag 2018-09-21 11:40:35 +02:00
debugger.md inspector: use js_app.html as the landing page for chrome devtools 2018-06-28 09:24:02 -03:00
deprecations.md crypto: downgrade DEP0115 to --pending-deprecation only 2018-09-27 08:43:05 -04:00
dgram.md doc: remove redundant 'Example:' and similar notes 2018-08-29 16:53:03 +03:00
dns.md doc: add missing metadata for dns.lookup 2018-09-19 21:11:51 +02:00
documentation.md doc: make Stability Index more concise 2018-08-30 20:15:40 +01:00
domain.md doc: remove redundant 'Example:' and similar notes 2018-08-29 16:53:03 +03:00
errors.md process: allow reading from stdout/stderr sockets 2018-10-04 09:20:24 -07:00
esm.md esm: provide named exports for builtin libs 2018-05-11 12:06:18 -05:00
events.md doc: declare all parameter types 2018-07-15 23:57:35 +03:00
fs.md doc: add links for fs.createWriteStream() 2018-09-26 09:36:06 -07:00
globals.md doc: fix confusing language about microtask queue 2018-10-04 01:27:43 -05:00
http2.md http2: add ping event 2018-09-23 16:36:24 -07:00
http.md doc: improve metadata for http.request 2018-09-19 21:12:45 +02:00
https.md doc: improve metadata for http.request 2018-09-19 21:12:45 +02:00
index.md doc: prevent some redirections 2018-07-14 22:57:03 +03:00
inspector.md doc: fix structure and formatting in inspector.md 2018-07-08 21:56:10 +03:00
intl.md doc: bump ICU version to avoid confusion 2018-08-14 22:44:58 +03:00
modules.md Replace vague 'may not' with definitive 'will not' 2018-10-01 09:23:56 -07:00
n-api.md doc: fix optional parameters in n-api.md 2018-09-24 23:10:18 +02:00
net.md doc: remove redundant 'Example:' and similar notes 2018-08-29 16:53:03 +03:00
os.md doc, win: improve os.setPriority documentation 2018-09-19 08:02:18 +02:00
path.md doc: remove redundant 'Example:' and similar notes 2018-08-29 16:53:03 +03:00
perf_hooks.md perf_hooks: remove less useful bootstrap marks 2018-06-15 09:05:19 -07:00
process.md process: allow reading from stdout/stderr sockets 2018-10-04 09:20:24 -07:00
punycode.md doc: prevent some redirections 2018-07-14 22:57:03 +03:00
querystring.md doc: remove redundant 'Example:' and similar notes 2018-08-29 16:53:03 +03:00
readline.md doc: add warning to readline's close() method 2018-09-06 20:11:31 -04:00
repl.md doc: add links for repl.ReplServer 2018-09-21 14:14:31 -07:00
stream.md doc: fix casing in stream.md 2018-09-29 20:18:58 -04:00
string_decoder.md string_decoder: support typed array or data view 2018-09-17 17:48:44 +02:00
synopsis.md doc: match program and console output in synopsis.md 2018-09-22 00:49:25 +03:00
timers.md doc: prevent some redirections 2018-07-14 22:57:03 +03:00
tls.md tls: fix DEP0083 after upgrading to OpenSSL 1.1.0 2018-09-24 07:26:08 +02:00
tracing.md doc: remove redundant 'Example:' and similar notes 2018-08-29 16:53:03 +03:00
tty.md tty: make readStream.setRawMode() return this 2018-09-22 11:19:26 +03:00
url.md url: docs deprecate legacy url API 2018-09-07 16:55:44 -07:00
util.md util: change %o depth default 2018-10-02 22:43:10 +02:00
v8.md doc: update a link in v8.md 2018-09-03 17:47:28 +03:00
vm.md doc: use stronger language about security of vm 2018-10-04 01:29:43 -05:00
worker_threads.md doc: add callback parameters of worker.terminate() 2018-09-24 23:15:54 +03:00
zlib.md doc: unify optional arguments format in headings 2018-08-19 21:45:39 +03:00