mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Re: syscall from modules
       [not found] <01122513462001.02101@manta>
@ 2001-12-25 12:03 ` Amber Palekar
  0 siblings, 0 replies; 3+ messages in thread
From: Amber Palekar @ 2001-12-25 12:03 UTC (permalink / raw)
  To: vda; +Cc: kernel list

hi,
   if i export these syms .. firstly ill have to
change the source/patch the kernel which is not
advisable then every time i write such a module .. ill
have to make sure that i export all these symbols and
there are no conflicts due to some wierd deps that
might be present ( u never know ! ) So i am looking
for a descent way to do the same

Still in need of help,
Amber 

--- vda <vda@port.imtp.ilyichevsk.odessa.ua> wrote:
> On Tuesday 25 December 2001 09:31, Amber Palekar
> wrote:
> >  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 ??
> 
> I don't know much about module writing.
> Why do you think it's wrong to export those fns?
> --
> vda


__________________________________________________
Do You Yahoo!?
Send your FREE holiday greetings online!
http://greetings.yahoo.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: syscall from modules
  2001-12-25 11:31 Amber Palekar
@ 2001-12-25 13:09 ` Trond Myklebust
  0 siblings, 0 replies; 3+ messages in thread
From: Trond Myklebust @ 2001-12-25 13:09 UTC (permalink / raw)
  To: Amber Palekar; +Cc: kernel list

>>>>> " " == 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* syscall from modules
@ 2001-12-25 11:31 Amber Palekar
  2001-12-25 13:09 ` Trond Myklebust
  0 siblings, 1 reply; 3+ messages in thread
From: Amber Palekar @ 2001-12-25 11:31 UTC (permalink / raw)
  To: kernel list

 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 ??
 
 Pls help !!!
 Amber
 


__________________________________________________
Do You Yahoo!?
Send your FREE holiday greetings online!
http://greetings.yahoo.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-12-25 13:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <01122513462001.02101@manta>
2001-12-25 12:03 ` syscall from modules Amber Palekar
2001-12-25 11:31 Amber Palekar
2001-12-25 13:09 ` Trond Myklebust

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®