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

Issue 11300014: Seccomp-BPF: relax failure in probe process setup (Closed)

Created:
8 years, 1 month ago by jln (very slow on Chromium)
Modified:
8 years, 1 month ago
Reviewers:
Markus (顧孟勤)
CC:
chromium-reviews, agl, jln+watch_chromium.org, Jorge Lucangeli Obes
Visibility:
Public.

Description

Seccomp-BPF: relax failure in probe process setup When we set-up the probe process to test seccomp-bpf availability, setting a pipe on stderr can sometimes fail. Presumably if this descriptor is backed by a file on a file system that will return an error on close(). We don't consider not being able to set-up the pipe on stderr as a fatal error anymore. BUG=152530 NOTRY=true Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=164850

Patch Set 1 #

Patch Set 2 : Always disable dup2 failure. #

Total comments: 7

Patch Set 3 : Add vertical space. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+52 lines, -24 lines) Patch
M sandbox/linux/seccomp-bpf/sandbox_bpf.cc View 1 2 6 chunks +52 lines, -24 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
jln (very slow on Chromium)
8 years, 1 month ago (2012-10-26 21:57:45 UTC) #1
Markus (顧孟勤)
https://codereview.chromium.org/11300014/diff/7001/sandbox/linux/seccomp-bpf/sandbox_bpf.cc File sandbox/linux/seccomp-bpf/sandbox_bpf.cc (right): https://codereview.chromium.org/11300014/diff/7001/sandbox/linux/seccomp-bpf/sandbox_bpf.cc#newcode17 sandbox/linux/seccomp-bpf/sandbox_bpf.cc:17: HANDLE_EINTR(write(out_fd, "\n", 1))) { After this change, do we ...
8 years, 1 month ago (2012-10-26 23:14:10 UTC) #2
jln (very slow on Chromium)
https://chromiumcodereview.appspot.com/11300014/diff/7001/sandbox/linux/seccomp-bpf/sandbox_bpf.cc File sandbox/linux/seccomp-bpf/sandbox_bpf.cc (right): https://chromiumcodereview.appspot.com/11300014/diff/7001/sandbox/linux/seccomp-bpf/sandbox_bpf.cc#newcode17 sandbox/linux/seccomp-bpf/sandbox_bpf.cc:17: HANDLE_EINTR(write(out_fd, "\n", 1))) { On 2012/10/26 23:14:11, Markus (顧孟勤) ...
8 years, 1 month ago (2012-10-29 21:15:36 UTC) #3
Markus (顧孟勤)
lgtm
8 years, 1 month ago (2012-10-29 21:30:32 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/11300014/12001
8 years, 1 month ago (2012-10-29 22:59:00 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/11300014/12001
8 years, 1 month ago (2012-10-30 01:29:41 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jln@chromium.org/11300014/12001
8 years, 1 month ago (2012-10-30 01:40:56 UTC) #7
commit-bot: I haz the power
8 years, 1 month ago (2012-10-30 05:01:26 UTC) #8
Change committed as 164850

Powered by Google App Engine
This is Rietveld 408576698