summaryrefslogtreecommitdiffstats
path: root/base/native_library_linux.cc
diff options
context:
space:
mode:
authorwillchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-22 18:07:50 +0000
committerwillchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-22 18:07:50 +0000
commit0ba5b7b94677f67fd85ca98b18471359194d7052 (patch)
tree67555ba9aa71b560661cb868f68fd9a3050c8415 /base/native_library_linux.cc
parentc35de2ba4ad094f3b688897c48a932d8c818509e (diff)
downloadchromium_src-0ba5b7b94677f67fd85ca98b18471359194d7052.zip
chromium_src-0ba5b7b94677f67fd85ca98b18471359194d7052.tar.gz
chromium_src-0ba5b7b94677f67fd85ca98b18471359194d7052.tar.bz2
Add comments saying we don't use RTLD_DEEPBIND.
Review URL: http://codereview.chromium.org/1704006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45328 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/native_library_linux.cc')
-rw-r--r--base/native_library_linux.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/base/native_library_linux.cc b/base/native_library_linux.cc
index 2e5db88..99e32c6 100644
--- a/base/native_library_linux.cc
+++ b/base/native_library_linux.cc
@@ -14,6 +14,10 @@ namespace base {
// static
NativeLibrary LoadNativeLibrary(const FilePath& library_path) {
+ // We deliberately do not use RTLD_DEEPBIND. For the history why, please
+ // refer to the bug tracker. Some useful bug reports to read include:
+ // http://crbug.com/17943, http://crbug.com/17557, http://crbug.com/36892,
+ // and http://crbug.com/40794.
void* dl = dlopen(library_path.value().c_str(), RTLD_LAZY);
if (!dl) {
std::string error_message = dlerror();