]> err.no Git - linux-2.6/commit
[PATCH] uclinux: delay binfmt_flat trace
authorGreg Ungerer <gerg@snapgear.com>
Tue, 10 Jan 2006 06:59:37 +0000 (16:59 +1000)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 10 Jan 2006 17:31:27 +0000 (09:31 -0800)
commit845884d332c060b0dfc54ba5a580d0f1a99c58a2
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