]> git.baikalelectronics.ru Git - kernel.git/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)
commit78f9ea037a2644397dbaabad46b93a0f57cc40da
treec5f42385a174aa38aeb251eec361557a2b31d047
parent481b6e1943a11a3d0af4bded5c30b62a86742fdd
[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