Re: [uml-devel] doubt in debugging.

2007-05-24 Thread Antoine Martin
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 battipatisainagendra Bhavaniprasad wrote: > Hi, > Does Suse linux consist of skas patch bult in??? No, I am not aware of any vendor kernels that contain the skas patch. Antoine > > rgds, > Prasad > >

Re: [uml-devel] doubt in debugging.

2007-05-24 Thread rajasekhar.pulluru
Hi, Thanks for your response. The actual problem is I dint compile the module with -g option, that is wy it could nt load the symbols. Its solved now. Thanks guyz. -Original Message- From: Antoine Martin [mailto:[EMAIL PROTECTED] Sent: Thursday, May 24, 2007 4:40 PM To: battipatisainage

[uml-devel] fix SEGV in handle_page_fault() when current->mm is NULL

2007-05-24 Thread Nicolas S. Dade
In a non-uml kernel a get_user() when current->mm is NULL (kernel thread, or userspace process being torn down) returns error. In uml it SEGVs. The bug is that handle_page_fault() does not check for NULL before using mm. The trivial attached patch fixes this. -Nicolas Dade --- linux-2.6.21.2/arch/