[sudo-commits] sudo changeset 14144:ec539996a4aa
Todd C. Miller
Todd.Miller at sudo.ws
Thu Aug 4 09:39:22 MDT 2022
changeset: 14144:ec539996a4aa in /raid/repos/sudo
details: https://www.sudo.ws/repos/sudo/rev/ec539996a4aa
user: Todd C. Miller <Todd.Miller at sudo.ws>
date: Thu Aug 04 09:35:06 2022 -0600
Log Message:
sudo_dso_load: restore original error for AIX on failure.
For AIX, if dlopen() fails we try again with RTLD_MEMBER set
and a default member (shr.o or shr_64.o). However, if that
also fails, the user will receive a useless error message
that doesn't correspond to the actual problem. We now retry
the original dlopen() if the fallback to RTLD_MEMBER fails,
which has the effect of restoring the original error message.
diffstat:
lib/util/sudo_dso.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
More information about the sudo-commits
mailing list