Skip to contentSkip to conversation

syscall from modules

DISCUSSION Amber Palekar 1 participant 1 message Dec 25, 2001 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive

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

Quoted 13 lines · --- vda
Quoted 2 lines · Amber Palekar

Hi,
I am trying to write a linux kernel module.I

want

Quoted 1 line

to use sys_sendto,sys_recvfrom etc calls from

the

Quoted 2 lines

module.However these symbols are not present in 'ksyms'.One sluggish option is to modify socket.c

(

Quoted 3 lines

which contains these function definitions ) to export the symbols. However this would require
comiling the entire kernel.Is there a descent way

Quoted 7 lines

to

Quoted 1 line

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