[lkml]   [1996]   [Jul]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Misc Fixes
"Alan Cox writes"
|> > Not to jump in or anything, but...
|> > How about a small kernel function to return the current securelevel value?
|> > int get_securelevel();
|> > Then export THAT to modules.
|> It doesnt help. The malicious module does
|> unsigned long **ptr=(unsigned long **)&get_securelevel;
|> unsigned long *securelevelptr=ptr[SOME_CONSTANT];
|> *securelevelptr=0;

So we have to implement some `immutable memory' mechanism. once the
securelevel is set, it has to be (and the whole page) turned to readonly.
What a waste of valuable memory ! (I hear people complain about kernel
bloat once again :-)


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