]> err.no Git - linux-2.6/commit
[PATCH] modules: prevent overriding of symbols
authorAshutosh Naik <ashutosh.naik@gmail.com>
Sun, 8 Jan 2006 09:04:25 +0000 (01:04 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 9 Jan 2006 04:14:03 +0000 (20:14 -0800)
commiteea8b54dc0dceb740da697a89c54d20dde340306
treec5f42385a174aa38aeb251eec361557a2b31d047
parentb368fae6abaa1736b8f26128c32947d47237b8e5
[PATCH] modules: prevent overriding of symbols

Ensure that an exported symbol does not already exist in the kernel or in
some other module's exported symbol table.  This is done by checking the
symbol tables for the exported symbol at the time of loading the module.
Currently this is done after the relocation of the symbol.

Signed-off-by: Ashutosh Naik <ashutosh.naik@gmail.com>
Signed-off-by: Anand Krishnan <anandhkrishnan@yahoo.co.in>
Cc: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
kernel/module.c