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

Issue 165673002: Setuid sandbox: exit(2) on SIGABRT (Closed)

Created:
6 years, 10 months ago by jln (very slow on Chromium)
Modified:
6 years, 10 months ago
CC:
chromium-reviews, agl, jln+watch_chromium.org
Visibility:
Public.

Description

Setuid sandbox: exit(2) on SIGABRT The setuid sandbox waits on its one child and then dies afterwards. When receiving SIGABRT, instead of dumping core, simply exit the process. There is no interesting information to be gathered from knowing that the process is inside waitid(2), one should look at the child process instead. This patch hopes to reduce red herrings. BUG=334345 NOTRY=true R=jorgelo@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=251265

Patch Set 1 #

Total comments: 6

Patch Set 2 : Address nit. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -0 lines) Patch
M sandbox/linux/suid/sandbox.c View 1 2 chunks +15 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
jln (very slow on Chromium)
Jorge, do you mind taking a look? Hopefully this will help making things less confusing.
6 years, 10 months ago (2014-02-14 01:18:10 UTC) #1
Jorge Lucangeli Obes
https://chromiumcodereview.appspot.com/165673002/diff/1/sandbox/linux/suid/sandbox.c File sandbox/linux/suid/sandbox.c (right): https://chromiumcodereview.appspot.com/165673002/diff/1/sandbox/linux/suid/sandbox.c#newcode61 sandbox/linux/suid/sandbox.c:61: static void ExitWithErrorSignalhandler(int signal) { Cap in "Handler"? https://chromiumcodereview.appspot.com/165673002/diff/1/sandbox/linux/suid/sandbox.c#newcode204 ...
6 years, 10 months ago (2014-02-14 01:39:56 UTC) #2
jln (very slow on Chromium)
PTAL! https://chromiumcodereview.appspot.com/165673002/diff/1/sandbox/linux/suid/sandbox.c File sandbox/linux/suid/sandbox.c (right): https://chromiumcodereview.appspot.com/165673002/diff/1/sandbox/linux/suid/sandbox.c#newcode61 sandbox/linux/suid/sandbox.c:61: static void ExitWithErrorSignalhandler(int signal) { On 2014/02/14 01:39:57, ...
6 years, 10 months ago (2014-02-14 01:45:14 UTC) #3
Jorge Lucangeli Obes
lgtm I meant that SIGABRT can be sent even when the process is not hung ...
6 years, 10 months ago (2014-02-14 01:59:23 UTC) #4
jln (very slow on Chromium)
The CQ bit was checked by jln@chromium.org
6 years, 10 months ago (2014-02-14 02:05:28 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jln@chromium.org/165673002/50001
6 years, 10 months ago (2014-02-14 02:06:43 UTC) #6
jln (very slow on Chromium)
The CQ bit was unchecked by jln@chromium.org
6 years, 10 months ago (2014-02-14 06:55:35 UTC) #7
jln (very slow on Chromium)
The CQ bit was checked by jln@chromium.org
6 years, 10 months ago (2014-02-14 06:56:04 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/165673002/50001
6 years, 10 months ago (2014-02-14 06:56:12 UTC) #9
jln (very slow on Chromium)
6 years, 10 months ago (2014-02-14 07:23:54 UTC) #10
Message was sent while issue was closed.
Committed patchset #2 manually as r251265 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698