Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(7178)

Issue 315260043: TBR: i#2117: disable -private_loader for UNIX static DR

Can't Edit
Can't Publish+Mail
Start Review
Created:
7 years, 4 months ago by bruening
Modified:
7 years, 4 months ago
Reviewers:
zhaoqin
CC:
dynamorio-devs_googlegroups.com
Visibility:
Public.

Description

Commit log for first patchset: --------------- i#2117: disable -private_loader for UNIX static DR For static DR on UNIX we do not want to swap TLS, so we disable -private_loader by default. We leave it on for Windows where the alternate TLS is less significant and where at least partial isolation is still possible. Adds a comment about the current app TLS size assumptions being incorrect. Fixing it is complex though and is not attempted here. Fixes #2117 ---------------

Patch Set 1 #

Patch Set 2 : Committed #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -2 lines) Patch
M core/options.c View 1 chunk +1 line, -1 line 0 comments Download
M core/optionsx.h View 1 chunk +3 lines, -1 line 0 comments Download
M core/unix/loader_linux.c View 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 2
bruening
7 years, 4 months ago (2016-12-22 17:57:01 UTC) #1
bruening
7 years, 4 months ago (2016-12-22 17:57:03 UTC) #2
Committed as
https://github.com/DynamoRIO/dynamorio/commit/f687c8ee55133f8a0744e3f49d64c8e...

Final commit log: 
---------------
i#2117: disable -private_loader for UNIX static DR

For static DR on UNIX we do not want to swap TLS, so we disable
-private_loader by default.  We leave it on for Windows where the alternate
TLS is less significant and where at least partial isolation is still
possible.

Adds a comment about the current app TLS size assumptions being incorrect.
Fixing it is complex though and is not attempted here.

Fixes #2117

Review-URL: https://codereview.appspot.com/315260043
---------------
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b