RE: exported kernel symbols

Peter Samuelson (peter@wire.cadcamlab.org)
Wed, 3 Nov 1999 09:03:03 -0600 (CST)


[Biondi, Philippe]
> Does that means that if you disable insmod syscall and if you insert
> the following code in the kernel:

> int my_one=1;
> void erase_my_one() { my_one=0; }
> EXPORT_SYMBOL(my_one);
> EXPORT_SYMBOL(erase_my_one);

> Nobody can set my_one to zero, even with the dirtiest hack the world
> has ever seen ?

Actually, no -- the dirtiest hack the world has ever seen would most
likely involve something like mmap("/dev/kmem")....

-- 
Peter Samuelson
<sampo.creighton.edu!psamuels>

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/