Re: [LIP] Re:Re:System calls

"Amit Limaye" <[email protected]>
Newsgroups gmane.user-groups.linux.india.programmers
Message-ID <[email protected]>
suresh try having a look at LSM it does precisely what you want to do u may
get some information there

-SIGTERM
amit

----- Original Message -----
From: "suresh kumar" <suresh_vin-/iAzse42w/[email protected]>
To: <linux-india-programmers-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>
Sent: Friday, December 05, 2003 11:31 AM
Subject: [LIP] Re:Re:System calls


> >> 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
> _______________________________________________
> linux-india-programmers mailing list
> linux-india-programmers-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> https://lists.sourceforge.net/lists/listinfo/linux-india-programmers



-------------------------------------------------------
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.