mirror of
https://github.com/systemd/systemd.git
synced 2024-12-23 21:35:11 +03:00
test: create an ASan wrapper for getent
and su
since they "suffer" from the same issue as `login` and other binaries that load PAM stuff
This commit is contained in:
parent
db835e5d0e
commit
fdb70dd922
@ -2482,9 +2482,9 @@ inst_binary() {
|
||||
|
||||
# Same as above, but we need to wrap certain libraries unconditionally
|
||||
#
|
||||
# login, useradd, userdel - dlopen()s (not only) systemd's PAM modules
|
||||
# getent, login, su, 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|useradd|userdel)$ ]]; then
|
||||
if get_bool "$IS_BUILT_WITH_ASAN" && [[ "$bin" =~ /(getent|login|su|tar|useradd|userdel)$ ]]; then
|
||||
wrap_binary=1
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user