From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S264972AbUELFBW (ORCPT ); Wed, 12 May 2004 01:01:22 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S264975AbUELFBD (ORCPT ); Wed, 12 May 2004 01:01:03 -0400 Received: from cpe-24-221-190-179.ca.sprintbbd.net ([24.221.190.179]:52361 "EHLO myware.akkadia.org") by vger.kernel.org with ESMTP id S264971AbUELFA4 (ORCPT ); Wed, 12 May 2004 01:00:56 -0400 Message-ID: <40A1AF53.3010407@redhat.com> Date: Tue, 11 May 2004 22:00:03 -0700 From: Ulrich Drepper Organization: Red Hat, Inc. User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8a) Gecko/20040511 X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Randy.Dunlap" CC: fastboot@lists.osdl.org, lkml Subject: Re: [announce] kexec for linux 2.6.6 References: <20040511212625.28ac33ef.rddunlap@osdl.org> In-Reply-To: <20040511212625.28ac33ef.rddunlap@osdl.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Randy.Dunlap wrote: > And if anyone has suggestions for handling a variable/moving > syscall number (target), I'm interested in hearing them. If all architectures would finally get a vdso implementation you could just add the necessary stub in the vdso, add a symbol in the symbol table of the vdso, and use in the userlevel code sym = dlsym (RTLD_DEFAULT, "the_symbol_name") If the returned value is not NULL the symbol exists. I've described this many times as one of the huge advantages of vdsos, hopefully this time it clicks. -- ➧ Ulrich Drepper ➧ Red Hat, Inc. ➧ 444 Castro St ➧ Mountain View, CA ❖