On Wednesday 31 October 2001 05:33 pm, Mark Zealey wrote: Sorry, I forgot to say that I'm developping under 2.2.*. The TSS structure I was talking about was the one in the task_struct... > On Wed, Oct 31, 2001 at 05:16:03PM +0000, Luís Henriques wrote: > > Hi! > > > > I am trying to change the flags of a user process from a lkm to enable > > breakpoint exceptions in that process. > > > > I thought that it was just to look for the task_struct of that process > > (e.g., with for_each_task, looking for it's known PID) and change its tss > > structure. However, this is not working! Anyone can explain me why? > > With 2.4, the TSS is not used (much), I believe that eflags are either > stored in task_struct, or otherwise they are not reloaded for each process. > > Someone willl probably correct me on the last part. -- Luís Henriques - Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ IRC Channel: irc.openprojects.net / #kernelnewbies Web Page: http://www.kernelnewbies.org/