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

Issue 197213015: [Linux] Use PR_SET_NO_NEW_PRIVS by default in base/process/launch.h. (Closed)

Created:
6 years, 9 months ago by Robert Sesek
Modified:
6 years, 8 months ago
CC:
chromium-reviews, erikwright+watch_chromium.org, Kees Cook
Visibility:
Public.

Description

[Linux] Use PR_SET_NO_NEW_PRIVS by default in base/process/launch.h. BUG=358713 R=jln@chromium.org, thakis@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=262786

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : #

Patch Set 4 : Ready for review? #

Patch Set 5 : Fix docs nit #

Total comments: 6

Patch Set 6 : Address jln's comments #

Total comments: 4

Patch Set 7 : Add function #

Unified diffs Side-by-side diffs Delta from patch set Stats (+64 lines, -9 lines) Patch
M apps/load_and_launch_browsertest.cc View 1 2 3 4 5 6 2 chunks +2 lines, -2 lines 0 comments Download
M base/process/launch.h View 1 2 3 4 5 6 2 chunks +8 lines, -0 lines 0 comments Download
M base/process/launch.cc View 1 2 3 4 5 6 2 chunks +12 lines, -0 lines 0 comments Download
M base/process/launch_posix.cc View 1 2 3 4 5 2 chunks +17 lines, -0 lines 0 comments Download
M base/test/launcher/test_launcher.cc View 1 2 3 1 chunk +7 lines, -0 lines 0 comments Download
M chrome/browser/chrome_main_browsertest.cc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/printing/cloud_print/test/cloud_print_policy_browsertest.cc View 1 2 3 4 5 6 2 chunks +4 lines, -2 lines 0 comments Download
M chrome/browser/sessions/session_restore_browsertest.cc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M content/browser/zygote_host/zygote_host_impl_linux.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M sandbox/linux/suid/sandbox.c View 1 2 3 4 5 6 2 chunks +11 lines, -3 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
Robert Sesek
thakis: base/ and chrome/ jln: content/browser/zygote_host/ Had this mitigation been in place, we would have ...
6 years, 8 months ago (2014-04-01 21:39:57 UTC) #1
jln (very slow on Chromium)
lgtm I'm glad to see this tried with NO_NEW_PRIV as the default. Do you want ...
6 years, 8 months ago (2014-04-01 21:54:23 UTC) #2
Nico
lgtm https://codereview.chromium.org/197213015/diff/120001/chrome/browser/sessions/session_restore_browsertest.cc File chrome/browser/sessions/session_restore_browsertest.cc (right): https://codereview.chromium.org/197213015/diff/120001/chrome/browser/sessions/session_restore_browsertest.cc#newcode930 chrome/browser/sessions/session_restore_browsertest.cc:930: // new child will be a test browser ...
6 years, 8 months ago (2014-04-02 01:44:17 UTC) #3
Robert Sesek
On 2014/04/01 21:54:23, jln wrote: > Do you want to add a clear message in ...
6 years, 8 months ago (2014-04-02 15:39:22 UTC) #4
Nico
https://codereview.chromium.org/197213015/diff/120001/chrome/browser/sessions/session_restore_browsertest.cc File chrome/browser/sessions/session_restore_browsertest.cc (right): https://codereview.chromium.org/197213015/diff/120001/chrome/browser/sessions/session_restore_browsertest.cc#newcode930 chrome/browser/sessions/session_restore_browsertest.cc:930: // new child will be a test browser process. ...
6 years, 8 months ago (2014-04-02 15:43:58 UTC) #5
jln (very slow on Chromium)
https://chromiumcodereview.appspot.com/197213015/diff/140001/sandbox/linux/suid/sandbox.c File sandbox/linux/suid/sandbox.c (right): https://chromiumcodereview.appspot.com/197213015/diff/140001/sandbox/linux/suid/sandbox.c#newcode491 sandbox/linux/suid/sandbox.c:491: fprintf(stderr, "The setuid sandbox is not running as root. ...
6 years, 8 months ago (2014-04-02 19:06:55 UTC) #6
Robert Sesek
https://codereview.chromium.org/197213015/diff/120001/chrome/browser/sessions/session_restore_browsertest.cc File chrome/browser/sessions/session_restore_browsertest.cc (right): https://codereview.chromium.org/197213015/diff/120001/chrome/browser/sessions/session_restore_browsertest.cc#newcode930 chrome/browser/sessions/session_restore_browsertest.cc:930: // new child will be a test browser process. ...
6 years, 8 months ago (2014-04-02 19:57:04 UTC) #7
Nico
lgtm
6 years, 8 months ago (2014-04-02 20:09:11 UTC) #8
jln (very slow on Chromium)
lgtm
6 years, 8 months ago (2014-04-02 20:36:02 UTC) #9
Robert Sesek
6 years, 8 months ago (2014-04-09 20:06:39 UTC) #10
Message was sent while issue was closed.
Committed patchset #7 manually as r262786.

Powered by Google App Engine
This is Rietveld 408576698