From owner-cvs-src Mon Feb 10 15:15:10 2003 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 3BF1137B406; Mon, 10 Feb 2003 15:15:08 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id D05BB43F3F; Mon, 10 Feb 2003 15:15:07 -0800 (PST) (envelope-from kan@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h1ANF7bv073576; Mon, 10 Feb 2003 15:15:07 -0800 (PST) (envelope-from kan@repoman.freebsd.org) Received: (from kan@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h1ANF7t4073575; Mon, 10 Feb 2003 15:15:07 -0800 (PST) Message-Id: <200302102315.h1ANF7t4073575@repoman.freebsd.org> From: Alexander Kabaev Date: Mon, 10 Feb 2003 15:15:07 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/libexec/rtld-elf rtld.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-src@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG kan 2003/02/10 15:15:07 PST Modified files: libexec/rtld-elf rtld.c Log: When unloading dependencies make sure they are removed from all the associated lists: remove RTLD_GLOBAL objects from global objects list; remove the parent object from dldags list of its children. Previosly we were doing that only to the top-level object OF the DAG being unloaded and all its dependencies were ignored, leading to mysterious crashes later. Submitted by: peter (partially) Revision Changes Path 1.72 +10 -9 src/libexec/rtld-elf/rtld.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-src" in the body of the message