]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Remove -m (update) from ldconfig -32 & -soft invocation on startup.
authorkib <kib@FreeBSD.org>
Thu, 27 Sep 2018 14:31:41 +0000 (14:31 +0000)
committerkib <kib@FreeBSD.org>
Thu, 27 Sep 2018 14:31:41 +0000 (14:31 +0000)
commit64a37e79283270f4abfb83d83b9306097cd0fa1d
treec4103fa0cfb81c6b3e1b0305dad7731b27cdf1f5
parent378786ebf38de1d9108d5cf7329abe9ecfca53e6
Remove -m (update) from ldconfig -32 & -soft invocation on startup.

Since r154114 which introduced ldconfig_local32_dirs, ldconfig -32 was
called with -m. This means that ld-elf32.so.hints paths set is not
cleared for compat32 on boot, unlike ld,so,hints.  Same -m was used in
r294295 for ld-elf-soft.so.hints on arm.  The patch fixes the
asymmetry.

Noted by: Andreas Longwitz <longwitz@incore.de>
Reviewed by: brooks, emaste, imp
Discussed with: bdrewery
Sponsored by: The FreeBSD Foundation
Approved by: re (gjb)
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D17331
sbin/init/rc.d/ldconfig