On Tue, 11 Oct 2005 15:28:18 +0200, Olaf Hering <[EMAIL PROTECTED]> wrote: > >What is the kdb equivalent of access_ok()?
kdb_getarea() and kdb_getarea_size(), you would normally use kdb_getarea(). It uses __copy_to_user_inatomic() to catch invalid addresses and recover. >I got this crash this morning >with our SP3 kernel. It seems there are alot of places where the pointer >is not checked before dereferencing it. Sometimes it is not worth checking all the addresses in every kdb routine. You can just use the addresses and let kdb recover from the error. --------------------------- Use http://oss.sgi.com/ecartis to modify your settings or to unsubscribe.
