Re: + signal-always-clear-sa_restorer-on-execve.patch added to -mmtree

From: Andrew Morton
Date: Mon Mar 11 2013 - 17:42:39 EST

On Mon, 11 Mar 2013 14:33:18 -0700 Kees Cook <keescook@xxxxxxxxxxxx> wrote:

> > patch #1: use SA_RESTORER, cc stable (please promise me this will work OK)
> I don't have the ability to build all the architectures, but it seems
> like the best flag based on code review.

SA_RESTORER looks OK back to 3.5 (at least).

> > patch #2: switch to __ARCH_HAS_SA_RESTORER, no cc stable
> >
> > I'm assuming this is all for 3.10, btw. If you think it should be in
> > 3.9 then you need to write scarier changelogs.
> Well, I'm not sure it needs to be scarier; it's a serious local ASLR
> info leak. I was hoping it could go into 3.9 since the expectation is
> for it to go to stable, so why not put it in 3.9 now?


> Do you want me to spin up the 2-patch solution or is it too much of a hack?

Is OK, I have it all lined up.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at