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

Issue 10807059: Refactor the setuid sandbox client code to its own class. (Closed)

Created:
8 years, 5 months ago by jln (very slow on Chromium)
Modified:
8 years, 5 months ago
CC:
chromium-reviews, erikwright (departed), jam, joi+watch-content_chromium.org, darin-cc_chromium.org, brettw-cc_chromium.org, agl, jln+watch_chromium.org, Chris Evans, Jorge Lucangeli Obes
Visibility:
Public.

Description

Create a new SetuidSandboxClient class. We move the setuid sandbox "client" code to its own location in /sandbox/linux/suid/client and we create a SetuidSandboxClient class to use it. NOTRY=true Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=147993

Patch Set 1 : #

Total comments: 8

Patch Set 2 : Address reviewer's comments and other minor nits. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+421 lines, -212 lines) Patch
M base/linux_util.h View 1 chunk +0 lines, -5 lines 0 comments Download
M base/linux_util.cc View 1 chunk +0 lines, -5 lines 0 comments Download
M content/browser/zygote_host_impl_linux.cc View 2 chunks +5 lines, -34 lines 0 comments Download
M content/zygote/zygote_main_linux.cc View 7 chunks +27 lines, -57 lines 0 comments Download
M sandbox/linux/sandbox_linux.gypi View 4 chunks +23 lines, -1 line 0 comments Download
A sandbox/linux/suid/client/setuid_sandbox_client.h View 1 1 chunk +54 lines, -0 lines 0 comments Download
A sandbox/linux/suid/client/setuid_sandbox_client.cc View 1 1 chunk +168 lines, -0 lines 0 comments Download
A sandbox/linux/suid/client/setuid_sandbox_client_unittest.cc View 1 chunk +78 lines, -0 lines 0 comments Download
A sandbox/linux/suid/common/sandbox.h View 1 chunk +43 lines, -0 lines 0 comments Download
A + sandbox/linux/suid/common/suid_unsafe_environment_variables.h View 3 chunks +17 lines, -1 line 0 comments Download
D sandbox/linux/suid/sandbox.h View 1 chunk +0 lines, -23 lines 0 comments Download
M sandbox/linux/suid/sandbox.c View 4 chunks +6 lines, -22 lines 0 comments Download
D sandbox/linux/suid/suid_unsafe_environment_variables.h View 1 chunk +0 lines, -64 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
jln (very slow on Chromium)
A new SetuidSandboxClient class to cleanup a lot of stuff.
8 years, 5 months ago (2012-07-20 22:06:19 UTC) #1
Jorge Lucangeli Obes
sandbox/linux/suid/sandbox.c LGTM https://chromiumcodereview.appspot.com/10807059/diff/28/sandbox/linux/suid/client/setuid_sandbox_client.cc File sandbox/linux/suid/client/setuid_sandbox_client.cc (right): https://chromiumcodereview.appspot.com/10807059/diff/28/sandbox/linux/suid/client/setuid_sandbox_client.cc#newcode138 sandbox/linux/suid/client/setuid_sandbox_client.cc:138: LOG(ERROR) << "Failed to write to chroot ...
8 years, 5 months ago (2012-07-23 20:23:44 UTC) #2
Markus (顧孟勤)
lgtm https://chromiumcodereview.appspot.com/10807059/diff/28/sandbox/linux/suid/client/setuid_sandbox_client.h File sandbox/linux/suid/client/setuid_sandbox_client.h (right): https://chromiumcodereview.appspot.com/10807059/diff/28/sandbox/linux/suid/client/setuid_sandbox_client.h#newcode32 sandbox/linux/suid/client/setuid_sandbox_client.h:32: // Did we get launched through an up ...
8 years, 5 months ago (2012-07-23 21:06:30 UTC) #3
jln (very slow on Chromium)
Thanks! https://chromiumcodereview.appspot.com/10807059/diff/28/sandbox/linux/suid/client/setuid_sandbox_client.cc File sandbox/linux/suid/client/setuid_sandbox_client.cc (right): https://chromiumcodereview.appspot.com/10807059/diff/28/sandbox/linux/suid/client/setuid_sandbox_client.cc#newcode138 sandbox/linux/suid/client/setuid_sandbox_client.cc:138: LOG(ERROR) << "Failed to write to chroot pipe: ...
8 years, 5 months ago (2012-07-23 21:32:14 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jln@chromium.org/10807059/13001
8 years, 5 months ago (2012-07-23 21:33:45 UTC) #5
commit-bot: I haz the power
Presubmit check for 10807059-13001 failed and returned exit status 1. Running presubmit commit checks ...
8 years, 5 months ago (2012-07-23 21:33:50 UTC) #6
jln (very slow on Chromium)
Hi Brett, do you mind approving this tiny change to /base? (Also Rubberstamp for content/browser ...
8 years, 5 months ago (2012-07-23 21:43:53 UTC) #7
brettw
remove code from base -> auto LGTM
8 years, 5 months ago (2012-07-23 21:50:44 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jln@chromium.org/10807059/13001
8 years, 5 months ago (2012-07-23 22:09:51 UTC) #9
commit-bot: I haz the power
Try job failure for 10807059-13001 (retry) on mac_rel for step "browser_tests". It's a second try, ...
8 years, 5 months ago (2012-07-23 23:31:08 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jln@chromium.org/10807059/13001
8 years, 5 months ago (2012-07-23 23:36:10 UTC) #11
commit-bot: I haz the power
8 years, 5 months ago (2012-07-23 23:36:42 UTC) #12
Change committed as 147993

Powered by Google App Engine
This is Rietveld 408576698