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

Issue 8036047: In 32bit mode, removed all assembly addressing modes that are incompatible with (Closed)

Created:
9 years, 2 months ago by Markus (顧孟勤)
Modified:
9 years, 2 months ago
Reviewers:
agl
CC:
chromium-reviews, Markus (顧孟勤), Mark Seaborn
Visibility:
Public.

Description

In 32bit mode, removed all assembly addressing modes that are incompatible with position independent code. Fedora is configured to refuse running binaries that require relocations. TEST=add -fPIC and -fPIE to CFLAGS and LDFLAGS respectively, then run "scanelf -qT ./preload32.so". There shouldn't be any output. BUG=http://code.google.com/p/chromium/issues/detail?id=87704 Committed: http://code.google.com/p/seccompsandbox/source/detail?r=170

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+185 lines, -146 lines) Patch
M fault_handler_i386.S View 7 chunks +89 lines, -77 lines 0 comments Download
M sigaction.cc View 1 chunk +2 lines, -3 lines 0 comments Download
M syscall_entrypoint.cc View 7 chunks +44 lines, -30 lines 0 comments Download
M test.cc View 1 chunk +7 lines, -6 lines 0 comments Download
M trusted_thread_i386.S View 16 chunks +43 lines, -30 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
Markus (顧孟勤)
9 years, 2 months ago (2011-09-27 00:12:22 UTC) #1
agl
9 years, 2 months ago (2011-09-27 14:08:14 UTC) #2
LGTM. Thanks for doing this so quickly.

Powered by Google App Engine
This is Rietveld 408576698