[lkml]   [2011]   [Nov]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: Undefined Instruction
    On Wed, 2 Nov 2011, Xin Tong wrote:

    > If an application contains an undefined instruction to the processor (
    > x86 in particular ) how does the operating system handle it. does the
    > operating system just kill the process, or it will throw signals,
    > trying to recover from it ?

    CPU will trap and kernel will send SIGILL to the process.

    Jiri Kosina
    SUSE Labs

     \ /
      Last update: 2011-11-02 22:11    [W:0.019 / U:12.160 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site