You can subscribe to this list here.
| 2002 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
(122) |
Nov
(152) |
Dec
(69) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2003 |
Jan
(6) |
Feb
(25) |
Mar
(73) |
Apr
(82) |
May
(24) |
Jun
(25) |
Jul
(10) |
Aug
(11) |
Sep
(10) |
Oct
(54) |
Nov
(203) |
Dec
(182) |
| 2004 |
Jan
(307) |
Feb
(305) |
Mar
(430) |
Apr
(312) |
May
(187) |
Jun
(342) |
Jul
(487) |
Aug
(637) |
Sep
(336) |
Oct
(373) |
Nov
(441) |
Dec
(210) |
| 2005 |
Jan
(385) |
Feb
(480) |
Mar
(636) |
Apr
(544) |
May
(679) |
Jun
(625) |
Jul
(810) |
Aug
(838) |
Sep
(634) |
Oct
(521) |
Nov
(965) |
Dec
(543) |
| 2006 |
Jan
(494) |
Feb
(431) |
Mar
(546) |
Apr
(411) |
May
(406) |
Jun
(322) |
Jul
(256) |
Aug
(401) |
Sep
(345) |
Oct
(542) |
Nov
(308) |
Dec
(481) |
| 2007 |
Jan
(427) |
Feb
(326) |
Mar
(367) |
Apr
(255) |
May
(244) |
Jun
(204) |
Jul
(223) |
Aug
(231) |
Sep
(354) |
Oct
(374) |
Nov
(497) |
Dec
(362) |
| 2008 |
Jan
(322) |
Feb
(482) |
Mar
(658) |
Apr
(422) |
May
(476) |
Jun
(396) |
Jul
(455) |
Aug
(267) |
Sep
(280) |
Oct
(253) |
Nov
(232) |
Dec
(304) |
| 2009 |
Jan
(486) |
Feb
(470) |
Mar
(458) |
Apr
(423) |
May
(696) |
Jun
(461) |
Jul
(551) |
Aug
(575) |
Sep
(134) |
Oct
(110) |
Nov
(157) |
Dec
(102) |
| 2010 |
Jan
(226) |
Feb
(86) |
Mar
(147) |
Apr
(117) |
May
(107) |
Jun
(203) |
Jul
(193) |
Aug
(238) |
Sep
(300) |
Oct
(246) |
Nov
(23) |
Dec
(75) |
| 2011 |
Jan
(133) |
Feb
(195) |
Mar
(315) |
Apr
(200) |
May
(267) |
Jun
(293) |
Jul
(353) |
Aug
(237) |
Sep
(278) |
Oct
(611) |
Nov
(274) |
Dec
(260) |
| 2012 |
Jan
(303) |
Feb
(391) |
Mar
(417) |
Apr
(441) |
May
(488) |
Jun
(655) |
Jul
(590) |
Aug
(610) |
Sep
(526) |
Oct
(478) |
Nov
(359) |
Dec
(372) |
| 2013 |
Jan
(467) |
Feb
(226) |
Mar
(391) |
Apr
(281) |
May
(299) |
Jun
(252) |
Jul
(311) |
Aug
(352) |
Sep
(481) |
Oct
(571) |
Nov
(222) |
Dec
(231) |
| 2014 |
Jan
(185) |
Feb
(329) |
Mar
(245) |
Apr
(238) |
May
(281) |
Jun
(399) |
Jul
(382) |
Aug
(500) |
Sep
(579) |
Oct
(435) |
Nov
(487) |
Dec
(256) |
| 2015 |
Jan
(338) |
Feb
(357) |
Mar
(330) |
Apr
(294) |
May
(191) |
Jun
(108) |
Jul
(142) |
Aug
(261) |
Sep
(190) |
Oct
(54) |
Nov
(83) |
Dec
(22) |
| 2016 |
Jan
(49) |
Feb
(89) |
Mar
(33) |
Apr
(50) |
May
(27) |
Jun
(34) |
Jul
(53) |
Aug
(53) |
Sep
(98) |
Oct
(206) |
Nov
(93) |
Dec
(53) |
| 2017 |
Jan
(65) |
Feb
(82) |
Mar
(102) |
Apr
(86) |
May
(187) |
Jun
(67) |
Jul
(23) |
Aug
(93) |
Sep
(65) |
Oct
(45) |
Nov
(35) |
Dec
(17) |
| 2018 |
Jan
(26) |
Feb
(35) |
Mar
(38) |
Apr
(32) |
May
(8) |
Jun
(43) |
Jul
(27) |
Aug
(30) |
Sep
(43) |
Oct
(42) |
Nov
(38) |
Dec
(67) |
| 2019 |
Jan
(32) |
Feb
(37) |
Mar
(53) |
Apr
(64) |
May
(49) |
Jun
(18) |
Jul
(14) |
Aug
(53) |
Sep
(25) |
Oct
(30) |
Nov
(49) |
Dec
(31) |
| 2020 |
Jan
(87) |
Feb
(45) |
Mar
(37) |
Apr
(51) |
May
(99) |
Jun
(36) |
Jul
(11) |
Aug
(14) |
Sep
(20) |
Oct
(24) |
Nov
(40) |
Dec
(23) |
| 2021 |
Jan
(14) |
Feb
(53) |
Mar
(85) |
Apr
(15) |
May
(19) |
Jun
(3) |
Jul
(14) |
Aug
(1) |
Sep
(57) |
Oct
(73) |
Nov
(56) |
Dec
(22) |
| 2022 |
Jan
(3) |
Feb
(22) |
Mar
(6) |
Apr
(55) |
May
(46) |
Jun
(39) |
Jul
(15) |
Aug
(9) |
Sep
(11) |
Oct
(34) |
Nov
(20) |
Dec
(36) |
| 2023 |
Jan
(79) |
Feb
(41) |
Mar
(99) |
Apr
(169) |
May
(48) |
Jun
(16) |
Jul
(16) |
Aug
(57) |
Sep
(19) |
Oct
|
Nov
|
Dec
|
| S | M | T | W | T | F | S |
|---|---|---|---|---|---|---|
|
|
|
|
|
1
|
2
(1) |
3
|
|
4
|
5
(1) |
6
(2) |
7
(1) |
8
(1) |
9
(2) |
10
|
|
11
|
12
|
13
(6) |
14
(4) |
15
(1) |
16
(4) |
17
(2) |
|
18
(1) |
19
(8) |
20
(8) |
21
(2) |
22
(3) |
23
(3) |
24
|
|
25
|
26
|
27
(1) |
28
|
29
|
30
|
31
(2) |
|
From: Petar J. <mip...@gm...> - 2019-08-13 15:00:16
|
Can you check the latest development tree and see if you are seeing the issue with it? There have been some changes related to syscall routines, so there is a (small) chance it could help your issue. Give it a try. Petar |
|
From: Petar J. <pe...@so...> - 2019-08-13 14:55:56
|
https://sourceware.org/git/gitweb.cgi?p=valgrind.git;h=14911f7d6cc92df110c5987549bfcd84279009a5 commit 14911f7d6cc92df110c5987549bfcd84279009a5 Author: Petar Jovanovic <mip...@gm...> Date: Tue Aug 13 14:51:37 2019 +0000 make pth_self_kill_15_other test deterministic Modify the pth_self_kill_15_other test to make its behaviour deterministic by introducing a pthread_join call. Do so by modifying the signal handler for SIGTERM for the spawned thread which would issue the pthread_join call prior to exiting. This fixes KDE #410599. Patch by Stefan Maksimovic. Diff: --- NEWS | 1 + none/tests/pth_self_kill.c | 21 +++++++++++++++++++++ 2 files changed, 22 insertions(+) diff --git a/NEWS b/NEWS index 7217164..6d55d76 100644 --- a/NEWS +++ b/NEWS @@ -58,6 +58,7 @@ where XXXXXX is the bug number as listed below. 404406 s390x: z14 miscellaneous instructions not implemented 409141 Valgrind hangs when SIGKILLed 409367 exit_group() after signal to thread waiting in futex() causes hangs +410599 Non-deterministic behaviour of pth_self_kill_15_other test n-i-bz Fix minor one time leaks in dhat. n-i-bz Add --run-cxx-freeres=no in outer args to avoid inner crashes. diff --git a/none/tests/pth_self_kill.c b/none/tests/pth_self_kill.c index 98adbad..3ad675f 100644 --- a/none/tests/pth_self_kill.c +++ b/none/tests/pth_self_kill.c @@ -10,6 +10,8 @@ valgrind ./pth_self_kill 15 killotherthread was looping. */ +pthread_t parent_thr; + void *t(void *p) { sleep (200); @@ -18,10 +20,28 @@ void *t(void *p) return NULL; } +void handler_15(int signum) +{ + pthread_join(parent_thr, NULL); + exit(2); +} + int main(int argc, char **argv) { pthread_t thr; + parent_thr = pthread_self(); + + struct sigaction sa_old; + struct sigaction sa_new; + + sigaction(15, NULL, &sa_old); + sa_new.sa_mask = sa_old.sa_mask; + sa_new.sa_flags = sa_old.sa_flags; + sa_new.sa_handler = &handler_15; + sigaction(15, &sa_new, NULL); + + if (argc <= 1) { printf @@ -41,4 +61,5 @@ int main(int argc, char **argv) } else raise(s); + sigaction(15, &sa_old, NULL); } |
|
From: Petar J. <pe...@so...> - 2019-08-13 14:32:25
|
https://sourceware.org/git/gitweb.cgi?p=valgrind.git;h=f605da3ef5f8b8573043fd1abae59722b8d37cee commit f605da3ef5f8b8573043fd1abae59722b8d37cee Author: Petar Jovanovic <mip...@gm...> Date: Tue Aug 13 14:30:30 2019 +0000 mips32: add sync_file_range syscall support Hook up sync_file_range for mips32. Along with the change for passing 7th argument in syscalls, this will fix sync_file_range01 failure within LTP test suite. Patch by Nikola Milutinovic. Diff: --- coregrind/m_syswrap/syswrap-mips32-linux.c | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/coregrind/m_syswrap/syswrap-mips32-linux.c b/coregrind/m_syswrap/syswrap-mips32-linux.c index 7905547..fe58d09 100644 --- a/coregrind/m_syswrap/syswrap-mips32-linux.c +++ b/coregrind/m_syswrap/syswrap-mips32-linux.c @@ -410,6 +410,7 @@ DECL_TEMPLATE (mips_linux, sys_set_thread_area); DECL_TEMPLATE (mips_linux, sys_pipe); DECL_TEMPLATE (mips_linux, sys_prctl); DECL_TEMPLATE (mips_linux, sys_ptrace); +DECL_TEMPLATE (mips_linux, sys_sync_file_range); PRE(sys_mmap2) { @@ -724,6 +725,28 @@ POST(sys_prctl) WRAPPER_POST_NAME(linux, sys_prctl)(tid, arrghs, status); } +PRE(sys_sync_file_range) +{ + *flags |= SfMayBlock; + + PRINT("sys_sync_file_range ( %ld, %llu, %llu, %ld )", + SARG1, MERGE64(ARG3,ARG4), MERGE64(ARG5, ARG6), SARG7); + + if (VG_(tdict).track_pre_reg_read) { + PRRSN; + PRA1("sync_file_range", int, fd); + PRA3("sync_file_range", vki_u32, MERGE64_FIRST(offset)); + PRA4("sync_file_range", vki_u32, MERGE64_SECOND(offset)); + PRA5("sync_file_range", vki_u32, MERGE64_FIRST(nbytes)); + PRA6("sync_file_range", vki_u32, MERGE64_SECOND(nbytes)); + PRA7("sync_file_range", int, flags); + } + + if (!ML_(fd_allowed)(ARG1, "sync_file_range", tid, False)){ + SET_STATUS_Failure( VKI_EBADF ); + } +} + #undef PRE #undef POST @@ -1038,6 +1061,7 @@ static SyscallTableEntry syscall_main_table[] = { LINXY (__NR_ppoll, sys_ppoll), // 302 //.. LINX_ (__NR_splice, sys_splice), // 304 + PLAX_ (__NR_sync_file_range, sys_sync_file_range), // 305 //.. LINX_ (__NR_set_robust_list, sys_set_robust_list), // 309 LINXY (__NR_get_robust_list, sys_get_robust_list), // 310 |
|
From: Petar J. <pe...@so...> - 2019-08-13 14:32:21
|
https://sourceware.org/git/gitweb.cgi?p=valgrind.git;h=9d1b64dd4d5da843fe7a74caa4f86bc672b0eb33 commit 9d1b64dd4d5da843fe7a74caa4f86bc672b0eb33 Author: Petar Jovanovic <mip...@gm...> Date: Tue Aug 13 12:19:30 2019 +0000 mips: pass 7th argument in syscalls Only arg1 to arg6 have been passed down to kernel for syscalls. This patch ensures that arg7 is also passed down for syscalls. In addition to this, ensure that we have 16-byte aligned stack during mips64 syscall. Along with the change for sync_file_range, this will fix sync_file_range01 failure within LTP test suite. Patch by Nikola Milutinovic. Diff: --- coregrind/m_syscall.c | 37 ++++++++++++++---------------- coregrind/m_syswrap/priv_types_n_macros.h | 11 ++++++++- coregrind/m_syswrap/syscall-mips32-linux.S | 6 +++-- coregrind/m_syswrap/syscall-mips64-linux.S | 2 ++ coregrind/m_syswrap/syswrap-main.c | 11 +++++++-- 5 files changed, 42 insertions(+), 25 deletions(-) diff --git a/coregrind/m_syscall.c b/coregrind/m_syscall.c index cbc491b..a3461e8 100644 --- a/coregrind/m_syscall.c +++ b/coregrind/m_syscall.c @@ -774,7 +774,7 @@ static UWord do_syscall_WRK ( */ extern int do_syscall_WRK ( int a1, int a2, int a3, - int a4, int a5, int a6, int syscall_no, UWord *err, + int a4, int a5, int a6, int a7, int syscall_no, UWord *err, UWord *valHi, UWord* valLo ); asm ( @@ -784,15 +784,15 @@ asm ( ".set push \n\t" ".set noreorder \n\t" "do_syscall_WRK: \n\t" - " lw $2, 24($29) \n\t" - " syscall \n\t" - " lw $8, 28($29) \n\t" - " sw $7, ($8) \n\t" - " lw $8, 32($29) \n\t" - " sw $3, ($8) \n\t" /* store valHi */ - " lw $8, 36($29) \n\t" - " jr $31 \n\t" - " sw $2, ($8) \n\t" /* store valLo */ + " lw $2, 28($29) \n\t" + " syscall \n\t" + " lw $8, 32($29) \n\t" + " sw $7, ($8) \n\t" + " lw $8, 36($29) \n\t" + " sw $3, ($8) \n\t" /* store valHi */ + " lw $8, 40($29) \n\t" + " jr $31 \n\t" + " sw $2, ($8) \n\t" /* store valLo */ ".size do_syscall_WRK, .-do_syscall_WRK \n\t" ".set pop \n\t" ".previous \n\t" @@ -800,7 +800,7 @@ asm ( #elif defined(VGP_mips64_linux) extern RegWord do_syscall_WRK ( RegWord a1, RegWord a2, RegWord a3, RegWord a4, - RegWord a5, RegWord a6, RegWord syscall_no, + RegWord a5, RegWord a6, RegWord a7, RegWord syscall_no, RegWord* V1_A3_val ); asm ( ".text \n\t" @@ -809,15 +809,12 @@ asm ( ".set push \n\t" ".set noreorder \n\t" "do_syscall_WRK: \n\t" - " daddiu $29, $29, -8 \n\t" - " sd $11, 0($29) \n\t" - " move $2, $10 \n\t" + " move $2, $11 \n\t" " syscall \n\t" - " ld $11, 0($29) \n\t" - " daddiu $29, $29, 8 \n\t" - " sd $3, 0($11) \n\t" /* store v1 in last param */ + " ld $12, 0($29) \n\t" + " sd $3, 0($12) \n\t" /* store v1 in V1_A3_val */ " jr $31 \n\t" - " sd $7, 8($11) \n\t" /* store a3 in last param */ + " sd $7, 8($12) \n\t" /* store a3 in V1_A3_val */ ".size do_syscall_WRK, .-do_syscall_WRK \n\t" ".set pop \n\t" ".previous \n\t" @@ -1026,14 +1023,14 @@ SysRes VG_(do_syscall) ( UWord sysno, RegWord a1, RegWord a2, RegWord a3, UWord err = 0; UWord valHi = 0; UWord valLo = 0; - (void) do_syscall_WRK(a1,a2,a3,a4,a5,a6, sysno,&err,&valHi,&valLo); + (void) do_syscall_WRK(a1, a2, a3, a4, a5, a6, a7, sysno, &err, &valHi, &valLo); return VG_(mk_SysRes_mips32_linux)( valLo, valHi, (ULong)err ); #elif defined(VGP_mips64_linux) RegWord v1_a3[2]; v1_a3[0] = 0xFF00; v1_a3[1] = 0xFF00; - RegWord V0 = do_syscall_WRK(a1,a2,a3,a4,a5,a6,sysno,v1_a3); + RegWord V0 = do_syscall_WRK(a1, a2, a3, a4, a5, a6, a7, sysno, v1_a3); RegWord V1 = (RegWord)v1_a3[0]; RegWord A3 = (RegWord)v1_a3[1]; return VG_(mk_SysRes_mips64_linux)( V0, V1, A3 ); diff --git a/coregrind/m_syswrap/priv_types_n_macros.h b/coregrind/m_syswrap/priv_types_n_macros.h index 32165fd..bd9176c 100644 --- a/coregrind/m_syswrap/priv_types_n_macros.h +++ b/coregrind/m_syswrap/priv_types_n_macros.h @@ -91,7 +91,7 @@ typedef || defined(VGP_ppc32_linux) \ || defined(VGP_ppc64be_linux) || defined(VGP_ppc64le_linux) \ || defined(VGP_arm_linux) || defined(VGP_s390x_linux) \ - || defined(VGP_mips64_linux) || defined(VGP_arm64_linux) + || defined(VGP_arm64_linux) Int o_arg1; Int o_arg2; Int o_arg3; @@ -127,6 +127,15 @@ typedef Int o_arg6; Int s_arg7; Int s_arg8; +# elif defined(VGP_mips64_linux) + Int o_arg1; + Int o_arg2; + Int o_arg3; + Int o_arg4; + Int o_arg5; + Int o_arg6; + Int o_arg7; + Int o_arg8; # else # error "Unknown platform" # endif diff --git a/coregrind/m_syswrap/syscall-mips32-linux.S b/coregrind/m_syswrap/syscall-mips32-linux.S index 286cea3..8a99f93 100644 --- a/coregrind/m_syswrap/syscall-mips32-linux.S +++ b/coregrind/m_syswrap/syscall-mips32-linux.S @@ -115,16 +115,18 @@ ML_(do_syscall_for_client_WRK): lw $5, OFFSET_mips32_r5($8) lw $6, OFFSET_mips32_r6($8) lw $7, OFFSET_mips32_r7($8) - subu $29, $29, 24 #set up the steck frame, + subu $29, $29, 32 #set up the steck frame, lw $9, OFFSET_mips32_r29($8) lw $10, 16($9) sw $10, 16($29) lw $10, 20($9) sw $10, 20($29) + lw $10, 24($9) + sw $10, 24($29) 2: syscall -3: addu $29, $29, 24 #set up the steck frame, +3: addu $29, $29, 32 #set up the steck frame, lw $8, 48($29) /* t0 == ThreadState */ sw $2, OFFSET_mips32_r2($8) diff --git a/coregrind/m_syswrap/syscall-mips64-linux.S b/coregrind/m_syswrap/syscall-mips64-linux.S index 569dee9..9fbd0b6 100644 --- a/coregrind/m_syswrap/syscall-mips64-linux.S +++ b/coregrind/m_syswrap/syscall-mips64-linux.S @@ -96,6 +96,8 @@ ML_(do_syscall_for_client_WRK): ld $7, OFFSET_mips64_r7($5) /* a3 */ ld $8, OFFSET_mips64_r8($5) /* a4 */ ld $9, OFFSET_mips64_r9($5) /* a5 */ + ld $10, OFFSET_mips64_r10($5) /* a6 */ + ld $11, OFFSET_mips64_r11($5) /* a7 */ ld $5, OFFSET_mips64_r5($5) /* a1 */ ld $2, 0($29) /* syscallno */ diff --git a/coregrind/m_syswrap/syswrap-main.c b/coregrind/m_syswrap/syswrap-main.c index 49a4234..3bff7a9 100644 --- a/coregrind/m_syswrap/syswrap-main.c +++ b/coregrind/m_syswrap/syswrap-main.c @@ -560,6 +560,7 @@ void getSyscallArgsFromGuestState ( /*OUT*/SyscallArgs* canonical, canonical->arg4 = *((UInt*) (gst->guest_r29 + 16)); // 16(guest_SP/sp) canonical->arg5 = *((UInt*) (gst->guest_r29 + 20)); // 20(guest_SP/sp) canonical->arg6 = *((UInt*) (gst->guest_r29 + 24)); // 24(guest_SP/sp) + canonical->arg7 = *((UInt*) (gst->guest_r29 + 28)); // 28(guest_SP/sp) canonical->arg8 = __NR_syscall; } @@ -572,6 +573,8 @@ void getSyscallArgsFromGuestState ( /*OUT*/SyscallArgs* canonical, canonical->arg4 = gst->guest_r7; // a3 canonical->arg5 = gst->guest_r8; // a4 canonical->arg6 = gst->guest_r9; // a5 + canonical->arg7 = gst->guest_r10; // a6 + canonical->arg8 = gst->guest_r11; // a7 #elif defined(VGP_x86_darwin) VexGuestX86State* gst = (VexGuestX86State*)gst_vanilla; @@ -890,6 +893,7 @@ void putSyscallArgsIntoGuestState ( /*IN*/ SyscallArgs* canonical, gst->guest_r7 = canonical->arg4; *((UInt*) (gst->guest_r29 + 16)) = canonical->arg5; // 16(guest_GPR29/sp) *((UInt*) (gst->guest_r29 + 20)) = canonical->arg6; // 20(sp) + *((UInt*) (gst->guest_r29 + 24)) = canonical->arg7; // 24(sp) } else { canonical->arg8 = 0; gst->guest_r2 = __NR_syscall; @@ -900,6 +904,7 @@ void putSyscallArgsIntoGuestState ( /*IN*/ SyscallArgs* canonical, *((UInt*) (gst->guest_r29 + 16)) = canonical->arg4; // 16(guest_GPR29/sp) *((UInt*) (gst->guest_r29 + 20)) = canonical->arg5; // 20(sp) *((UInt*) (gst->guest_r29 + 24)) = canonical->arg6; // 24(sp) + *((UInt*) (gst->guest_r29 + 28)) = canonical->arg7; // 28(sp) } #elif defined(VGP_mips64_linux) @@ -911,6 +916,8 @@ void putSyscallArgsIntoGuestState ( /*IN*/ SyscallArgs* canonical, gst->guest_r7 = canonical->arg4; gst->guest_r8 = canonical->arg5; gst->guest_r9 = canonical->arg6; + gst->guest_r10 = canonical->arg7; + gst->guest_r11 = canonical->arg8; #elif defined(VGP_x86_solaris) VexGuestX86State* gst = (VexGuestX86State*)gst_vanilla; @@ -1461,8 +1468,8 @@ void getSyscallArgLayout ( /*OUT*/SyscallArgLayout* layout ) layout->o_arg4 = OFFSET_mips64_r7; layout->o_arg5 = OFFSET_mips64_r8; layout->o_arg6 = OFFSET_mips64_r9; - layout->uu_arg7 = -1; /* impossible value */ - layout->uu_arg8 = -1; /* impossible value */ + layout->o_arg7 = OFFSET_mips64_r10; + layout->o_arg8 = OFFSET_mips64_r11; #elif defined(VGP_x86_darwin) layout->o_sysno = OFFSET_x86_EAX; |
|
From: Petar J. <pe...@so...> - 2019-08-13 14:32:15
|
https://sourceware.org/git/gitweb.cgi?p=valgrind.git;h=d830990cd9391f2e4f995d01d00e3d75d09ea238 commit d830990cd9391f2e4f995d01d00e3d75d09ea238 Author: Petar Jovanovic <mip...@gm...> Date: Mon Aug 5 16:28:48 2019 +0000 mips: hook up splice syscall correctly Hook up splice syscall for mips32 and mips64 correctly. This fixes splice01 and several other tests in the LTP test suite. Diff: --- coregrind/m_syswrap/syswrap-mips32-linux.c | 2 ++ coregrind/m_syswrap/syswrap-mips64-linux.c | 13 +------------ 2 files changed, 3 insertions(+), 12 deletions(-) diff --git a/coregrind/m_syswrap/syswrap-mips32-linux.c b/coregrind/m_syswrap/syswrap-mips32-linux.c index d9e3a04..7905547 100644 --- a/coregrind/m_syswrap/syswrap-mips32-linux.c +++ b/coregrind/m_syswrap/syswrap-mips32-linux.c @@ -1037,6 +1037,8 @@ static SyscallTableEntry syscall_main_table[] = { LINXY (__NR_pselect6, sys_pselect6), // 301 LINXY (__NR_ppoll, sys_ppoll), // 302 //.. + LINX_ (__NR_splice, sys_splice), // 304 + //.. LINX_ (__NR_set_robust_list, sys_set_robust_list), // 309 LINXY (__NR_get_robust_list, sys_get_robust_list), // 310 //.. diff --git a/coregrind/m_syswrap/syswrap-mips64-linux.c b/coregrind/m_syswrap/syswrap-mips64-linux.c index 9b5c07f..0af43a7 100644 --- a/coregrind/m_syswrap/syswrap-mips64-linux.c +++ b/coregrind/m_syswrap/syswrap-mips64-linux.c @@ -217,7 +217,6 @@ SysRes sys_set_tls ( ThreadId tid, Addr tlsptr ) DECL_TEMPLATE (mips_linux, sys_set_thread_area); DECL_TEMPLATE (mips_linux, sys_tee); -DECL_TEMPLATE (mips_linux, sys_splice); DECL_TEMPLATE (mips_linux, sys_vmsplice); DECL_TEMPLATE (mips_linux, sys_ustat); DECL_TEMPLATE (mips_linux, sys_sysfs); @@ -244,16 +243,6 @@ PRE(sys_tee) int, flags); } -PRE(sys_splice) -{ - PRINT("sys_splice ( %ld, %#" FMT_REGWORD "x, %ld, %#" FMT_REGWORD - "x, %" FMT_REGWORD "u, %#" FMT_REGWORD "x )", - SARG1, ARG2, SARG3, ARG4, ARG5, ARG6); - - PRE_REG_READ6(long, "sys_splice", int, fdin, vki_loff_t, sizein, int, - fdout, vki_loff_t, sizeout, vki_size_t, len, int, flags); -} - PRE(sys_vmsplice) { PRINT("sys_vmsplice ( %ld, %#" FMT_REGWORD "x, %" FMT_REGWORD "u, %ld )", @@ -805,7 +794,7 @@ static SyscallTableEntry syscall_main_table[] = { LINXY (__NR_pselect6, sys_pselect6), LINXY (__NR_ppoll, sys_ppoll), PLAX_ (__NR_unshare, sys_unshare), - PLAX_ (__NR_splice, sys_splice), + LINX_ (__NR_splice, sys_splice), LINX_ (__NR_sync_file_range, sys_sync_file_range), PLAX_ (__NR_tee, sys_tee), PLAX_ (__NR_vmsplice, sys_vmsplice), |
|
From: Petar J. <pe...@so...> - 2019-08-13 14:32:10
|
https://sourceware.org/git/gitweb.cgi?p=valgrind.git;h=60b477684ccfd0ef6d7904d31328a0344e79daaa commit 60b477684ccfd0ef6d7904d31328a0344e79daaa Author: Petar Jovanovic <mip...@gm...> Date: Mon Aug 5 16:00:45 2019 +0000 mips32: hook up lsetxattr syscall Hook up lsetxattr syscall for mips32. This fixes llistxattr01 and several other tests in the LTP test suite. Diff: --- coregrind/m_syswrap/syswrap-mips32-linux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coregrind/m_syswrap/syswrap-mips32-linux.c b/coregrind/m_syswrap/syswrap-mips32-linux.c index 544deab..d9e3a04 100644 --- a/coregrind/m_syswrap/syswrap-mips32-linux.c +++ b/coregrind/m_syswrap/syswrap-mips32-linux.c @@ -964,7 +964,7 @@ static SyscallTableEntry syscall_main_table[] = { LINX_ (__NR_gettid, sys_gettid), // 222 //.. LINX_ (__NR_setxattr, sys_setxattr), // 224 - //.. + LINX_ (__NR_lsetxattr, sys_lsetxattr), // 225 LINX_ (__NR_fsetxattr, sys_fsetxattr), // 226 LINXY (__NR_getxattr, sys_getxattr), // 227 LINXY (__NR_lgetxattr, sys_lgetxattr), // 228 |