From owner-cvs-src@FreeBSD.ORG Tue Sep 19 16:18:31 2006 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1ABBB16A412; Tue, 19 Sep 2006 16:18:31 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from anuket.mj.niksun.com (gwnew.niksun.com [65.115.46.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id D1C1A43D8F; Tue, 19 Sep 2006 16:18:29 +0000 (GMT) (envelope-from jkim@FreeBSD.org) Received: from niksun.com (anuket [10.70.0.5]) by anuket.mj.niksun.com (8.13.1/8.13.1) with ESMTP id k8JGIRXU046130; Tue, 19 Sep 2006 12:18:27 -0400 (EDT) (envelope-from jkim@FreeBSD.org) From: Jung-uk Kim To: Konstantin Belousov Date: Tue, 19 Sep 2006 12:18:13 -0400 User-Agent: KMail/1.6.2 References: <200609191247.k8JClDaT048713@repoman.freebsd.org> In-Reply-To: <200609191247.k8JClDaT048713@repoman.freebsd.org> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200609191218.15080.jkim@FreeBSD.org> X-Virus-Scanned: ClamAV 0.88/1897/Tue Sep 19 10:25:30 2006 on anuket.mj.niksun.com X-Virus-Status: Clean Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/libexec/rtld-elf rtld.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Sep 2006 16:18:31 -0000 On Tuesday 19 September 2006 08:47 am, Konstantin Belousov wrote: > kib 2006-09-19 12:47:13 UTC > > FreeBSD src repository > > Modified files: > libexec/rtld-elf rtld.c > Log: > Fix the buggy rev. 1.117. dagmembers are only initialized for > dlopen'ed dso that are actually loading. If dso a.so depends on > b.so, then dlsym with handle from dlopen("b.so") will fail > unconditionally. > > Correct implementation shall use the Obj_Entry.needed list to > walk dependencies DAG. > > Test provided by: jkim > Tested (prev. version) by: jkim, Nicolas Blais videotron ca>, h.blanke at chello nl Pointy hat to: kib > Approved by: kan (mentor) > > Revision Changes Path > 1.118 +63 -5 src/libexec/rtld-elf/rtld.c Thanks! Jung-uk Kim