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
|
3
|
4
(2) |
|
5
|
6
|
7
|
8
(7) |
9
|
10
|
11
(1) |
|
12
(4) |
13
|
14
|
15
|
16
|
17
(12) |
18
|
|
19
|
20
|
21
|
22
|
23
(3) |
24
(1) |
25
|
|
26
(1) |
27
(17) |
28
(1) |
29
|
30
(2) |
|
|
|
From: Petar J. <pe...@so...> - 2020-04-23 16:46:59
|
https://sourceware.org/git/gitweb.cgi?p=valgrind.git;h=09f4f2f8fd9cdecb994e74df8b938108a01120f7 commit 09f4f2f8fd9cdecb994e74df8b938108a01120f7 Author: Petar Jovanovic <mip...@gm...> Date: Thu Apr 23 16:42:26 2020 +0000 Amend the recent update to VG_(getrlimit) and VG_(setrlimit) [get|set]rlimit system calls are becoming deprecated. Coregrind should use prlimit64 as the first candidate in order to achieve "rlimit" functionality. There are also systems that do not even support older "rlimits". Modify the previously added support VG_(getrlimit) and VG_(setrlimit) using __NR_prlimit64 by making it similar to the glibc implementation. It fixes none/tests/stackgrowth and none/tests/sigstackgrowth tests on nanoMIPS. Patch by: Stefan Maksimovic and Aleksandar Rikalo This patch resolves KDE #416285. Diff: --- NEWS | 1 + coregrind/m_libcproc.c | 56 ++++++++++++++++++++++++++-------------- include/vki/vki-linux.h | 6 +++++ include/vki/vki-mips32-linux.h | 1 + include/vki/vki-nanomips-linux.h | 2 +- 5 files changed, 45 insertions(+), 21 deletions(-) diff --git a/NEWS b/NEWS index 27e79f6f5d..a71e581281 100644 --- a/NEWS +++ b/NEWS @@ -116,6 +116,7 @@ where XXXXXX is the bug number as listed below. 415136 ARMv8.1 Compare-and-Swap instructions are not supported 415757 vex x86->IR: 0x66 0xF 0xCE 0x4F (bswapw) 416239 valgrind crashes when handling clock_adjtime +416285 Use prlimit64 in VG_(getrlimit) and VG_(setrlimit) 416286 DRD reports "conflicting load" error on std::mutex::lock() 416301 s390x: "compare and signal" not supported 416387 finit_module and bpf syscalls are unhandled on arm64 diff --git a/coregrind/m_libcproc.c b/coregrind/m_libcproc.c index e7aef7fe66..ae3804f990 100644 --- a/coregrind/m_libcproc.c +++ b/coregrind/m_libcproc.c @@ -600,44 +600,60 @@ Int VG_(sysctl)(Int *name, UInt namelen, void *oldp, SizeT *oldlenp, void *newp, /* Support for getrlimit. */ Int VG_(getrlimit) (Int resource, struct vki_rlimit *rlim) { - SysRes res = VG_(mk_SysRes_Error)(VKI_ENOSYS); + SysRes res; /* res = getrlimit( resource, rlim ); */ + +# if defined(__NR_prlimit64) && defined(VKI_RLIM_INFINITY) && defined(VKI_RLIM64_INFINITY) + struct vki_rlimit64 new_rlimit; + res = VG_(do_syscall4)(__NR_prlimit64, 0, resource, 0, (UWord)&new_rlimit); + if (!sr_isError(res)) { + if (new_rlimit.rlim_cur == VKI_RLIM_INFINITY) + new_rlimit.rlim_cur = VKI_RLIM64_INFINITY; + if (new_rlimit.rlim_max == VKI_RLIM_INFINITY) + new_rlimit.rlim_max = VKI_RLIM64_INFINITY; + rlim->rlim_cur = new_rlimit.rlim_cur; + rlim->rlim_max = new_rlimit.rlim_max; + return sr_Res(res); + } + if (sr_Err(res) != VKI_ENOSYS) return -1; +# endif + # ifdef __NR_ugetrlimit res = VG_(do_syscall2)(__NR_ugetrlimit, resource, (UWord)rlim); + if (!sr_isError(res)) return sr_Res(res); + if (sr_Err(res) != VKI_ENOSYS) return -1; # endif - if (sr_isError(res) && sr_Err(res) == VKI_ENOSYS) -# if defined(VGP_nanomips_linux) - { - struct vki_rlimit64 new_rlimit; - res = VG_(do_syscall4)(__NR_prlimit64, 0, resource, 0, (UWord)&new_rlimit); - if (new_rlimit.rlim_cur > 2147483647 || new_rlimit.rlim_max > 2147483647) - res = VG_(mk_SysRes_Error)(VKI_ENOSYS); - else { - rlim->rlim_cur = new_rlimit.rlim_cur; - rlim->rlim_max = new_rlimit.rlim_max; - } - } -# else - res = VG_(do_syscall2)(__NR_getrlimit, resource, (UWord)rlim); + +# ifdef __NR_getrlimit + res = VG_(do_syscall2)(__NR_getrlimit, resource, (UWord)rlim); + if (!sr_isError(res)) return sr_Res(res); # endif - return sr_isError(res) ? -1 : sr_Res(res); -} + return -1; +} /* Support for setrlimit. */ Int VG_(setrlimit) (Int resource, const struct vki_rlimit *rlim) { SysRes res; /* res = setrlimit( resource, rlim ); */ -# if defined(VGP_nanomips_linux) + +# ifdef __NR_prlimit64 struct vki_rlimit64 new_rlimit; new_rlimit.rlim_cur = rlim->rlim_cur; new_rlimit.rlim_max = rlim->rlim_max; res = VG_(do_syscall4)(__NR_prlimit64, 0, resource, (UWord)&new_rlimit, 0); -# else + if (!sr_isError(res)) return sr_Res(res); + if (sr_Err(res) != VKI_ENOSYS) return -1; +# endif + +# ifdef __NR_setrlimit res = VG_(do_syscall2)(__NR_setrlimit, resource, (UWord)rlim); + if (!sr_isError(res)) return sr_Res(res); + if (sr_Err(res) != VKI_ENOSYS) return -1; # endif - return sr_isError(res) ? -1 : sr_Res(res); + + return -1; } /* Support for prctl. */ diff --git a/include/vki/vki-linux.h b/include/vki/vki-linux.h index 6f1100fe06..ffda18f183 100644 --- a/include/vki/vki-linux.h +++ b/include/vki/vki-linux.h @@ -5339,6 +5339,12 @@ struct vki_itimerspec64 { struct vki_timespec it_value; }; +#ifndef VKI_RLIM_INFINITY +#define VKI_RLIM_INFINITY (~0UL) +#endif + +#define VKI_RLIM64_INFINITY (~0ULL) + /*--------------------------------------------------------------------*/ /*--- end ---*/ /*--------------------------------------------------------------------*/ diff --git a/include/vki/vki-mips32-linux.h b/include/vki/vki-mips32-linux.h index 94e453ed46..38f60b7749 100644 --- a/include/vki/vki-mips32-linux.h +++ b/include/vki/vki-mips32-linux.h @@ -367,6 +367,7 @@ struct vki_f_owner_ex { #define VKI_RLIMIT_STACK 3 /* max stack size */ #define VKI_RLIMIT_CORE 4 /* max core file size */ #define VKI_RLIMIT_NOFILE 5 /* max number of open files */ +#define VKI_RLIM_INFINITY 0x7fffffffUL //---------------------------------------------------------------------- // From linux-2.6.35.5/include/asm-mips/socket.h diff --git a/include/vki/vki-nanomips-linux.h b/include/vki/vki-nanomips-linux.h index 7f42c25912..e1427f1d66 100644 --- a/include/vki/vki-nanomips-linux.h +++ b/include/vki/vki-nanomips-linux.h @@ -401,7 +401,7 @@ #define ARCH_HAS_SOCKET_TYPES 1 #define HAVE_ARCH_SIGINFO_T 1 -#define VKI_RLIM64_INFINITY 0x7fffffffUL +#define VKI_RLIM_INFINITY 0x7fffffffUL typedef __signed__ char __vki_s8; typedef unsigned char __vki_u8; |
|
From: Petar J. <pe...@so...> - 2020-04-23 16:32:43
|
https://sourceware.org/git/gitweb.cgi?p=valgrind.git;h=b07722631ff47670fa193198f5f56a1b7582673b commit b07722631ff47670fa193198f5f56a1b7582673b Author: Aleksandar Rikalo <ale...@rt...> Date: Thu Apr 23 16:31:50 2020 +0000 Make memcheck/tests/linux/sigqueue usable with musl Remove offsetof(siginfo_t, _sifields) from the test. "_sifields" is not a mandatory field of struct siginfo_t so it should not be used in regular user program. This patch resolves KDE #417266. Diff: --- NEWS | 1 + memcheck/tests/linux/sigqueue.c | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/NEWS b/NEWS index 4011e60c10..27e79f6f5d 100644 --- a/NEWS +++ b/NEWS @@ -124,6 +124,7 @@ where XXXXXX is the bug number as listed below. 416753 new 32bit time syscalls for 2038+ 417187 [MIPS] Conditional branch problem since 'grail' changes 417238 Test memcheck/tests/vbit-test fails on mips64 BE +417266 Make memcheck/tests/linux/sigqueue usable with musl 417281 s390x: /bin/true segfaults with "grail" enabled 417427 commit to fix vki_siginfo_t definition created numerous regression errors on ppc64 diff --git a/memcheck/tests/linux/sigqueue.c b/memcheck/tests/linux/sigqueue.c index d18bd72883..4b6fb0fd85 100644 --- a/memcheck/tests/linux/sigqueue.c +++ b/memcheck/tests/linux/sigqueue.c @@ -21,8 +21,6 @@ int main(int argc, char **argv) offsetof(siginfo_t, si_errno)); fprintf(stdout, "offsetof(siginfo_t, si_code) = %zd\n", offsetof(siginfo_t, si_code)); - fprintf(stdout, "offsetof(siginfo_t, _sifields) = %zd\n", - offsetof(siginfo_t, _sifields)); } si = calloc(1, sz); si->si_signo = SIGWINCH; |
|
From: Petar J. <pe...@so...> - 2020-04-23 16:24:57
|
https://sourceware.org/git/gitweb.cgi?p=valgrind.git;h=702b1fe56f6dd61d0003457728702248f46c6dcc commit 702b1fe56f6dd61d0003457728702248f46c6dcc Author: Aleksandar Rikalo <ale...@rt...> Date: Thu Apr 23 16:22:31 2020 +0000 Musl issues: Fix none/tests/pth_atfork1.c There is no error.h on some systems. Diff: --- NEWS | 1 + none/tests/pth_atfork1.c | 7 +------ 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/NEWS b/NEWS index 6f082d6ac7..4011e60c10 100644 --- a/NEWS +++ b/NEWS @@ -81,6 +81,7 @@ To see details of a given bug, visit where XXXXXX is the bug number as listed below. 385386 Assertion failed "szB >= CACHE_ENTRY_SIZE" at m_debuginfo/image.c:517 +400162 Patch: Guard against __GLIBC_PREREQ for musl libc 400593 In Coregrind, use statx for some internal syscalls if [f]stat[64] fail 400872 Add nanoMIPS support to Valgrind 403212 drd/tests/trylock hangs on FreeBSD diff --git a/none/tests/pth_atfork1.c b/none/tests/pth_atfork1.c index 34201ef96b..17a1d9bbf4 100644 --- a/none/tests/pth_atfork1.c +++ b/none/tests/pth_atfork1.c @@ -18,17 +18,13 @@ Boston, MA 02111-1307, USA. */ #include <errno.h> -#if !defined(__APPLE__) && !defined(__sun) -# include <error.h> -#endif #include <stdlib.h> #include <pthread.h> #include <unistd.h> #include <sys/wait.h> #include <stdio.h> - -#if defined(__APPLE__) || defined(__sun) #include <string.h> /* strerror */ + static void error (int status, int errnum, char* msg) { fprintf(stderr, "%s%s%s\n", @@ -38,7 +34,6 @@ static void error (int status, int errnum, char* msg) if (errnum) exit(errnum); } -#endif enum { |