Mark Wielaard
2a54eefde2
Enable sys_getpriority and sys_setpriority for ppc64.
...
Bug 331830 - ppc64: WARNING: unhandled syscall: 96/97
(Miroslav Franc, mfranc@redhat.com )
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13861
2014-03-10 14:45:32 +00:00
Julian Seward
d59e0ef2a4
Handle IROps introduced by the arm64 port:
...
Iop_ZeroHI64ofV128, Iop_ZeroHI96ofV128, Iop_ZeroHI112ofV128,
Iop_ZeroHI120ofV128, Iop_Abs64Fx2, Iop_Neg64Fx2
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13860
2014-03-10 10:42:36 +00:00
Julian Seward
eee25b5186
Supporting macros for function intercept and wrapping on arm64:
...
* implement VALGRIND_ALIGN_STACK, VALGRIND_RESTORE_STACK
* preserve r30(LR) across the hidden call, so as to avoid segfaulting later
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13859
2014-03-09 09:46:04 +00:00
Julian Seward
c34c75b44b
Replace strlen, index, strcmp in the AArch64 ld.so. (Why does it have
...
the soname "ld-linux-aarch64.so.1" and not "ld-linux.so.3" like all
the rest?)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13858
2014-03-09 09:44:32 +00:00
Julian Seward
da3d709fb7
Enable syscalls: sys_inotify_init1 sys_inotify_add_watch
...
sys_inotify_rm_watch sys_fallocate sys_quotactl sys_pwrite64
sys_sysinfo sys_shmctl wrap_sys_shmat sys_shmdt
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13857
2014-03-08 20:34:45 +00:00
Julian Seward
a88850e0c9
More test cases:
...
xtn,xtn2
ushr 8h, 8h, #imm
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13856
2014-03-07 22:54:19 +00:00
Julian Seward
a6f3590485
Enable the following syscalls: sys_eventfd2 sys_symlinkat sys_renameat
...
sys_fstatfs sys_fsync sys_clock_getres sys_sched_getaffinity
sys_shmget sys_fadvise64
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13855
2014-03-07 22:48:50 +00:00
Bart Van Assche
43aef21f1a
drd/tests/thread_namedrd/tests/thread_name: Ensure mutex address uniqueness (see also #331847 )
...
From: Ivo Raisr <ivosh@ivosh.net >
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13854
2014-03-07 14:38:14 +00:00
Bart Van Assche
a18953034d
drd/tests/sem_open: Change the semaphore name ( #331839 )
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13853
2014-03-07 07:45:43 +00:00
Dejan Jevtic
efdafccacc
mips32/mips64: Fix the problem with VKI_ENOSYS and VKI_EOVERFLOW for mips32/64.
...
VKI_ENOSYS and VKI_EOVERFLOW don't have the same generic values for mips32/64.
We need to define these values for every Linux arch.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13852
2014-03-04 14:12:47 +00:00
Carl Love
e4f5fda8e1
updated NEWS to state bug 329956 is fixed for the next release.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13851
2014-03-03 20:49:20 +00:00
Julian Seward
1071f56d61
Add comprehensive testing for almost all supported load/store instructions.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13850
2014-03-03 08:43:43 +00:00
Julian Seward
12f983e5dc
Enable sys_epoll_create1, sys_epoll_ctl, sys_epoll_pwait, sys_prctl.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13849
2014-03-02 12:49:52 +00:00
Julian Seward
e0120ae24a
Add many test cases from arm64.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13848
2014-03-02 12:48:34 +00:00
Julian Seward
39acf83eb0
Update; document missing test cases.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13847
2014-03-01 11:27:59 +00:00
Julian Seward
f2c349eeee
Add test cases for SIMD and FP instructions.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13846
2014-03-01 11:27:18 +00:00
Julian Seward
1ffe03c510
Enable the following syscalls, which are needed to make regtests
...
in none/ work:
sys_ftruncate
sys_setitimer
sys_rt_sigsuspend
sys_rt_sigtimedwait
sys_mq_open
sys_mq_unlink
sys_semget
sys_semctl
sys_semtimedop
sys_semop
sys_listen
sys_accept
sys_process_vm_readv
sys_process_vm_writev
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13845
2014-03-01 11:24:42 +00:00
Julian Seward
6c400e5e0c
Fixes form arm64-linux.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13844
2014-03-01 11:21:45 +00:00
Julian Seward
7b4c56bb4d
Support arm64.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13843
2014-03-01 11:20:33 +00:00
Christian Borntraeger
1a0d760a10
wire up some more system calls on s390
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13842
2014-02-27 13:46:02 +00:00
Julian Seward
e45807708a
Fill in a (very) few cases for get_otrack_shadow_offset_wrk on arm64.
...
Apparently needed for generating some kinds of error messages, even
when not doing origin tracking, strangely enough.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13841
2014-02-27 11:15:58 +00:00
Julian Seward
686ec53b47
Enable a few more syscalls:
...
sys_setpriority, sys_getpriority, sys_getresuid,
sys_getresgid, sys_recvfrom, sys_readahead
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13840
2014-02-27 11:14:19 +00:00
Dejan Jevtic
d8caebf893
mips32: Add tests for mips32 floating point compare instructions.
...
Tests that are testing mips instructions c.cond.s and c.cond.d have been added in none/tests/mips32.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13839
2014-02-25 15:26:52 +00:00
Christian Borntraeger
26c05a0871
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
2014-02-24 21:01:14 +00:00
Mark Wielaard
85d5d54737
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
2014-02-24 15:09:21 +00:00
Tom Hughes
59d4e2822a
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
2014-02-24 15:06:06 +00:00
Mark Wielaard
7f675b0c9b
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
2014-02-24 10:38:45 +00:00
Florian Krohm
65d93e4de3
Make SGCheck fail with a meaningful message on unsupported platforms.
...
Fixes BZ #325856 .
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13834
2014-02-22 22:03:09 +00:00
Florian Krohm
d4cd406ade
Announce bug fix for BZ #331305
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13833
2014-02-22 18:45:39 +00:00
Florian Krohm
1db5bb0f39
Do not use == as it is not portable. Use = instead.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13832
2014-02-22 18:38:32 +00:00
Florian Krohm
5428b4f7a2
Bump __VALGRIND_MINOR__ to catch up with the release.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13831
2014-02-22 15:26:30 +00:00
Florian Krohm
5db9baf50d
Avoid "let" which isn't portable.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13830
2014-02-22 13:24:15 +00:00
Mark Wielaard
98b2f6cb9d
Accept glibc 2.19 as valid.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13829
2014-02-21 21:13:55 +00:00
Julian Seward
c67214fcb6
Fix incorrect include, spotted by mjw.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13828
2014-02-21 14:56:48 +00:00
Julian Seward
68eb4397b1
Update.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13827
2014-02-21 14:54:51 +00:00
Julian Seward
b1b41a45d8
* fix a bug in sys_clone that was causing threads to hang at exit
...
* enable enough syscalls to be able to run ssh and bash
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13826
2014-02-21 14:51:14 +00:00
Mark Wielaard
3473540d22
memcheck/tests/Makefile.am include filter_dw4 in dist_noinst_SCRIPTS.
...
The fix for BZ#331254 (r13814) added filter_dw4.
Make sure it is always included in the dist.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13825
2014-02-21 10:50:06 +00:00
Julian Seward
40469b7085
Enable sys_ppoll, sys_kill, sys_socketpair.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13824
2014-02-20 23:20:08 +00:00
Julian Seward
fa2ba0f61a
arm64-linux: make restarting of syscalls interrupted by signals work
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13823
2014-02-20 23:18:32 +00:00
Julian Seward
c1cd47aae4
First attempt at supporting sys_clone.
...
Also enable: sys_exit, sys_nanosleep, sys_madvise.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13822
2014-02-20 17:36:56 +00:00
Julian Seward
5f800d9f15
Make these buildable on arm64-linux.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13821
2014-02-20 17:34:45 +00:00
Mark Wielaard
93d88baa00
Bug 331337 s390x WARNING: unhandled syscall: 326 (dup3)
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13820
2014-02-20 15:43:07 +00:00
Petar Jovanovic
94787bcbe7
Removing fixed issue #326444 from the bug list
...
Issue #326444 has just been marked as fixed.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13819
2014-02-19 16:59:57 +00:00
Florian Krohm
ba7e9e57e9
Remove those bugs that are already reported in NEWS as being
...
fixed and have a FIXED status in Bugzilla.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13818
2014-02-19 13:41:14 +00:00
Dejan Jevtic
3d1369a6e0
mips32: Support for 64bit FPU on MIPS32 platforms.
...
Tests for 64bit FPU instructions on MIPS32 platforms.
Some mips instructions can cause SIGILL (Illegal instruction),
so we need to add SIGILL signal and a proper handler for that signal.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13817
2014-02-19 11:57:22 +00:00
Florian Krohm
bc1f32fb67
Fix BZ #327212 . Check for absolute path name at the end of
...
expand_file_name -- not at the beginning.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13816
2014-02-19 11:16:00 +00:00
Dejan Jevtic
1413bad9ec
mips32/64: Remove default flags -mips32 and -mips64 from the Makefile.all.am.
...
During configuration of Valgrind we check does the compiler support -march=mips32 and
-march=mips64. If compiler supports these flags we are using them as default flags for
mips32 and mips64.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13815
2014-02-18 16:40:25 +00:00
Tom Hughes
c6e0a9d24e
Filter out differences in structure size
...
Patch from Ivo Raisr on BZ#331254
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13814
2014-02-17 22:59:42 +00:00
Tom Hughes
1175b7c1a3
Use pclose instead of fclose to close pipes opened with popen, which
...
also allows us to drop the loop that was supposed to give the child a
chance to exit as the pclose will wait properly for the child.
Fix from Ivo Raisr on BZ#331255
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13813
2014-02-17 22:44:52 +00:00
Tom Hughes
c8f66f8d4d
Use sigjmp_buf with sig{set,long}jmp, not jmp_buf
...
Patch from Ivo Raisr on BZ#331257
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13812
2014-02-17 22:32:15 +00:00