[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:25:47PM -0800, Arun Sharma wrote:
> >     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.

	Unfortunately, I dont have the glibc sources. And, I am not too sure why the module address should end up in my EBX { the kernel calls my init_module byan "if (mod->init && mod->init() != 0)" }. Could you please explain the arch. independant method?

--vml,
Model Engg. College,
Cochin
--------------------------------------------------------------------
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.