lkml.org 
[lkml]   [1999]   [Nov]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: exported kernel symbols
Date

> 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")....
>
Ah, yes, I forgot this detail !
Can I say, now that I disabled insmod syscall and kmem driver [1] that my (so loved !) variable cannot be set to zero ?

[1] btw, Will someone or something stop working because it uses /dev/kmem ? I don't see any one, but I don't know everything.

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

\
 
 \ /
  Last update: 2005-03-22 13:54    [W:0.221 / U:0.112 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site