Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(27)

Issue 837083002: Linux Sandbox: move init processes to new session id. (Closed)

Created:
5 years, 11 months ago by jln (very slow on Chromium)
Modified:
5 years, 11 months ago
Reviewers:
mdempsky
CC:
chromium-reviews, darin-cc_chromium.org, jam, jln+watch_chromium.org, rickyz (no longer on Chrome)
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Linux Sandbox: move init processes to new session id. The setuid sandbox creates new PID namespaces. Make sure to have the new init processes be inside a new session id and process group so that children can't signal processes outside of the PID namespace. BUG=446680 Committed: https://crrev.com/f48cead580e6c82a8f3c4ac2a493249da780ee28 Cr-Commit-Position: refs/heads/master@{#310394}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -1 line) Patch
M components/nacl/loader/sandbox_linux/nacl_sandbox_linux.cc View 1 chunk +1 line, -0 lines 0 comments Download
M content/zygote/zygote_main_linux.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M sandbox/linux/suid/client/setuid_sandbox_client.h View 2 chunks +7 lines, -1 line 0 comments Download
M sandbox/linux/suid/client/setuid_sandbox_client.cc View 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (2 generated)
jln (very slow on Chromium)
Matthew: PTAL!
5 years, 11 months ago (2015-01-07 00:48:19 UTC) #2
mdempsky
lgtm I'm a little worried if this has any usability implications (e.g., maybe a desktop ...
5 years, 11 months ago (2015-01-07 00:58:39 UTC) #3
jln (very slow on Chromium)
On 2015/01/07 00:58:39, mdempsky wrote: > I'm a little worried if this has any usability ...
5 years, 11 months ago (2015-01-07 01:08:49 UTC) #4
Chris Masone
On 2015/01/07 01:08:49, jln wrote: > On 2015/01/07 00:58:39, mdempsky wrote: > > I'm a ...
5 years, 11 months ago (2015-01-07 01:43:09 UTC) #5
mdempsky
On 2015/01/07 01:43:09, Chris Masone wrote: > We send SIGTERM to the entire browser process ...
5 years, 11 months ago (2015-01-07 01:49:05 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/837083002/1
5 years, 11 months ago (2015-01-07 22:21:05 UTC) #8
commit-bot: I haz the power
Committed patchset #1 (id:1)
5 years, 11 months ago (2015-01-07 22:36:06 UTC) #9
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/f48cead580e6c82a8f3c4ac2a493249da780ee28 Cr-Commit-Position: refs/heads/master@{#310394}
5 years, 11 months ago (2015-01-07 22:37:54 UTC) #10
jln (very slow on Chromium)
5 years, 11 months ago (2015-01-12 20:14:39 UTC) #11
Message was sent while issue was closed.
A revert of this CL (patchset #1 id:1) has been created in
https://codereview.chromium.org/847723003/ by jln@chromium.org.

The reason for reverting is: Preemptively revert in case it caused a performance
regression described in https://crbug.com/447164 even though it seems unlikely..

Powered by Google App Engine
This is Rietveld 408576698