From owner-freebsd-hackers Mon Dec 10 8:58:41 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from wall.polstra.com (wall-gw.polstra.com [206.213.73.130]) by hub.freebsd.org (Postfix) with ESMTP id 0EA8D37B416 for ; Mon, 10 Dec 2001 08:58:36 -0800 (PST) Received: from vashon.polstra.com (vashon.polstra.com [206.213.73.13]) by wall.polstra.com (8.11.3/8.11.3) with ESMTP id fBAGwJ048744; Mon, 10 Dec 2001 08:58:19 -0800 (PST) (envelope-from jdp@wall.polstra.com) Received: (from jdp@localhost) by vashon.polstra.com (8.11.6/8.11.0) id fBAGwFY03265; Mon, 10 Dec 2001 08:58:15 -0800 (PST) (envelope-from jdp) Date: Mon, 10 Dec 2001 08:58:15 -0800 (PST) Message-Id: <200112101658.fBAGwFY03265@vashon.polstra.com> To: hackers@freebsd.org From: John Polstra Cc: lamont@scriptkiddie.org Subject: Re: detecting linux emulation in rtld.c? In-Reply-To: <20011129233851.H40312-100000@coredump.scriptkiddie.org> References: <20011129233851.H40312-100000@coredump.scriptkiddie.org> Organization: Polstra & Co., Seattle, WA Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In article <20011129233851.H40312-100000@coredump.scriptkiddie.org>, Lamont Granquist wrote: > can anyone suggest a method of determining inside > libexec/rtld-elf/rtld.c if a binary being run is native or linux > emulation? If the FreeBSD dynamic linker is running at all, the binary is probably native. Linux programs use the Linux dynamic linker, not ours. John -- John Polstra John D. Polstra & Co., Inc. Seattle, Washington USA "Disappointment is a good sign of basic intelligence." -- Chögyam Trungpa To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message