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

Issue 2005183002: Handle inconsistent PR_SET_TIMERSLACK_PID values on Android. (Closed)

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

Description

Handle inconsistent PR_SET_TIMERSLACK_PID values on Android. This prctl is custom to Android, and depending on the Android kernel version it has several different values. By random luck, the other prctl numbers they clobbered do not look super scary (unless there is a bug involving Intel mpx), so I opted to allow them all instead of relying on runtime kernel version detection. BUG=611916 Committed: https://crrev.com/41db13c68491ee1ab9149ba1bef307b71a19bb39 Cr-Commit-Position: refs/heads/master@{#395737}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Unconditionally allow all prctl values. #

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

Messages

Total messages: 11 (3 generated)
rickyz (no longer on Chrome)
4 years, 6 months ago (2016-05-24 07:56:52 UTC) #2
Robert Sesek
https://codereview.chromium.org/2005183002/diff/1/sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.cc File sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.cc (right): https://codereview.chromium.org/2005183002/diff/1/sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.cc#newcode160 sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.cc:160: #else I think we need to permit all three ...
4 years, 6 months ago (2016-05-24 14:51:40 UTC) #3
rickyz (no longer on Chrome)
https://codereview.chromium.org/2005183002/diff/1/sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.cc File sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.cc (right): https://codereview.chromium.org/2005183002/diff/1/sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.cc#newcode160 sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.cc:160: #else On 2016/05/24 at 14:51:40, Robert Sesek wrote: > ...
4 years, 6 months ago (2016-05-24 21:04:06 UTC) #4
Robert Sesek
lgtm
4 years, 6 months ago (2016-05-24 23:14:02 UTC) #5
rickyz (no longer on Chrome)
4 years, 6 months ago (2016-05-24 23:31:31 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2005183002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2005183002/20001
4 years, 6 months ago (2016-05-24 23:32:32 UTC) #8
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 6 months ago (2016-05-24 23:37:22 UTC) #9
commit-bot: I haz the power
4 years, 6 months ago (2016-05-24 23:40:31 UTC) #11
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/41db13c68491ee1ab9149ba1bef307b71a19bb39
Cr-Commit-Position: refs/heads/master@{#395737}

Powered by Google App Engine
This is Rietveld 408576698