[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <47CEE3C1.8060304@zytor.com>
Date: Wed, 05 Mar 2008 10:17:37 -0800
From: "H. Peter Anvin" <hpa@...or.com>
To: Aurelien Jarno <aurelien@...el32.net>,
Thomas Gleixner <tglx@...utronix.de>,
Ingo Molnar <mingo@...hat.com>,
"H. Peter Anvin" <hpa@...or.com>, linux-kernel@...r.kernel.org
Subject: Re: [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@...el32.net>
Acked-by: H. Peter Anvin <hpa@...or.com>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists