Skip to content

fix: enable setuid sandbox on linux (backport: 5-0-x) - #17343

Merged
codebytere merged 1 commit into
electron:5-0-xfrom
trop-bot:5-0-x-bp-feat-enable-setuid-sandbox-on-linux-1552339289122
Mar 14, 2019
Merged

codebytere merged 1 commit into
electron:5-0-xfrom
trop-bot:5-0-x-bp-feat-enable-setuid-sandbox-on-linux-1552339289122

Conversation

@trop

@trop trop Bot commented Mar 11, 2019

Copy link
Copy Markdown
Contributor

Backport of #17269

See that PR for details.

Notes: Enabled the setuid sandbox on Linux, allowing Electron to launch sandboxed processes in environments that disable CLONE_NEWUSER for unprivileged users.

@electron-cation electron-cation Bot added the new-pr 🌱 PR opened recently label Mar 11, 2019
@trop trop Bot mentioned this pull request Mar 11, 2019
3 of 6 tasks
@trop trop Bot added 5-0-x backport This is a backport PR labels Mar 11, 2019
@electron-cation electron-cation Bot removed the new-pr 🌱 PR opened recently label Mar 11, 2019
@nornagon nornagon changed the title feat: enable setuid sandbox on linux (backport: 5-0-x) fix: enable setuid sandbox on linux (backport: 5-0-x) Mar 12, 2019
@nornagon

Copy link
Copy Markdown
Contributor

This isn't really a feat in that it doesn't add any new API surface. It fixes an issue with sandboxing that was exposed in 5-0-x related to the fact that we now enable mixed-sandbox mode by default.

@ckerr ckerr left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For the record, @electron/wg-releases OK'ed this for 5-0-x in the 2019-03-13 meeting

@codebytere codebytere left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving on behalf of Releases WG

@codebytere
codebytere merged commit 3e999ca into electron:5-0-x Mar 14, 2019
@release-clerk

release-clerk Bot commented Mar 14, 2019

Copy link
Copy Markdown

Release Notes Persisted

Enabled the setuid sandbox on Linux, allowing Electron to launch sandboxed processes in environments that disable CLONE_NEWUSER for unprivileged users.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

5-0-x backport This is a backport PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants