]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Remove -m (update) from ldconfig -32 & -soft invocation on startup.
authorKonstantin Belousov <kib@FreeBSD.org>
Thu, 27 Sep 2018 14:31:41 +0000 (14:31 +0000)
committerKonstantin Belousov <kib@FreeBSD.org>
Thu, 27 Sep 2018 14:31:41 +0000 (14:31 +0000)
commitdcf55de22a9f2b6cd074c3c44915ff5c0b906dbb
treec4103fa0cfb81c6b3e1b0305dad7731b27cdf1f5
parenta8e3f99ec190ee5c11413878b7fd75578e542808
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