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

Issue 7528013: linux: warn if we're not running with the SUID sandbox (Closed)

Created:
9 years, 4 months ago by Evan Martin
Modified:
9 years, 4 months ago
Reviewers:
Lei Zhang, agl
CC:
chromium-reviews, joi+watch-content_chromium.org, jam
Visibility:
Public.

Description

linux: warn if we're not running with the SUID sandbox This should help reduce confusion on when/whether a sandbox is running. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=95912

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -3 lines) Patch
M content/browser/zygote_host_linux.cc View 2 chunks +8 lines, -3 lines 1 comment Download

Messages

Total messages: 8 (0 generated)
Evan Martin
9 years, 4 months ago (2011-08-08 23:37:01 UTC) #1
agl
LGTM
9 years, 4 months ago (2011-08-08 23:49:39 UTC) #2
Lei Zhang
http://codereview.chromium.org/7528013/diff/1/content/browser/zygote_host_linux.cc File content/browser/zygote_host_linux.cc (right): http://codereview.chromium.org/7528013/diff/1/content/browser/zygote_host_linux.cc#newcode134 content/browser/zygote_host_linux.cc:134: LOG(FATAL) << "The SUID sandbox helper binary was found, ...
9 years, 4 months ago (2011-08-09 09:09:45 UTC) #3
Evan Martin
Hm, can you elaborate on what your setup is? I thought I convinced myself sandbox_binary_ ...
9 years, 4 months ago (2011-08-09 15:25:38 UTC) #4
Lei Zhang
On 2011/08/09 15:25:38, Evan Martin wrote: > Hm, can you elaborate on what your setup ...
9 years, 4 months ago (2011-08-09 18:59:52 UTC) #5
Evan Martin
What is the location? How did it get set to that?
9 years, 4 months ago (2011-08-09 19:02:45 UTC) #6
Lei Zhang
On 2011/08/09 19:02:45, Evan Martin wrote: > What is the location? How did it get ...
9 years, 4 months ago (2011-08-09 19:25:57 UTC) #7
Evan Martin
9 years, 4 months ago (2011-08-09 20:15:23 UTC) #8
On Tue, Aug 9, 2011 at 12:25 PM,  <thestig@chromium.org> wrote:
> On 2011/08/09 19:02:45, Evan Martin wrote:
>>
>> What is the location?  How did it get set to that?
>
> It's my own debug build. I set it to /ulg/home/thestig/chrome_sandbox and I
> move
> there / out of the way to test the effect of sandboxing.

Ah, hm, so you are specifically moving the binary around?
Maybe you could just do
export CHROME_DEVEL_SANDBOX=
before running rather than relocating the binary?

Powered by Google App Engine
This is Rietveld 408576698