Re: [PATCH] x86: Clear DF before calling signal handler

From: Ingo Molnar
Date: Thu Mar 06 2008 - 04:21:50 EST



* Aurelien Jarno <aurelien@xxxxxxxxxxx> 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.

thanks, applied.

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/