]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4ab477c0289effc7f0eef70fd61bc5dee578d194
treea28bb77318d9bf8b930a5fae0114629bda70bf7f
parentd499e7e3a0618abb01cd7fc7bc6f9b4f80ca9f55
read_code(): go through vfs_read() instead of calling the method directly

... 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