Add support for allowing the POST function for a system call to be called
even when the system call fails, and allow the PRE function to modify the
system call flags.

Also fix nanosleep so that it only marks the returned time as defined
if the system call exited with EINTR due to be interrupted.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2534 a5019735-40e9-0310-863c-91ae7b9d1cf9
3 files changed