Re: exported kernel symbols

Matthew Wilcox (Matthew.Wilcox@genedata.com)
Wed, 3 Nov 1999 16:27:54 +0100


On Wed, Nov 03, 1999 at 03:26:30PM +0100, Biondi, Philippe wrote:
> > 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 ?

you could poke around in /proc/kcore

-- 
Matthew Wilcox <willy@bofh.ai>
"Windows and MacOS are products, contrived by engineers in the service of
specific companies. Unix, by contrast, is not so much a product as it is a
painstakingly compiled oral history of the hacker subculture." - N Stephenson

- 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/