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

Issue 1176413003: Build ForkWithFlags and part of NamespaceSandbox under nonsfi newlib. (Closed)

Created:
5 years, 6 months ago by rickyz (no longer on Chrome)
Modified:
5 years, 6 months ago
CC:
chromium-reviews, erikwright+watch_chromium.org, rickyz+watch_chromium.org, jln+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Build ForkWithFlags and part of NamespaceSandbox under nonsfi newlib. These functions are needed for enabling separate PID namespaces for nonsfi newlib NaCl processes. This change is an adaptation of hidehiko@'s https://codereview.chromium.org/1161933003/ with some additional functions from NamespaceSandbox added. BUG=460972 Committed: https://crrev.com/179aeb7b6d1d9bb4c58a1abdc3929df197116056 Cr-Commit-Position: refs/heads/master@{#335175}

Patch Set 1 : #

Total comments: 8

Patch Set 2 : Respond to comments. #

Total comments: 3

Patch Set 3 : More comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+117 lines, -89 lines) Patch
M base/base_nacl.gyp View 1 chunk +4 lines, -0 lines 0 comments Download
M base/process/launch.h View 1 chunk +1 line, -1 line 0 comments Download
M base/process/launch_posix.cc View 4 chunks +56 lines, -51 lines 0 comments Download
M sandbox/linux/services/namespace_sandbox.h View 3 chunks +2 lines, -2 lines 0 comments Download
M sandbox/linux/services/namespace_sandbox.cc View 1 7 chunks +14 lines, -7 lines 0 comments Download
M sandbox/linux/system_headers/linux_signal.h View 1 2 3 chunks +40 lines, -28 lines 0 comments Download

Messages

Total messages: 15 (5 generated)
rickyz (no longer on Chrome)
Here's a change to enable ForkWithFlags and most of NamespaceSandbox for nonsfi newlib NaCl. This ...
5 years, 6 months ago (2015-06-16 00:23:06 UTC) #3
hidehiko
https://codereview.chromium.org/1176413003/diff/20001/sandbox/linux/services/namespace_sandbox.cc File sandbox/linux/services/namespace_sandbox.cc (right): https://codereview.chromium.org/1176413003/diff/20001/sandbox/linux/services/namespace_sandbox.cc#newcode158 sandbox/linux/services/namespace_sandbox.cc:158: SIGHUP, SIGINT, SIGABRT, SIGQUIT, SIGPIPE, SIGTERM, SIGUSR1, SIGUSR2, These ...
5 years, 6 months ago (2015-06-16 05:41:53 UTC) #4
rickyz (no longer on Chrome)
https://codereview.chromium.org/1176413003/diff/20001/sandbox/linux/services/namespace_sandbox.cc File sandbox/linux/services/namespace_sandbox.cc (right): https://codereview.chromium.org/1176413003/diff/20001/sandbox/linux/services/namespace_sandbox.cc#newcode158 sandbox/linux/services/namespace_sandbox.cc:158: SIGHUP, SIGINT, SIGABRT, SIGQUIT, SIGPIPE, SIGTERM, SIGUSR1, SIGUSR2, On ...
5 years, 6 months ago (2015-06-16 20:57:07 UTC) #5
hidehiko
LGTM. I think you'll need base OWNER review, too.
5 years, 6 months ago (2015-06-18 16:16:53 UTC) #6
jln (very slow on Chromium)
lgtm https://chromiumcodereview.appspot.com/1176413003/diff/40001/sandbox/linux/system_headers/linux_signal.h File sandbox/linux/system_headers/linux_signal.h (right): https://chromiumcodereview.appspot.com/1176413003/diff/40001/sandbox/linux/system_headers/linux_signal.h#newcode59 sandbox/linux/system_headers/linux_signal.h:59: #define LINUX_SIGHUP SIGHUP Wouldn't it be better to: ...
5 years, 6 months ago (2015-06-18 18:23:20 UTC) #7
rickyz (no longer on Chrome)
Thanks, adding thakis@ for base. https://codereview.chromium.org/1176413003/diff/40001/sandbox/linux/system_headers/linux_signal.h File sandbox/linux/system_headers/linux_signal.h (right): https://codereview.chromium.org/1176413003/diff/40001/sandbox/linux/system_headers/linux_signal.h#newcode59 sandbox/linux/system_headers/linux_signal.h:59: #define LINUX_SIGHUP SIGHUP On ...
5 years, 6 months ago (2015-06-18 22:50:58 UTC) #9
Nico
base lgtm
5 years, 6 months ago (2015-06-18 23:01:41 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1176413003/60001
5 years, 6 months ago (2015-06-18 23:05:55 UTC) #13
commit-bot: I haz the power
Committed patchset #3 (id:60001)
5 years, 6 months ago (2015-06-19 00:18:55 UTC) #14
commit-bot: I haz the power
5 years, 6 months ago (2015-06-19 00:19:38 UTC) #15
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/179aeb7b6d1d9bb4c58a1abdc3929df197116056
Cr-Commit-Position: refs/heads/master@{#335175}

Powered by Google App Engine
This is Rietveld 408576698