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

Issue 11418277: Allow ASanified Chrome to use sched_getaffinity (Closed)

Created:
8 years ago by Alexander Potapenko
Modified:
8 years ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, jln+watch_chromium.org
Visibility:
Public.

Description

Allow ASanified Chrome to use sched_getaffinity BUG=127536 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=170827

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

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

Messages

Total messages: 7 (0 generated)
Alexander Potapenko
Please take a look.
8 years ago (2012-12-01 03:07:12 UTC) #1
jln (very slow on Chromium)
Your CL modifies the "sets" themselves, which we really don't want to do. One option ...
8 years ago (2012-12-03 18:43:38 UTC) #2
Alexander Potapenko
PTAL
8 years ago (2012-12-03 21:14:47 UTC) #3
Alexander Potapenko
> Have you been able to test ASAN under different process types ? For instance ...
8 years ago (2012-12-03 21:16:24 UTC) #4
jln (very slow on Chromium)
On 2012/12/03 21:14:47, Alexander Potapenko wrote: > PTAL lgtm
8 years ago (2012-12-03 21:40:02 UTC) #5
jln (very slow on Chromium)
On 2012/12/03 21:16:24, Alexander Potapenko wrote: > > Have you been able to test ASAN ...
8 years ago (2012-12-03 21:42:13 UTC) #6
jln (very slow on Chromium)
8 years ago (2012-12-04 00:16:08 UTC) #7
Message was sent while issue was closed.
I'm very sorry I missed this in the review :(

https://chromiumcodereview.appspot.com/11418277/diff/5001/content/common/sand...
File content/common/sandbox_seccomp_bpf_linux.cc (right):

https://chromiumcodereview.appspot.com/11418277/diff/5001/content/common/sand...
content/common/sandbox_seccomp_bpf_linux.cc:1258: case __NR_sched_getaffinity:
You need to add return ErrorCode(ErrorCode::ERR_ALLOWED); here.

Powered by Google App Engine
This is Rietveld 408576698