test: always wrap useradd/userdel when running w/ ASan
since they dlopen() PAM modules, including systemd ones.
This commit is contained in:
+2
-2
@@ -2484,9 +2484,9 @@ inst_binary() {
|
||||
|
||||
# Same as above, but we need to wrap certain libraries unconditionally
|
||||
#
|
||||
# login - dlopen()s (not only) systemd's PAM modules
|
||||
# login, useradd, userdel - dlopen()s (not only) systemd's PAM modules
|
||||
# tar - called by machinectl in TEST-25
|
||||
if get_bool "$IS_BUILT_WITH_ASAN" && [[ "$bin" =~ /(login|tar)$ ]]; then
|
||||
if get_bool "$IS_BUILT_WITH_ASAN" && [[ "$bin" =~ /(login|tar|useradd|userdel)$ ]]; then
|
||||
wrap_binary=1
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user