Date: Thu, 29 Nov 2001 23:41:58 -0800 (PST) From: Lamont Granquist <lamont@scriptkiddie.org> To: <hackers@freebsd.org> Subject: detecting linux emulation in rtld.c? Message-ID: <20011129233851.H40312-100000@coredump.scriptkiddie.org> In-Reply-To: <20011130012603.F46769@elvis.mu.org>
next in thread | previous in thread | raw e-mail | index | archive | help
can anyone suggest a method of determining inside libexec/rtld-elf/rtld.c if a binary being run is native or linux emulation? i'd like to be able to write code which basically does: if (IsNativeCode()) PreloadSomeLibraries() any suggestions? 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?20011129233851.H40312-100000>