Open
Description
(copied from rust-lang/rust#113730 (comment))
These lines seem questionable:
Lines 152 to 153 in b4bc5db
They lead the fds not being available to child processes by default (unless reverted by Client::configure
) but from_env_ext() does not remove the environment variables. Which means child processes are instructed to access file descriptor numbers for jobserver communication that aren't open anymore and may have been reopened to point to other files. This seems like a violation of IO-safety (rust-lang/rust#116059 (comment)).
Either cloexec shouldn't be set or the environment variables should also be removed and only be added back via configure
.
Metadata
Metadata
Assignees
Labels
No labels