Date: Tue, 30 Oct 2001 18:27:19 -0800 (PST) From: Lamont Granquist <lamont@scriptkiddie.org> To: <hackers@freebsd.org> Subject: /etc/ld.so.preload? Message-ID: <20011030181830.R54298-100000@coredump.scriptkiddie.org> In-Reply-To: <20011031014508.47460.qmail@web14702.mail.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Is there anything in FreeBSD that gives this functionality? My reading of src/libexec/rtld-elf/rtld.c in both -stable and -current seems to indicate that there isn't any such functionality (i need the global functionality that LD_PRELOAD doesn't give me). I'd be willing to write a patch for it, but I'd need some guidance on what would be a proper way to fix it. I'm thinking of a patch to ldconfig to get /etc/ld.so.preload into the hints file and then to hack gethints() in rtld.c to take an argument indicating which path you want to return. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011030181830.R54298-100000>