Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262261AbTEFCTL (ORCPT ); Mon, 5 May 2003 22:19:11 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262262AbTEFCTL (ORCPT ); Mon, 5 May 2003 22:19:11 -0400 Received: from inpbox.inp.nsk.su ([193.124.167.24]:33955 "EHLO inpbox.inp.nsk.su") by vger.kernel.org with ESMTP id S262261AbTEFCTK (ORCPT ); Mon, 5 May 2003 22:19:10 -0400 Date: Tue, 6 May 2003 09:23:46 +0700 From: "Dmitry A. Fedorov" Reply-To: D.A.Fedorov@inp.nsk.su To: Terje Eggestad cc: Chuck Ebbert <76306.1226@compuserve.com>, linux-kernel Subject: Re: The disappearing sys_call_table export. In-Reply-To: <1052174975.1000.5.camel@eggis1> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 630 Lines: 18 On 6 May 2003, Terje Eggestad wrote: > Good point, it should actually be very simple. > from /proc/ksyms we've got teh adresses of the sys_*, then from > asm/unistd.h we got the order. /proc/ksyms shows only exported symbols, is not it? > Then search thru /dev/kmem until you find the right string og addresses, > and you got sys_call_table. > > Dirty but it should be portable. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/