Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Dec 2001 08:58:15 -0800 (PST)
From:      John Polstra <jdp@polstra.com>
To:        hackers@freebsd.org
Cc:        lamont@scriptkiddie.org
Subject:   Re: detecting linux emulation in rtld.c?
Message-ID:  <200112101658.fBAGwFY03265@vashon.polstra.com>
In-Reply-To: <20011129233851.H40312-100000@coredump.scriptkiddie.org>
References:  <20011129233851.H40312-100000@coredump.scriptkiddie.org>

next in thread | previous in thread | raw e-mail | index | archive | help
In article <20011129233851.H40312-100000@coredump.scriptkiddie.org>,
Lamont Granquist <lamont@scriptkiddie.org> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200112101658.fBAGwFY03265>