From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S265125AbUELQcs (ORCPT ); Wed, 12 May 2004 12:32:48 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S265124AbUELQcs (ORCPT ); Wed, 12 May 2004 12:32:48 -0400 Received: from cpe-24-221-190-179.ca.sprintbbd.net ([24.221.190.179]:30094 "EHLO myware.akkadia.org") by vger.kernel.org with ESMTP id S265125AbUELQcr (ORCPT ); Wed, 12 May 2004 12:32:47 -0400 Message-ID: <40A2517C.4040903@redhat.com> Date: Wed, 12 May 2004 09:31:56 -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: "Eric W. Biederman" CC: "Randy.Dunlap" , fastboot@lists.osdl.org, lkml Subject: Re: [Fastboot] Re: [announce] kexec for linux 2.6.6 References: <20040511212625.28ac33ef.rddunlap@osdl.org> <40A1AF53.3010407@redhat.com> <40A243C8.401@redhat.com> In-Reply-To: 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 Eric W. Biederman wrote: > As a first draft we should be able to use the standard ELF mechanisms > for this. It is not like PIC shared libraries were new. Or is > there some specific problem you are thinking of with respect to > randomization? The official kernel does not have vdso randomization. Ingo has a patch for the Red Hat kernel which is used in the FC2 kernel. The patch effectively only changes the location at which the vdso is mapped. It does not change the vdso content. So the __kernel_vsyscall symbol in the vdso's symbol table is not changed. AT_SYSINFO is the right way to go forward but it is not directly accessible to userlevel code. And it is no pointer which will make architectures with function descriptors unhappy. -- ➧ Ulrich Drepper ➧ Red Hat, Inc. ➧ 444 Castro St ➧ Mountain View, CA ❖