public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Trond Myklebust <trond.myklebust@fys.uio.no>
To: Amber Palekar <amber_palekar@yahoo.com>
Cc: kernel list <linux-kernel@vger.kernel.org>
Subject: Re: syscall from modules
Date: 25 Dec 2001 14:09:19 +0100	[thread overview]
Message-ID: <shssn9zv43k.fsf@charged.uio.no> (raw)
In-Reply-To: <20011225113140.35274.qmail@web20303.mail.yahoo.com>
In-Reply-To: <20011225113140.35274.qmail@web20303.mail.yahoo.com>

>>>>> " " == Amber Palekar <amber_palekar@yahoo.com> 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

  reply	other threads:[~2001-12-25 13:09 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-12-25 11:31 syscall from modules Amber Palekar
2001-12-25 13:09 ` Trond Myklebust [this message]
2001-12-25 13:14   ` Again:syscall " Amber Palekar
2001-12-25 18:37     ` Trond Myklebust
2001-12-27 15:54     ` Terje Eggestad
2001-12-27 16:04       ` Terje Eggestad
2001-12-27 18:57       ` Trond Myklebust
2001-12-28 15:41         ` Ralf Baechle
2001-12-28 15:48           ` Trond Myklebust
2001-12-28 16:26             ` Ralf Baechle
     [not found] <01122513462001.02101@manta>
2001-12-25 12:03 ` syscall " Amber Palekar

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=shssn9zv43k.fsf@charged.uio.no \
    --to=trond.myklebust@fys.uio.no \
    --cc=amber_palekar@yahoo.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox