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

Issue 11639038: ucontext_t support for Android x86. (Closed)

Created:
8 years ago by yfw.chromium
Modified:
7 years, 5 months ago
CC:
chromium-reviews, agl, jln+watch_chromium.org, shashi, digit1
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

ucontext_t support for Android x86. Android x86 has not support for ucontext_t yet. Add local definition to make content_shell build correctly for Android x86. TEST=build x86 content shell. NOTRY=true BUG=

Patch Set 1 #

Total comments: 10

Patch Set 2 : ucontext_t support for Android x86. #

Patch Set 3 : ucontext_t support for Android x86. #

Total comments: 29

Patch Set 4 : ucontext_t support for Android x86. #

Patch Set 5 : ucontext_t support for Android x86 #

Patch Set 6 : ucontext_t support for Android x86 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+150 lines, -6 lines) Patch
M AUTHORS View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M sandbox/linux/sandbox_linux.gypi View 1 2 3 2 chunks +3 lines, -3 lines 0 comments Download
M sandbox/linux/seccomp-bpf/sandbox_bpf.cc View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
A sandbox/linux/services/android_ucontext.h View 1 2 3 1 chunk +21 lines, -0 lines 0 comments Download
A sandbox/linux/services/android_x86_ucontext.h View 1 2 3 1 chunk +35 lines, -0 lines 0 comments Download
A sandbox/linux/services/ucontext_unittest.cc View 1 2 3 4 5 1 chunk +87 lines, -0 lines 0 comments Download
M sandbox/linux/tests/unit_tests.h View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 18 (0 generated)
yfw.chromium
Hi, Could you please help to review this change? It enable the content_shell_apk build for ...
8 years ago (2012-12-21 01:07:29 UTC) #1
Markus (顧孟勤)
https://codereview.chromium.org/11639038/diff/1/sandbox/linux/seccomp-bpf/sandbox_bpf.cc File sandbox/linux/seccomp-bpf/sandbox_bpf.cc (right): https://codereview.chromium.org/11639038/diff/1/sandbox/linux/seccomp-bpf/sandbox_bpf.cc#newcode24 sandbox/linux/seccomp-bpf/sandbox_bpf.cc:24: #elif defined(__i386__) Since you picked a file name that ...
8 years ago (2012-12-21 02:03:54 UTC) #2
yfw.chromium
On 2012/12/21 02:03:54, Markus (顧孟勤) wrote: > https://codereview.chromium.org/11639038/diff/1/sandbox/linux/seccomp-bpf/sandbox_bpf.cc > File sandbox/linux/seccomp-bpf/sandbox_bpf.cc (right): > > https://codereview.chromium.org/11639038/diff/1/sandbox/linux/seccomp-bpf/sandbox_bpf.cc#newcode24 ...
8 years ago (2012-12-21 02:30:00 UTC) #3
yfw.chromium
https://codereview.chromium.org/11639038/diff/1/sandbox/linux/seccomp-bpf/sandbox_bpf.cc File sandbox/linux/seccomp-bpf/sandbox_bpf.cc (right): https://codereview.chromium.org/11639038/diff/1/sandbox/linux/seccomp-bpf/sandbox_bpf.cc#newcode24 sandbox/linux/seccomp-bpf/sandbox_bpf.cc:24: #elif defined(__i386__) On 2012/12/21 02:03:54, Markus (顧孟勤) wrote: > ...
8 years ago (2012-12-21 07:23:17 UTC) #4
yfw.chromium
New patchset is uploaded to address the comments. ChangeLog: unit test for ucontext is added. ...
7 years, 11 months ago (2012-12-31 05:57:56 UTC) #5
yfw.chromium
The unit tests runs OK on ARM devices. Can't pass x86 android build because of ...
7 years, 11 months ago (2013-01-04 06:03:08 UTC) #6
Markus (顧孟勤)
On 2013/01/04 06:03:08, yfw.chromium wrote: > The unit tests runs OK on ARM devices. Can't ...
7 years, 11 months ago (2013-01-08 22:01:43 UTC) #7
jln (very slow on Chromium)
Let's get your CL in shape and land it, unless you're busy (we need this ...
7 years, 11 months ago (2013-01-08 22:26:09 UTC) #8
Markus (顧孟勤)
https://codereview.chromium.org/11639038/diff/9001/sandbox/linux/services/ucontext_unittest.cc File sandbox/linux/services/ucontext_unittest.cc (right): https://codereview.chromium.org/11639038/diff/9001/sandbox/linux/services/ucontext_unittest.cc#newcode13 sandbox/linux/services/ucontext_unittest.cc:13: #else This is a useful unittest even if we ...
7 years, 11 months ago (2013-01-08 22:30:17 UTC) #9
jln (very slow on Chromium)
David: I was told to add you to this thread. This more include files hackery ...
7 years, 11 months ago (2013-01-08 23:04:17 UTC) #10
yfw.chromium
On 2013/01/08 23:04:17, Julien Tinnes wrote: > David: I was told to add you to ...
7 years, 11 months ago (2013-01-09 02:07:39 UTC) #11
yfw.chromium
Thanks a lot for your guys comments. https://codereview.chromium.org/11639038/diff/9001/sandbox/linux/services/ucontext_unittest.cc File sandbox/linux/services/ucontext_unittest.cc (right): https://codereview.chromium.org/11639038/diff/9001/sandbox/linux/services/ucontext_unittest.cc#newcode34 sandbox/linux/services/ucontext_unittest.cc:34: ucontext_t *ctx ...
7 years, 11 months ago (2013-01-09 02:38:14 UTC) #12
digit1
lgtm for the ucontext definitions, I don't have any opinion on the unit test itself. ...
7 years, 11 months ago (2013-01-09 09:47:18 UTC) #13
yfw.chromium
Don't know why the new patch is created as: https://codereview.chromium.org/11828016 The new patch just passed ...
7 years, 11 months ago (2013-01-09 11:27:21 UTC) #14
jln (very slow on Chromium)
On 2013/01/09 11:27:21, yfw.chromium wrote: > Don't know why the new patch is created as: ...
7 years, 11 months ago (2013-01-09 21:18:24 UTC) #15
yfw.chromium
On 2013/01/09 21:18:24, Julien Tinnes wrote: > On 2013/01/09 11:27:21, yfw.chromium wrote: > > Don't ...
7 years, 11 months ago (2013-01-10 01:37:35 UTC) #16
yfw.chromium
Add android_ucontext.h according to jln comments. Removed the sigsetjmp/siglongjmp which could make the unittest build-able ...
7 years, 11 months ago (2013-01-10 01:53:32 UTC) #17
yfw.chromium
7 years, 11 months ago (2013-01-10 09:47:16 UTC) #18
Changes:
1. unittest uses SANDBOX_DEATH_TEST.
2. Fixed typo in DEATH_BY_SIGNAL definition.

build for ARM/x86 android. Unittest passed on x86 devices.
ARM device was not tested.

Powered by Google App Engine
This is Rietveld 408576698