Subject: Re: What's a "real" elf loader like ?
To: Christos Zoulas <christos@astron.com>
From: Thomas E. Spanjaard <tgen@netphreax.net>
List: tech-kern
Date: 06/16/2006 18:37:02
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig7156D7C4ADE27330A92ECF5C
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Christos Zoulas wrote:
> Still you have to do the ugly symbol renames to avoid symbol collisions
> to make lkms work standalone, without depending on others.

Can't you ease that by using macros to define any exported symbol 
instead of regular C code? Of course, a potential LKM would need to use 
those for function signatures etc. instead of the usual ones, but you 
could provide for an #ifdef _KERNEL for instance when it's compiled in 
to create 'regular' symbols.

Cheers,
-- 
         Thomas E. Spanjaard
         tgen@netphreax.net

--------------enig7156D7C4ADE27330A92ECF5C
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (NetBSD)

iD8DBQFEkvpS6xCMwBJ+1+sRA7nrAKCbvQW9g01/0bnftiH5Fp0IDrk6ZQCfbpMT
K+AfK2nZvabQV49/2oTqhWE=
=94Bv
-----END PGP SIGNATURE-----

--------------enig7156D7C4ADE27330A92ECF5C--