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

Issue 524603002: sandbox: Fix RedirectToUserSpacePolicyWrapper (Closed)

Created:
6 years, 3 months ago by leecam
Modified:
6 years, 3 months ago
CC:
chromium-reviews, jln+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

sandbox: Fix RedirectToUserSpacePolicyWrapper This fixes RedirectToUserSpacePolicyWrapper to handle ERRNO ErrorCodes that are behind Conditional ErrorCodes. BUG=408953 TEST=sandbox_linux_unittests: Added new test Committed: https://crrev.com/2652904cdf19f2e432ec52fff7657c483d358bb0 Cr-Commit-Position: refs/heads/master@{#293116}

Patch Set 1 #

Patch Set 2 : rebase #

Patch Set 3 : better function names #

Patch Set 4 : better comments #

Total comments: 12

Patch Set 5 : code review changes #

Total comments: 2

Patch Set 6 : use uname #

Unified diffs Side-by-side diffs Delta from patch set Stats (+112 lines, -24 lines) Patch
M sandbox/linux/seccomp-bpf/sandbox_bpf.h View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M sandbox/linux/seccomp-bpf/sandbox_bpf.cc View 1 2 3 4 3 chunks +37 lines, -3 lines 0 comments Download
M sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc View 1 2 3 4 5 3 chunks +71 lines, -21 lines 0 comments Download

Messages

Total messages: 11 (1 generated)
leecam
leecam@chromium.org changed reviewers: + jln@chromium.org
6 years, 3 months ago (2014-08-29 12:32:06 UTC) #1
jln (very slow on Chromium)
Thanks for taking this on, Lee! https://codereview.chromium.org/524603002/diff/60001/sandbox/linux/seccomp-bpf/sandbox_bpf.cc File sandbox/linux/seccomp-bpf/sandbox_bpf.cc (right): https://codereview.chromium.org/524603002/diff/60001/sandbox/linux/seccomp-bpf/sandbox_bpf.cc#newcode202 sandbox/linux/seccomp-bpf/sandbox_bpf.cc:202: if ((err.err() & ...
6 years, 3 months ago (2014-08-29 20:40:06 UTC) #2
leecam
https://codereview.chromium.org/524603002/diff/60001/sandbox/linux/seccomp-bpf/sandbox_bpf.cc File sandbox/linux/seccomp-bpf/sandbox_bpf.cc (right): https://codereview.chromium.org/524603002/diff/60001/sandbox/linux/seccomp-bpf/sandbox_bpf.cc#newcode202 sandbox/linux/seccomp-bpf/sandbox_bpf.cc:202: if ((err.err() & SECCOMP_RET_ACTION) == SECCOMP_RET_ERRNO) { On 2014/08/29 ...
6 years, 3 months ago (2014-08-29 22:56:31 UTC) #3
leecam
PTAL changes done. Little uneasy adding the IsRequiredForUnsafeTrap call in this CL but see what ...
6 years, 3 months ago (2014-08-29 22:58:54 UTC) #4
jln (very slow on Chromium)
lgtm, but I would prefer if: - You didn't rely on FD 100 being unused. ...
6 years, 3 months ago (2014-09-02 18:41:54 UTC) #5
leecam
Thanks! I'll change as per my reply to your comment https://codereview.chromium.org/524603002/diff/80001/sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc File sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc (right): https://codereview.chromium.org/524603002/diff/80001/sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc#newcode2297 ...
6 years, 3 months ago (2014-09-02 19:00:13 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/leecam@chromium.org/524603002/100001
6 years, 3 months ago (2014-09-03 09:16:32 UTC) #8
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_aosp on tryserver.chromium.linux ...
6 years, 3 months ago (2014-09-03 10:04:41 UTC) #9
commit-bot: I haz the power
Committed patchset #6 (id:100001) as 9a87a07661b32eaa8073038365c3a63657249bb4
6 years, 3 months ago (2014-09-03 11:00:03 UTC) #10
commit-bot: I haz the power
6 years, 3 months ago (2014-09-10 03:25:02 UTC) #11
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/2652904cdf19f2e432ec52fff7657c483d358bb0
Cr-Commit-Position: refs/heads/master@{#293116}

Powered by Google App Engine
This is Rietveld 408576698