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

Issue 720753002: NOT_FOR_COMMIT: Death Test for intercepting base::File Open/Close

Created:
6 years, 1 month ago by pasko
Modified:
6 years, 1 month ago
Reviewers:
CC:
chromium-reviews, erikwright+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@cache-close
Project:
chromium
Visibility:
Public.

Description

NOT_FOR_COMMIT: Death Test for intercepting base::File Open/Close This does not work on Linux with tcmalloc because: 1. base_unittests allocate via tcmalloc 2. tcmalloc acquires its internal lock 3. then attempts ASLR, which requires closing /dev/urandom 4. in close() we attempt to allocate -> deadlock BUG=424562

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+36 lines, -1 line) Patch
M base/base.gyp View 2 chunks +5 lines, -1 line 0 comments Download
A base/files/protect_file_posix_unittest.cc View 1 chunk +31 lines, -0 lines 0 comments Download

Powered by Google App Engine
This is Rietveld 408576698