Turns out there is at least one version of glibc tat contains

a file name writev.c. This screws our filename based backtrace
filtering. Rename writev to writev1 to avoid that problem.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12093
This commit is contained in:
Florian Krohm 2011-10-04 03:33:59 +00:00
parent c8d25c1a22
commit d2b0c7d982
5 changed files with 9 additions and 9 deletions

View File

@ -201,7 +201,7 @@ EXTRA_DIST = \
wrap7.vgtest wrap7.stdout.exp wrap7.stderr.exp \
wrap8.vgtest wrap8.stdout.exp wrap8.stderr.exp \
wrap8.stdout.exp2 wrap8.stderr.exp2 \
writev.stderr.exp writev.vgtest \
writev1.stderr.exp writev1.vgtest \
xml1.stderr.exp xml1.stdout.exp xml1.vgtest
check_PROGRAMS = \
@ -261,7 +261,7 @@ check_PROGRAMS = \
vcpu_fbench vcpu_fnfns \
xml1 \
wrap1 wrap2 wrap3 wrap4 wrap5 wrap6 wrap7 wrap7so.so wrap8 \
writev
writev1
AM_CFLAGS += $(AM_FLAG_M3264_PRI)

View File

@ -1,2 +0,0 @@
prog: writev
vgopts: -q

View File

@ -1,19 +1,19 @@
Test file created.
Syscall param writev(vector[...]) points to unaddressable byte(s)
at 0x........: writev (writev.c:51)
by 0x........: main (writev.c:56)
...
by 0x........: main (writev1.c:56)
Address 0x........ is not stack'd, malloc'd or (recently) free'd
Received EFAULT as expected
Syscall param writev(vector) points to unaddressable byte(s)
at 0x........: writev (writev.c:51)
by 0x........: main (writev.c:68)
...
by 0x........: main (writev1.c:68)
Address 0x........ is not stack'd, malloc'd or (recently) free'd
Received EINVAL as expected
Syscall param readv(vector) points to unaddressable byte(s)
...
by 0x........: main (writev.c:76)
by 0x........: main (writev1.c:76)
Address 0x........ is not stack'd, malloc'd or (recently) free'd
Received EINVAL as expected

View File

@ -0,0 +1,2 @@
prog: writev1
vgopts: -q