Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISC Open Source Projects
BIND
Commits
cad6b39c
Commit
cad6b39c
authored
Dec 19, 2018
by
Ondřej Surý
Browse files
Disable RTLD_DEEPBIND when compiled under AddressSanitizer
parent
e1ce3a3d
Pipeline
#8142
passed with stages
in 23 minutes and 6 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
bin/named/unix/dlz_dlopen_driver.c
View file @
cad6b39c
...
...
@@ -257,7 +257,7 @@ dlopen_dlz_create(const char *dlzname, unsigned int argc, char *argv[],
/* Open the library */
dlopen_flags
=
RTLD_NOW
|
RTLD_GLOBAL
;
#ifdef
RTLD_DEEPBIND
#if
def
ined(
RTLD_DEEPBIND
) && !__ADDRESS_SANITIZER__
/*
* If RTLD_DEEPBIND is available then use it. This can avoid
* issues with a module using a different version of a system
...
...
lib/dns/dyndb.c
View file @
cad6b39c
...
...
@@ -133,7 +133,7 @@ load_library(isc_mem_t *mctx, const char *filename, const char *instname,
instname
,
filename
);
flags
=
RTLD_NOW
|
RTLD_LOCAL
;
#ifdef
RTLD_DEEPBIND
#if
def
ined(
RTLD_DEEPBIND
) && !__ADDRESS_SANITIZER__
flags
|=
RTLD_DEEPBIND
;
#endif
...
...
lib/ns/hooks.c
View file @
cad6b39c
...
...
@@ -109,7 +109,7 @@ load_plugin(isc_mem_t *mctx, const char *modpath, ns_plugin_t **pluginp) {
REQUIRE
(
pluginp
!=
NULL
&&
*
pluginp
==
NULL
);
flags
=
RTLD_LAZY
|
RTLD_LOCAL
;
#ifdef
RTLD_DEEPBIND
#if
def
ined(
RTLD_DEEPBIND
) && !__ADDRESS_SANITIZER__
flags
|=
RTLD_DEEPBIND
;
#endif
...
...
Ondřej Surý
@ondrej
mentioned in commit
aeb6b97d
·
Dec 19, 2018
mentioned in commit
aeb6b97d
mentioned in commit aeb6b97dad0a4510b035cfbefae9b887b49c4c58
Toggle commit list
Ondřej Surý
@ondrej
mentioned in commit
8fbd6134
·
Dec 19, 2018
mentioned in commit
8fbd6134
mentioned in commit 8fbd61343a0a8d9deca6e39a4eef273c47d84097
Toggle commit list
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment