diff options
author | Tobias Brunner <tobias@strongswan.org> | 2015-09-25 11:05:24 +0200 |
---|---|---|
committer | Tobias Brunner <tobias@strongswan.org> | 2015-11-09 14:37:08 +0100 |
commit | 305c4aa82cb0a400d771fbb79d475b72f9a99977 (patch) | |
tree | 5e7293bb9ca9c9b62bb8e9da096fbf733400edad /conf | |
parent | 7bea8e0f4a87d47267a773f103a251ad7993d2d6 (diff) | |
download | strongswan-305c4aa82cb0a400d771fbb79d475b72f9a99977.tar.bz2 strongswan-305c4aa82cb0a400d771fbb79d475b72f9a99977.tar.xz |
plugin-loader: Optionally use RTLD_NOW with dlopen()
This can be useful when writing custom plugins as typos or missing
linker flags that result in unresolved symbols in the shared object
could otherwise cause late crashes. In particular, if such a symbol
is used in a code path that is rarely executed. During development
and testing using RTLD_NOW instead of RTLD_LAZY will prevent the
plugin from getting loaded and makes the error visible immediately.
Diffstat (limited to 'conf')
-rw-r--r-- | conf/options/charon.opt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/conf/options/charon.opt b/conf/options/charon.opt index b00fe73b0..808e368b6 100644 --- a/conf/options/charon.opt +++ b/conf/options/charon.opt @@ -65,6 +65,10 @@ charon.dh_exponent_ansi_x9_42 = yes Use ANSI X9.42 DH exponent size or optimum size matched to cryptographic strength. +charon.dlopen_use_rtld_now = no + Use RTLD_NOW with dlopen when loading plugins to reveal missing symbols + immediately. + charon.dns1 DNS server assigned to peer via configuration payload (CP). |