From owner-freebsd-current@FreeBSD.ORG Sun Jul 28 20:50:06 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 9DD4B207 for ; Sun, 28 Jul 2013 20:50:06 +0000 (UTC) (envelope-from mjguzik@gmail.com) Received: from mail-we0-x22b.google.com (mail-we0-x22b.google.com [IPv6:2a00:1450:400c:c03::22b]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 324342A1C for ; Sun, 28 Jul 2013 20:50:06 +0000 (UTC) Received: by mail-we0-f171.google.com with SMTP id q55so3345699wes.16 for ; Sun, 28 Jul 2013 13:50:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:mail-followup-to:references :mime-version:content-type:content-disposition:in-reply-to :user-agent; bh=F+2uv/ia25T+NniUCfF1yS5heqKUf/6B7KceyRPXhfQ=; b=w6HpN6p0obs3KE7wkRmToe2n6HkqarmniQwU3mOYc5nmS7LJWJws3Zs8goD41Cxxkx bvKgo0YI9RatJZHxuZKMPJYEDFbXNOWdjancpMfJtwKvAUmvI9YyapT0kbkut87Tky3n W8eVFxFriwss0Q7ql/XBtZDSZl4VtZKEMnplktJy13SvlPkQk0H6mwjIzWhgvn9bi93i ofh8JWDsgZlmSreVnFV+GpDWnUSkuW5opj9T24Yqg/ij/8jJj9/a2HsRk8K/WSs9A25Y HZ5s55JTpjvOu3LplBHoojHmrcLl50wTXGeP1vbB5Kw69Ydv6jEPfpjSJlYUcQVFLULJ YmDA== X-Received: by 10.194.75.201 with SMTP id e9mr26686526wjw.20.1375044604450; Sun, 28 Jul 2013 13:50:04 -0700 (PDT) Received: from dft-labs.eu (n1x0n-1-pt.tunnel.tserv5.lon1.ipv6.he.net. [2001:470:1f08:1f7::2]) by mx.google.com with ESMTPSA id o10sm18443941wiz.5.2013.07.28.13.50.02 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Sun, 28 Jul 2013 13:50:03 -0700 (PDT) Date: Sun, 28 Jul 2013 22:49:58 +0200 From: Mateusz Guzik To: Gennady Proskurin Subject: Re: ldd runs linux programs Message-ID: <20130728204958.GA32322@dft-labs.eu> Mail-Followup-To: Mateusz Guzik , Gennady Proskurin , freebsd-current@freebsd.org References: <20130728193110.GB17514@gpr.nnz-home.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20130728193110.GB17514@gpr.nnz-home.ru> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Jul 2013 20:50:06 -0000 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. -- Mateusz Guzik