Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 25 Dec 2001 08:09:55 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 25 Dec 2001 08:09:45 -0500 Received: from mons.uio.no ([129.240.130.14]:20922 "EHLO mons.uio.no") by vger.kernel.org with ESMTP id ; Tue, 25 Dec 2001 08:09:26 -0500 To: Amber Palekar Cc: kernel list Subject: Re: syscall from modules In-Reply-To: <20011225113140.35274.qmail@web20303.mail.yahoo.com> From: Trond Myklebust Date: 25 Dec 2001 14:09:19 +0100 In-Reply-To: <20011225113140.35274.qmail@web20303.mail.yahoo.com> Message-ID: Lines: 18 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Cuyahoga Valley) 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 >>>>> " " == Amber Palekar writes: > Hi, > I am trying to write a linux kernel module.I want > to use sys_sendto,sys_recvfrom etc calls from the > module.However these symbols are not present in 'ksyms'.One > sluggish option is to modify socket.c ( which contains these > function definitions ) to export the symbols. However this > would require > comiling the entire kernel.Is there a descent way to do this ?? Hi, Just use sock_sendmsg() and sock_recvmsg() directly. They are both exported in netsyms.c. Cheers, Trond - 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/