Messages in this thread | | | Date | Wed, 26 Aug 2009 10:24:03 -0700 | From | "H. Peter Anvin" <> | Subject | Re: [PATCH 08/12] add trace events for each syscall entry/exit |
| |
On 08/26/2009 12:10 AM, Peter Zijlstra wrote: > On Tue, 2009-08-25 at 14:31 -0400, Mathieu Desnoyers wrote: >> For instance, some >> proprietary Linux driver does very odd things with system calls within >> kernel threads, like invoking them with int 0x80. > > So who is going to send the x86 patch to make int 0x80 from kernel space > panic the machine? :-)
Panicing might be a pretty darn good idea, since $DEITY knows what state your stacks are in at that point, and if it is about to overflow.
... besides all the other evilness that entails.
-hpa
-- H. Peter Anvin, Intel Open Source Technology Center I work for Intel. I don't speak on their behalf.
| |