lkml.org 
[lkml]   [2008]   [Mar]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] x86: Clear DF before calling signal handler
    Aurelien Jarno wrote:
    > The Linux kernel currently does not clear the direction flag before
    > calling a signal handler, whereas the x86/x86-64 ABI requires that.
    > This become a real problem with gcc version 4.3, which assumes that
    > the direction flag is correctly cleared at the entry of a function.
    >
    > This patches changes the setup_frame() functions to clear the
    > direction before entering the signal handler.
    >
    > Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>

    Acked-by: H. Peter Anvin <hpa@zytor.com>



    \
     
     \ /
      Last update: 2008-03-05 19:25    [W:0.027 / U:0.272 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site