diff options
author | Greg Hudson <ghudson@mit.edu> | 2014-06-25 11:41:54 -0400 |
---|---|---|
committer | Greg Hudson <ghudson@mit.edu> | 2014-06-26 11:04:10 -0400 |
commit | 0f46175d632ae03ab7d4cfba5e62534d31e128e0 (patch) | |
tree | 1fb13adf400ff1c5d1d0df7437bc45ae73c4a446 /doc/tools/doxybuilder_funcs.py | |
parent | 476284de8dc9a52b5544445cb1b316a417ae88f0 (diff) | |
download | krb5-0f46175d632ae03ab7d4cfba5e62534d31e128e0.tar.gz krb5-0f46175d632ae03ab7d4cfba5e62534d31e128e0.tar.xz krb5-0f46175d632ae03ab7d4cfba5e62534d31e128e0.zip |
Load plugins with RTLD_NODELETE if possible
On platforms which support RTLD_NODELETE, use it to load plugin
modules. While using this flag makes plugins stay in the process map
after libkrb5/libgssapi_krb5 are unloaded, it solves several problems:
1. It prevents plugin modules which link against OpenSSL (PKINIT and
k5tls) from repeatedly initializing instances of libssl or libcrypto,
leaking heap memory each time. This is only an issue because we
cannot safely uninitialize OpenSSL.
2. It prevents finalization ordering issues from causing a process
crash when unloading libgssapi_krb5 (issue #7135).
3. It makes memory leak tracing with valgrind easier.
ticket: 7947 (new)
Diffstat (limited to 'doc/tools/doxybuilder_funcs.py')
0 files changed, 0 insertions, 0 deletions