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

Issue 1095133003: Linux sandbox: workaround colliding system call. (Closed)

Created:
5 years, 8 months ago by jln (very slow on Chromium)
Modified:
5 years, 8 months ago
Reviewers:
Robert Sesek, palmer
CC:
chromium-reviews, rickyz+watch_chromium.org, jln+watch_chromium.org, mdempsky, Kees Cook
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Linux sandbox: workaround colliding system call. Some Android kernels have system calls that collide with sys_seccomp, try to detect this situation. BUG=478891 Committed: https://crrev.com/c08969c1b8b723494569c893b15c9b2e634ef0fc Cr-Commit-Position: refs/heads/master@{#326667}

Patch Set 1 #

Total comments: 6

Patch Set 2 : Better comments #

Total comments: 2

Patch Set 3 : Add comma. #

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

Messages

Total messages: 20 (4 generated)
jln (very slow on Chromium)
5 years, 8 months ago (2015-04-20 20:37:41 UTC) #2
Robert Sesek
A potential issue even with this probing is that in sys_set_media_ext(), we'll still end clearing ...
5 years, 8 months ago (2015-04-20 20:44:49 UTC) #3
leecam
On 2015/04/20 20:44:49, Robert Sesek wrote: > A potential issue even with this probing is ...
5 years, 8 months ago (2015-04-20 20:55:44 UTC) #4
palmer
I think it's important to be as clear as is possible in these comments, since ...
5 years, 8 months ago (2015-04-21 03:28:44 UTC) #6
Robert Sesek
Based on the internal discussion, I think I'm OK moving forward with this patch once ...
5 years, 8 months ago (2015-04-22 15:24:17 UTC) #7
jln (very slow on Chromium)
PTAL! https://chromiumcodereview.appspot.com/1095133003/diff/1/sandbox/linux/seccomp-bpf/sandbox_bpf.cc File sandbox/linux/seccomp-bpf/sandbox_bpf.cc (right): https://chromiumcodereview.appspot.com/1095133003/diff/1/sandbox/linux/seccomp-bpf/sandbox_bpf.cc#newcode62 sandbox/linux/seccomp-bpf/sandbox_bpf.cc:62: // LG introduced a buggy syscall, sys_set_media_ext with ...
5 years, 8 months ago (2015-04-23 00:02:51 UTC) #8
Robert Sesek
Do we want to restrict this even further, like limiting it to kernel 3.10 (which ...
5 years, 8 months ago (2015-04-23 17:54:03 UTC) #9
jln (very slow on Chromium)
On 2015/04/23 17:54:03, Robert Sesek wrote: > Do we want to restrict this even further, ...
5 years, 8 months ago (2015-04-23 17:59:59 UTC) #10
jln (very slow on Chromium)
On 2015/04/23 17:59:59, jln wrote: > Moreover, the seccomp system call is well > designed ...
5 years, 8 months ago (2015-04-23 18:08:20 UTC) #11
palmer
LGTM with absurdly tiny nit :) https://chromiumcodereview.appspot.com/1095133003/diff/20001/sandbox/linux/seccomp-bpf/sandbox_bpf.cc File sandbox/linux/seccomp-bpf/sandbox_bpf.cc (right): https://chromiumcodereview.appspot.com/1095133003/diff/20001/sandbox/linux/seccomp-bpf/sandbox_bpf.cc#newcode62 sandbox/linux/seccomp-bpf/sandbox_bpf.cc:62: // LG introduced ...
5 years, 8 months ago (2015-04-23 18:20:23 UTC) #12
jln (very slow on Chromium)
https://chromiumcodereview.appspot.com/1095133003/diff/20001/sandbox/linux/seccomp-bpf/sandbox_bpf.cc File sandbox/linux/seccomp-bpf/sandbox_bpf.cc (right): https://chromiumcodereview.appspot.com/1095133003/diff/20001/sandbox/linux/seccomp-bpf/sandbox_bpf.cc#newcode62 sandbox/linux/seccomp-bpf/sandbox_bpf.cc:62: // LG introduced a buggy syscall, sys_set_media_ext with the ...
5 years, 8 months ago (2015-04-23 18:23:01 UTC) #13
jln (very slow on Chromium)
Robert: Matthew seems fine with this. Let's go?
5 years, 8 months ago (2015-04-23 21:55:43 UTC) #14
Robert Sesek
LGTM
5 years, 8 months ago (2015-04-23 22:01:02 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1095133003/40001
5 years, 8 months ago (2015-04-23 22:03:48 UTC) #18
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 8 months ago (2015-04-23 22:07:56 UTC) #19
commit-bot: I haz the power
5 years, 8 months ago (2015-04-23 22:09:27 UTC) #20
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/c08969c1b8b723494569c893b15c9b2e634ef0fc
Cr-Commit-Position: refs/heads/master@{#326667}

Powered by Google App Engine
This is Rietveld 408576698