Improve the checks in PRE(execve) to check that the file being executed
is a regular file and fail with EINVAL if it is not.

This problem was highlight by bug 89481 although this doesn't solve the
actual problem reported in that bug.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2723 a5019735-40e9-0310-863c-91ae7b9d1cf9
1 file changed