BZ#331380 Syscall param timer_create(evp) points to uninitialised byte(s)

Only check struct sigevent actually used by the kernel. If SIGEV_THREAD_ID
is set check sigev_notify_thread_id, otherwise don't.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13835 a5019735-40e9-0310-863c-91ae7b9d1cf9
Handle IPv6 addresses when reporting open file descriptors.

Based on a patch from Roger Light on BZ#175819.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13836 a5019735-40e9-0310-863c-91ae7b9d1cf9
BZ#331380 cont. Don't crash if evp->sigev_notify is invalid. Fix scalar test.

We check evp.sigev_notify_thread_id only if evp->sigev_notify has
SIGEV_THREAD_ID set. But before checking we need to make sure accessing
evp->sigev_notify is valid.

Fix memcheck/tests/x86-linux/scalar.stderr.exp output.
We now produce separate warnings for the 3 different fields.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13837 a5019735-40e9-0310-863c-91ae7b9d1cf9
This fixes the shadow validity setup of SP,IA and FPC. The current
code misses a char * cast and thus uses a wrong pointer for memset.
This resulted in corruptions of a thread state for multi threaded
programs. After vex: r2818 the memset did overwrite the tid value
of a thread, making this bug visible.
Lets use the c structures instead of pointer arithmetics.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13838 a5019735-40e9-0310-863c-91ae7b9d1cf9