Files
node/lib
Joyee Cheung 321e296371 process: move POSIX credential accessors into node_credentials.cc
Expose the POSIX credential accessors through
`internalBinding('credentials')` instead of setting them on the
process or bootstrapper object from C++ directly. Also moves
`SafeGetEnv` from `internalBinding('util')` to
`internalBinding('credentials')` since it's closely related to
the credentials.

In the JS land, instead of wrapping the bindings then writing
to the process object directly in main_thread_only.js, return
the wrapped functions back to bootstrap/node.js where they get
written to the process object conditionally for clarity.

Refs: https://github.com/nodejs/node/issues/24961

PR-URL: https://github.com/nodejs/node/pull/25066
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
2018-12-19 02:44:03 +08:00
..
2018-12-10 17:07:18 +01:00
2018-12-10 17:07:18 +01:00
2018-11-06 10:58:42 -05:00
2018-11-20 10:42:31 -08:00
2018-12-05 16:55:00 +01:00
2018-07-16 15:55:15 -07:00
2017-03-10 11:23:48 -08:00
2018-12-14 18:13:40 +01:00