Re: syscall from modules

Amber Palekar (amber_palekar@yahoo.com)
Tue, 25 Dec 2001 04:03:03 -0800 (PST)


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
-
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/