Re: [PATCH] Fix 'flush_old_exec()/setup_new_exec()' split

From: Linus Torvalds
Date: Thu Feb 04 2010 - 00:40:43 EST




On Thu, 4 Feb 2010, Ben Hutchings wrote:
>
> I'm using Debian i386 (i.e. 32-bit userland) with a 64-bit kernel.
> After applying commit 221af7f to Debian's kernel source (approximately
> equivalent to 2.6.32.7), the kernel fails to exec init. After commit
> 7ab02af it can exec init but that immediately segfaults:

It sounds like you have picked individual commits.

But you don't mention commit 05d43ed8a, which is also a required part of
the series.

So you _should_ have a combination of
- 221af7f87 ("Split 'flush_old_exec' into two functions")
- 05d43ed8a ("x86: get rid of the insane TIF_ABI_PENDING bit")
- 7ab02af42 ("Fix 'flush_old_exec()/setup_new_exec()' split")

(and there are also additional sparc/ppc versions of that TIF_ABI_PENDING
bit removal, but they shouldn't matter on your system)

Linus
--
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/