From owner-freebsd-current@FreeBSD.ORG Wed May 7 19:11:56 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F36B137B401 for ; Wed, 7 May 2003 19:11:55 -0700 (PDT) Received: from mx8.mail.ru (mx8.mail.ru [194.67.23.28]) by mx1.FreeBSD.org (Postfix) with ESMTP id 42F7543F75 for ; Wed, 7 May 2003 19:11:55 -0700 (PDT) (envelope-from kabaev@mail.ru) Received: from [151.203.195.113] (port=51987 helo=kan.dnsalias.net) by mx8.mail.ru with esmtp id 19Dasz-000Ofa-00 for current@FreeBSD.ORG; Thu, 08 May 2003 06:11:53 +0400 Received: from kan.dnsalias.net (ak03@localhost [127.0.0.1]) by kan.dnsalias.net (8.12.9/8.12.9) with ESMTP id h482Bq1M003890 for ; Wed, 7 May 2003 22:11:52 -0400 (EDT) (envelope-from kan@kan.dnsalias.net) Received: (from kan@localhost) by kan.dnsalias.net (8.12.9/8.12.9/Submit) id h482Bqga003889; Wed, 7 May 2003 22:11:52 -0400 (EDT) Date: Wed, 7 May 2003 22:11:52 -0400 From: Alexander Kabaev To: current@FreeBSD.ORG Message-Id: <20030507221152.16319f17.kabaev@mail.ru> In-Reply-To: <200305080131.h481Var5086771@repoman.freebsd.org> References: <200305080131.h481Var5086771@repoman.freebsd.org> X-Mailer: Sylpheed version 0.8.10claws18 (GTK+ 1.2.10; i386-portbld-freebsd5.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: cvs commit: src/libexec/rtld-elf rtld.c X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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: Thu, 08 May 2003 02:11:56 -0000 On Wed, 7 May 2003 18:31:36 -0700 (PDT) Alexander Kabaev wrote: > kan 2003/05/07 18:31:36 PDT > > FreeBSD src repository > > Modified files: > libexec/rtld-elf rtld.c > Log: > Rethink the way we count module references. Simply following > DT_NEEDED links is not flexible enough for cases where dynamically > loaded modules form a dependency cycle. > > This should fix an infinite recursion problem encountered by Yahoo. > > Approved by: re (jhb) > > Revision Changes Path > 1.79 +30 -18 src/libexec/rtld-elf/rtld.c > I ran mozilla, KDE and java with this patch and did not notice anything weird so far. Please test it with your favorite application and let me know if it breaks.