[LIP] Re:Re:System calls
"suresh kumar" <suresh_vin-/iAzse42w/[email protected]>
| Newsgroups | gmane.user-groups.linux.india.programmers |
|---|---|
| Message-ID | <[email protected]> |
>> defined in module. This >> user defined function later on calls the actual open >> system call, its just >> like putting a block in between the chain. Please >> see the following code. > >> Declare sys_call_table as extern variable in you >> module code > >> extern void *sys_call_table[]; >sys_call_table[] is not exported from kern >2.4.X...atleast 2.4.18 doesnot export it. so u cant >change a system call that way. Seems what u said is true. If that is the case, how do I proceed further for operations which I have described, and the reason why they have removed sys_call_table from the symbol table. Tried to look in to lkml but it was too huge and am distracted looking in to other queries(laughing). One more thing, all the system calls have asmlinkage, and this macro tells the gcc that the arguments come from the stack not from the registers. Exactly, I didnt follow what does that mean. If I know the reason perhaps I would know why that requirement for, for system calls. Some one throw some light over this. cheers Suresh > > Regards, > Gaurav. > -- ______________________________________________ IndiaInfo Mail - the free e-mail service with a difference! www.indiainfo.com Check out our value-added Premium features, such as an extra 20MB for mail storage, POP3, e-mail forwarding, and ads-free mailboxes! Powered by Outblaze ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click