[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

Re: [LI] Hiding LKM's -- Beta-test



On Mon, Jan 17, 2000 at 01:50:14PM +0530, Vimal Mathew wrote:
>     /*  EBX stores address of (struct module) for current module.
>         Read Phrack.
>      */
>     register struct module *mp asm("%ebx");

This method is too x86 specific. You may be able to do this in a
arch independent way. Read the system call calling conventions in
glibc sources.

	-Arun

--------------------------------------------------------------------
The Linux India Mailing List Archives are now available.  Please search
the archive at http://lists.linux-india.org/ before posting your question
to avoid repetition and save bandwidth.