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

From: Linus Torvalds
Date: Thu Feb 04 2010 - 14:55:56 EST




On Thu, 4 Feb 2010, Sven Joachim wrote:

> On 2010-02-04 20:11 +0100, Linus Torvalds wrote:
>
> > Sven/Ben: is /sbin/init (or wherever debian puts it) a regular ELF file?
> > Shared libraries? Anything at all special about it? I wonder why it seems
> > to have issues, when other 32-bit programs don't.
>
> ,----
> | % file /sbin/init
> | /sbin/init: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.18, stripped
> | % ldd /sbin/init
> | linux-gate.so.1 => (0xf770d000)
> | libsepol.so.1 => /lib/libsepol.so.1 (0xf76c0000)
> | libselinux.so.1 => /lib/libselinux.so.1 (0xf76a6000)
> | libc.so.6 => /lib/i686/cmov/libc.so.6 (0xf755e000)
> | libdl.so.2 => /lib/i686/cmov/libdl.so.2 (0xf755a000)
> | /lib/ld-linux.so.2 (0xf770e000)
> `----
>
> Apparently nothing special, and booting with init=/bin/bash does not
> change anything.

Yeah, well, if my current -git tree works, then there is something else
going on.

But I don't really see anything relevant _except_ for those commits. I do
note that mainline also has the do_wait() thread optimizations since
2.6.32, and I guess those aren't in stable, but I really don't see them
interacting with that whole flush_old_exec thing in any way.

Very odd.

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/