diff options
author | Bartosz Sosnowski <bartosz@janeasystems.com> | 2018-03-08 02:09:24 +0300 |
---|---|---|
committer | Bartosz Sosnowski <bartosz@janeasystems.com> | 2018-05-24 12:06:12 +0300 |
commit | 531b4bedcac14044f09129ffb65dab71cc2707d9 (patch) | |
tree | c137e1fe295f477dea78b0e1f6283e3499c36bf6 /src/pipe_wrap.h | |
parent | 03043e290ab5e4e1773dc1827a57e1acc141fdf6 (diff) |
net: allow IPC servers be accessible by all
Adds mappings to uv_pipe_chmod call by adding two new options to
listen call. This allows the IPC server pipe to be made readable or
writable by all users.
Fixes: https://github.com/nodejs/node/issues/19154
PR-URL: https://github.com/nodejs/node/pull/19472
Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Diffstat (limited to 'src/pipe_wrap.h')
-rw-r--r-- | src/pipe_wrap.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pipe_wrap.h b/src/pipe_wrap.h index 5a611c0f94b..d6e45c28ff7 100644 --- a/src/pipe_wrap.h +++ b/src/pipe_wrap.h @@ -63,6 +63,7 @@ class PipeWrap : public ConnectionWrap<PipeWrap, uv_pipe_t> { static void SetPendingInstances( const v8::FunctionCallbackInfo<v8::Value>& args); #endif + static void Fchmod(const v8::FunctionCallbackInfo<v8::Value>& args); }; |