Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Jul 2013 10:33:53 +0800
From:      Julian Elischer <julian@freebsd.org>
To:        Mateusz Guzik <mjguzik@gmail.com>, Gennady Proskurin <gprspb@mail.ru>, freebsd-current@freebsd.org
Subject:   Re: ldd runs linux programs
Message-ID:  <51F5D491.1080803@freebsd.org>
In-Reply-To: <20130728204958.GA32322@dft-labs.eu>
References:  <20130728193110.GB17514@gpr.nnz-home.ru> <20130728204958.GA32322@dft-labs.eu>

next in thread | previous in thread | raw e-mail | index | archive | help
On 7/29/13 4:49 AM, Mateusz Guzik wrote:
> On Sun, Jul 28, 2013 at 11:31:10PM +0400, Gennady Proskurin wrote:
>> Hello.
>> When linux binary is passed to FreeBSD's ldd as argument, this binary is executed.
>> I'm sure this is bug :)
>> (with security involved)
>>
> I have a patch for this, but never got around to commit it.
>
> http://people.freebsd.org/~mjg/patches/ldd-non-freebsd-ignore.diff
>
> If someone wants, go ahead and steal it.
>
For those of us that are not ldd experts, why does this happen, what's 
the history and
what happends on Linux?
I vagualy remember that linux may somehow execute something in this 
case but my memory is very vague on the topic.



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