[PATCH] uclinux: delay binfmt_flat trace
commit845884d332c060b0dfc54ba5a580d0f1a99c58a2
authorGreg Ungerer <gerg@snapgear.com>
Tue, 10 Jan 2006 06:59:37 +0000 (10 16:59 +1000)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 10 Jan 2006 17:31:27 +0000 (10 09:31 -0800)
treeda786d4435001105f36d903b532a165e2bae5462
parent082f2c1cc7aa7aabdbf5235b788ff42e10abb399
[PATCH] uclinux: delay binfmt_flat trace

Modify the initial trace output (which is based on flags in the binary
header) so that it is not done until after the magic number check.  This
may well not be a flat format binary, so the flags could be invalid.
(Prime example, running a script).

Changes prompted by patches from Stuart Hughs.

Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/binfmt_flat.c