Re: [Kgdb-bugreport] proposed changes to prevent panic
Status: Beta
Brought to you by:
jwessel
From: Amit S. K. <ami...@li...> - 2004-11-29 09:40:35
|
Mithlesh, You have expanded tabs to spaces. Please take care of that when you checkin this patch. -Amit On Monday 29 Nov 2004 2:36 pm, Mithlesh Thukral wrote: > hi all, > the current KGDB generates a seg fault when it tries to access some > memory in kernel data area and the code running is a userland process or > vice versa. to prevent this i have done few changes to kernel/kgdb.c . > these checks ensure that the DS is set properly when accessing kernel > data structures. since the check was required in 3 different functions i > have done it through a new function. > i am attaching the interdiff of propsed changes. if no one objects i > will commit this tomorrow afternoon (GMT + 5:30). > > Regards, > Mithlesh Thukral |