From owner-svn-src-head@FreeBSD.ORG Wed May 7 17:31:44 2014 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 2E83AF4E; Wed, 7 May 2014 17:31:44 +0000 (UTC) Received: from mail-vc0-x234.google.com (mail-vc0-x234.google.com [IPv6:2607:f8b0:400c:c03::234]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BF0F96A6; Wed, 7 May 2014 17:31:43 +0000 (UTC) Received: by mail-vc0-f180.google.com with SMTP id hy4so898527vcb.25 for ; Wed, 07 May 2014 10:31:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=jFzvV32ypdjFfl7u3LMQhURv3HMJhRi/aExtRMBX4po=; b=eH/1CHugdjNUBLL8YPoeHFGd74skgV6++UHArvzd05NO28mqeIK7z6s4JKVBdTzbDj KpOyjBQvgKvEp7fVeVwoqbGGdJOOx+5tiYO7O9TalTmit/J9SVjUalvF8uQ5LDR4TUCE 0+ZoQF0lP2BNTFj2BjmhrJQ1e4V2v10Q2qJY4MzGD528xrWvNDUeRo0yMcbL2/mUS40F O8QnNP/KNHv39Otsh7TnWP3hIZongHAm+VmtfFaCXwV1NtyQgWijctjENWjyhlznB1g9 5gttbZe+r9rcwCNXRXr9N18b8ZyP8nJrSmKFdb8mTsbZyG34DATvW24k/17Rf1u2Joj7 Cg/w== MIME-Version: 1.0 X-Received: by 10.52.117.237 with SMTP id kh13mr1173782vdb.96.1399483902810; Wed, 07 May 2014 10:31:42 -0700 (PDT) Sender: markjdb@gmail.com Received: by 10.220.162.68 with HTTP; Wed, 7 May 2014 10:31:42 -0700 (PDT) In-Reply-To: <536A239A.8020502@fastmail.net> References: <201405061807.s46I7xxt048377@svn.freebsd.org> <536A239A.8020502@fastmail.net> Date: Wed, 7 May 2014 13:31:42 -0400 X-Google-Sender-Auth: NiRemtzSw-b8MoqsBf9Ik4qlfbU Message-ID: Subject: Re: svn commit: r265456 - head/libexec/rtld-elf From: Mark Johnston To: Bruce Simpson Content-Type: text/plain; charset=UTF-8 Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 May 2014 17:31:44 -0000 On Wed, May 7, 2014 at 8:14 AM, Bruce Simpson wrote: > Mark, > > > On 06/05/2014 19:07, Mark Johnston wrote: >> >> Log: >> Add a postinit debugger hook to rtld. This will be used by dtrace(1) to >> halt >> the victim process before its entry point is called, at which point >> probes >> and DOF data are registered with the kernel. > > > I recently had a situation where I had to run gdb on a static (and stripped) > Linux binary, under the Linuxolator. Perhaps this change can be used there > too? The Linuxulator makes use of Linux's loader rather than rtld; this was the source of the problem fixed in r254018, for example. Static binaries are not invoked through rtld either, so I don't think this change would have helped anyway. :) -Mark