• J
    binfmt_misc: fix binfmt_misc priority · ee3aebdd
    Jan Sembera 提交于
    Commit 74641f58 ("alpha: binfmt_aout fix") (May 2009) introduced a
    regression - binfmt_misc is now consulted after binfmt_elf, which will
    unfortunately break ia32el.  ia32 ELF binaries on ia64 used to be matched
    using binfmt_misc and executed using wrapper.  As 32bit binaries are now
    matched by binfmt_elf before bindmt_misc kicks in, the wrapper is ignored.
    
    The fix increases precedence of binfmt_misc to the original state.
    Signed-off-by: NJan Sembera <jsembera@suse.cz>
    Cc: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
    Cc: Al Viro <viro@ZenIV.linux.org.uk>
    Cc: Richard Henderson <rth@twiddle.net
    Cc: <stable@kernel.org>		[2.6.everything.x]
    Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
    Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
    ee3aebdd
binfmt_misc.c 15.1 KB