lkml.org 
[lkml]   [1997]   [Sep]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Checking if processor honours the WP ... Stops the computer
Hi,

If you were experiencing some problems with the WP-bit test, could you try
this patch? This should show if the exception is ever generated or whether
it's only handled incorrectly.

Anyway, some people suggested using __put_user for this job, but it isn't
good, because:

(1) An "Exception ..." message would appear on the screen unless it
would be filtered out which adds one more test to the exception handler.

(2) The WP test function couldn't be a initfunc, because the address
in the exception fixup table would be placed incorrectly (unless we'd use
another section for fixups generated by initfuncs, which doesn't seem to be
a good thing as it's the only case where it would be needed).

Have a nice fortnight
--
Martin `MJ' Mares <mj@gts.cz> http://atrey.karlin.mff.cuni.cz/~mj/
Faculty of Math and Physics, Charles University, Prague, Czech Rep., Earth
"Spelling checkers at maximum! Fire!"

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