Message349232
I'd like to mention a real-world example for this issue: syslog-ng with its
plugin system.
Plugins are loaded using dlopen() after the initial plugin discovery. RTLD_LOCAL
would be a reasonable choice, since symbols in plugins should not pollute the
global namespace (so plugins using different versions of OpenSSL, Python, etc.
would be possible).
Since we have Python-based plugins, we had to use RTLD_GLOBAL instead (with RTLD_LAZY to
reduce the possibility of conflicts) as a workaround.
Note: The latest Python 3 version seems to be working with RTLD_LOCAL as everything
under lib-dynload/ linked against libpython. |
|
| Date |
User |
Action |
Args |
| 2019-08-08 12:36:22 | MrAnno | set | recipients:
+ MrAnno, doko, vstinner, ericvw, reimar |
| 2019-08-08 12:36:21 | MrAnno | set | messageid: <1565267781.99.0.619243340289.issue36753@roundup.psfhosted.org> |
| 2019-08-08 12:36:21 | MrAnno | link | issue36753 messages |
| 2019-08-08 12:36:21 | MrAnno | create | |
|