-
Notifications
You must be signed in to change notification settings - Fork 12.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[beta] Fixes #46775 -- don't mutate the process's environment in Command::exec #55611
Conversation
r? @aidanhs (rust_highfive has picked a reviewer for you, use r? to override) |
|
This commit moves a number of our encrypted credentials stored in configuration files in this repository to env vars on the web UI. This will hopefully make it easier to rotate credentials in the future as well as quickly change them if the need arises. (quicker than landing a PR that is). This also updates the travis deployment process to always use the `aws` command line tool which we're already installing on Linux and should enable us to avoid all `dpl` gem issues as well as have greater control over what's going where.
9e86e06
to
dc86ac9
Compare
I've also included #55304 to help switch over our deploy credentials. ping r? @Mark-Simulacrum or @pietroalbini |
@bors r+ p=1 |
📌 Commit dc86ac9 has been approved by |
Uh, wait, the actual backport is missing? @bors r- |
…mmand::exec Instead, pass the environment to execvpe, so the kernel can apply it directly to the new process. This avoids a use-after-free in the case where exec'ing the new process fails for any reason, as well as a race condition if there are other threads alive during the exec.
@bors: r=pietroalbini er yes, I didn't expect this branch hadn't been looked at yet... |
📌 Commit a12b62e has been approved by |
⌛ Testing commit a12b62e with merge c4d00167c14f4feecfc9fa94d862765d578e9f8c... |
💔 Test failed - status-appveyor |
@bors: retry
|
📌 Commit 39fa89b has been approved by |
💔 Test failed - status-appveyor |
Fix the recent spurious 3 hour timeouts.
This should allow the timings be more balanced.
@bors: r+ |
📌 Commit 7fe9f76 has been approved by |
⌛ Testing commit 7fe9f76 with merge 6a475253ef1aa602cc40fdb450f5b8e1dc05960d... |
💔 Test failed - status-travis |
The job Click to expand the log.
I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact |
@bors: retry Good ol' network failures |
@bors p=172 |
☀️ Test successful - status-appveyor, status-travis |
This is a backport of the following PRs: