Re: Query about initramfs and modules

From: H. Peter Anvin (hpa@zytor.com)
Date: Wed Jan 16 2002 - 13:13:55 EST


Followup to: <15429.48638.96256.842851@irving.iisd.sra.com>
By author: David Garfield <garfield@irving.iisd.sra.com>
In newsgroup: linux.dev.kernel
>
> Agreed. However, this work could easily be performed by an insmod
> variant that takes a module, a "System.map", and a kernel image, and
> produces a cpio file as output instead of passing the data to the
> kernel for immediate processing. The kernel mechanism would then only
> need to unpack the pieces, relocate, and make the system calls.
>

How do you know where the running kernel will be allocating address
space for the module?

        -hpa

-- 
<hpa@transmeta.com> at work, <hpa@zytor.com> in private!
"Unix gives you enough rope to shoot yourself in the foot."
http://www.zytor.com/~hpa/puzzle.txt	<amsp@zytor.com>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Jan 23 2002 - 21:00:16 EST