0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/lib/internal
Carl Lei b72d048a74
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-05-04 19:06:02 +02:00
..
process process: fix incorrect usage of assert.fail() 2016-04-18 09:55:41 -07:00
streams streams: refactor LazyTransform to internal/ 2015-09-14 19:58:04 -07:00
bootstrap_node.js process: add process.cpuUsage() - implementation, doc, tests 2016-04-29 16:07:06 -07:00
child_process.js child_process: add keepOpen option to send() 2016-02-22 11:55:30 -05:00
cluster.js cluster: remove handles when disconnecting worker 2015-11-06 23:02:11 +01:00
freelist.js lib: freelist: use .pop() for allocation 2016-03-02 09:24:24 -08:00
linkedlist.js lib,test: deprecate _linklist 2015-10-08 17:32:08 -07:00
module.js repl: keep the built-in modules non-enumerable 2016-04-18 15:31:51 -07:00
net.js net: Validate port in createServer().listen() 2016-04-20 15:41:18 -07:00
process.js process: add process.cpuUsage() - implementation, doc, tests 2016-04-29 16:07:06 -07:00
readline.js readline: emit key info unconditionally 2016-04-05 10:48:59 -04:00
readme.md doc: add internal modules notice 2015-08-25 11:58:50 -04:00
repl.js repl: create history file with mode 0600 2016-05-04 19:06:02 +02:00
socket_list.js child_process: refactor self=this in socket_list 2016-03-27 12:51:33 +03:00
util.js process: add 'warning' event and process.emitWarning() 2016-03-24 13:19:11 -07:00
v8_prof_polyfill.js buffer: add .from(), .alloc() and .allocUnsafe() 2016-03-16 08:34:02 -07:00
v8_prof_processor.js tools: enable linting for v8_prof_processor.js 2016-04-20 08:33:59 -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.