node/lib/internal
Carl Lei 4c1eb5bf03 repl: create history file with mode 0600
Set the mode bits on the history file to 0o600 instead of leaving it
unspecified, which resulted in 0o755 on Unices.

Test code mostly written by Trott:
https://github.com/nodejs/node/issues/3392#issuecomment-148634126.

PR-URL: https://github.com/nodejs/node/pull/3394
Fixes: https://github.com/nodejs/node/issues/3392
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Roman Reiss <me@silverwind.io>
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
2016-06-23 16:59:38 -07:00
..
streams streams: refactor LazyTransform to internal/ 2015-09-15 13:53:21 -04:00
child_process.js child_process: fix data loss with readable event 2016-03-02 14:01:11 -08:00
cluster.js cluster: remove handles when disconnecting worker 2015-12-23 08:38:33 -08:00
freelist.js lib: freelist: use .pop() for allocation 2016-03-21 12:57:52 -07:00
module.js module,repl: remove repl require() hack 2016-01-19 11:52:29 -08:00
net.js net: move isLegalPort to internal/net 2016-03-02 14:01:11 -08:00
readme.md
repl.js repl: create history file with mode 0600 2016-06-23 16:59:38 -07:00
socket_list.js child_process: refactor self=this in socket_list 2016-04-08 17:34:18 -04:00
util.js util: move .decorateErrorStack to internal/util 2016-01-19 11:52:29 -08:00
v8_prof_polyfill.js tools: run tick processor without forking 2016-03-02 14:01:11 -08:00
v8_prof_processor.js tools: enable linting for v8_prof_processor.js 2016-05-17 17:24:50 -07:00

Internal Modules

The modules in lib/internal are intended for internal use in Node.js core only, and are not accessible with require() from user modules. These are subject to change at any time. Reliance on these modules outside of core is not supported in any way.