read_code(): go through vfs_read() instead of calling the method directly
authorAl Viro <viro@zeniv.linux.org.uk>
Wed, 5 Feb 2014 00:08:21 +0000 (19:08 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Wed, 2 Apr 2014 03:19:24 +0000 (23:19 -0400)
... and don't skip on sanity checks.  It's *not* a hot path, TYVM
(a couple of calls per a.out execve(), for pity sake) and headers of
random a.out binary are not to be trusted.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/exec.c

diff --cc fs/exec.c
Simple merge