mirror of
https://github.com/nodejs/node.git
synced 2024-12-01 16:10:02 +01:00
6f5d95de6d
This is mostly working, but not completely ideal for two reasons. 1. Rather than emitting an error on the ChildProcess object when the setgid/setuid fails, it is simply printing the error to stderr and exiting. The same happens with the cwd, so that's not completely terrible. 2. I don't have a good test for this. It fails with an EPERM if you try to change the uid or gid as a non-root user. |
||
---|---|---|
.. | ||
_debugger.js | ||
assert.js | ||
buffer.js | ||
child_process.js | ||
console.js | ||
constants.js | ||
crypto.js | ||
dgram.js | ||
dns.js | ||
events.js | ||
freelist.js | ||
fs.js | ||
http.js | ||
https.js | ||
net.js | ||
os.js | ||
path.js | ||
querystring.js | ||
readline.js | ||
repl.js | ||
stream.js | ||
string_decoder.js | ||
sys.js | ||
timers.js | ||
tls.js | ||
tty.js | ||
url.js | ||
util.js | ||
vm.js |