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
(1) |
2
(4) |
3
(2) |
4
|
|
5
(1) |
6
|
7
(1) |
8
(2) |
9
(3) |
10
(1) |
11
(6) |
|
12
|
13
(2) |
14
(4) |
15
(2) |
16
(1) |
17
(1) |
18
(24) |
|
19
(1) |
20
(4) |
21
(1) |
22
|
23
|
24
(5) |
25
(2) |
|
26
(6) |
27
(3) |
28
(5) |
|
|
|
|
|
From: <sv...@va...> - 2017-02-20 08:07:29
|
Author: iraisr
Date: Mon Feb 20 08:07:21 2017
New Revision: 16252
Log:
Fix sr_EQ() comparison on Solaris syscall failure
On rare occasions, garbage is found in sr1._val2
while sr2._val2 contains 0.
Modified:
trunk/coregrind/m_libcprint.c
trunk/include/pub_tool_basics.h
Modified: trunk/coregrind/m_libcprint.c
==============================================================================
--- trunk/coregrind/m_libcprint.c (original)
+++ trunk/coregrind/m_libcprint.c Mon Feb 20 08:07:21 2017
@@ -1168,7 +1168,7 @@
return buf;
}
-#elif defined(VGO_darwin) || (VGO_solaris)
+#elif defined(VGO_darwin) || defined(VGO_solaris)
const HChar *VG_(sr_as_string) ( SysRes sr )
{
Modified: trunk/include/pub_tool_basics.h
==============================================================================
--- trunk/include/pub_tool_basics.h (original)
+++ trunk/include/pub_tool_basics.h Mon Feb 20 08:07:21 2017
@@ -359,8 +359,8 @@
static inline Bool sr_EQ ( UInt sysno, SysRes sr1, SysRes sr2 ) {
/* sysno is ignored for Solaris */
return sr1._val == sr2._val
- && sr1._val2 == sr2._val2
- && sr1._isError == sr2._isError;
+ && sr1._isError == sr2._isError
+ && (!sr1._isError) ? (sr1._val2 == sr2._val2) : True;
}
#else
|
|
From: <sv...@va...> - 2017-02-19 11:23:54
|
Author: philippe Date: Sun Feb 19 11:23:46 2017 New Revision: 16251 Log: modifty sleepers to have easier evaluation of interaction between cpu freq scaling and scheduler lock (pipe based or futex based) See http://www.valgrind.org/docs/manual/manual-core.html#manual-core.pthreads_perf_sched for background info about cpu freq scaling and valgrind thread scheduler. To reproduce the interaction, do: for sched in --fair-sched=yes --fair-sched=no do for affinity in 0 1 do echo $sched $affinity time ./vg-in-place $sched -q ./gdbserver_tests/sleepers 1000000 0 1000 B-B-B-B- $affinity done done which gives the below output (intel core i5-6402P, debian 8, kernel 3.16.0). In summary: the fair scheduler is fair, the pipe based scheduler can be really unfair (e.g. with --fair-sched=no and no affinity, 2 threads are finishing their work, while the 2 other threads are starting their work only after the first 2 have fully finished). The difference in timing is significant : 1m14s versus around 47 seconds. Note: If the governor is set to performance, strangely, the time needed for --fair-sched=no increases slighltly (to around 48 seconds). The time for --fair-sched=yes with or without affinity is then also to around 48 seconds. Below is timing with on-demand governor: --fair-sched=yes 0 loops/sleep_ms/burn/threads_spec/affinity: 1000000 0 1000 B-B-B-B- 0 Brussels ready to sleep and/or burn London ready to sleep and/or burn Petaouchnok ready to sleep and/or burn main ready to sleep and/or burn Brussels finished to sleep and/or burn London finished to sleep and/or burn Petaouchnok finished to sleep and/or burn main finished to sleep and/or burn real 1m14.582s user 1m14.348s sys 0m0.204s --fair-sched=yes 1 loops/sleep_ms/burn/threads_spec/affinity: 1000000 0 1000 B-B-B-B- 1 Brussels ready to sleep and/or burn London ready to sleep and/or burn Petaouchnok ready to sleep and/or burn main ready to sleep and/or burn main finished to sleep and/or burn Brussels finished to sleep and/or burn Petaouchnok finished to sleep and/or burn London finished to sleep and/or burn real 0m46.785s user 0m46.756s sys 0m0.032s --fair-sched=no 0 loops/sleep_ms/burn/threads_spec/affinity: 1000000 0 1000 B-B-B-B- 0 Brussels ready to sleep and/or burn Brussels finished to sleep and/or burn London ready to sleep and/or burn London finished to sleep and/or burn Petaouchnok ready to sleep and/or burn main ready to sleep and/or burn Petaouchnok finished to sleep and/or burn main finished to sleep and/or burn real 0m47.742s user 0m48.224s sys 0m0.084s --fair-sched=no 1 loops/sleep_ms/burn/threads_spec/affinity: 1000000 0 1000 B-B-B-B- 1 Brussels ready to sleep and/or burn London ready to sleep and/or burn Petaouchnok ready to sleep and/or burn main ready to sleep and/or burn Brussels finished to sleep and/or burn London finished to sleep and/or burn main finished to sleep and/or burn Petaouchnok finished to sleep and/or burn real 0m46.601s user 0m46.568s sys 0m0.036s Modified: trunk/gdbserver_tests/mcinfcallRU.stderr.exp trunk/gdbserver_tests/mcinfcallRU.vgtest trunk/gdbserver_tests/mcinfcallWSRU.stderr.exp trunk/gdbserver_tests/mcinfcallWSRU.vgtest trunk/gdbserver_tests/mcinvokeRU.vgtest trunk/gdbserver_tests/nlcontrolc.stderr.exp trunk/gdbserver_tests/nlcontrolc.vgtest trunk/gdbserver_tests/nlsigvgdb.vgtest trunk/gdbserver_tests/nlvgdbsigqueue.stderr.exp trunk/gdbserver_tests/nlvgdbsigqueue.vgtest trunk/gdbserver_tests/sleepers.c Modified: trunk/gdbserver_tests/mcinfcallRU.stderr.exp ============================================================================== --- trunk/gdbserver_tests/mcinfcallRU.stderr.exp (original) +++ trunk/gdbserver_tests/mcinfcallRU.stderr.exp Sun Feb 19 11:23:46 2017 @@ -1,4 +1,4 @@ -loops/sleep_ms/burn/threads_spec: 1 0 2000000000 ------B- +loops/sleep_ms/burn/threads_spec/affinity: 1 0 2000000000 ------B- 1 main ready to sleep and/or burn pid .... Thread .... inferior call pushed from gdb in mcinfcallRU.stdinB.gdb Reset valgrind output to log (orderly_finish) Modified: trunk/gdbserver_tests/mcinfcallRU.vgtest ============================================================================== --- trunk/gdbserver_tests/mcinfcallRU.vgtest (original) +++ trunk/gdbserver_tests/mcinfcallRU.vgtest Sun Feb 19 11:23:46 2017 @@ -2,7 +2,7 @@ prog: sleepers # We would like to use B-B-B-B- instead of ------B- but this gives # too much dependencies to the scheduler fairness. -args: 1 0 2000000000 ------B- +args: 1 0 2000000000 ------B- 1 vgopts: --tool=memcheck --vgdb=yes --vgdb-error=0 --vgdb-prefix=./vgdb-prefix-mcinfcallRU # filter_gdb to replace pid and Thread numbers in the output of the program: stderr_filter: filter_gdb Modified: trunk/gdbserver_tests/mcinfcallWSRU.stderr.exp ============================================================================== --- trunk/gdbserver_tests/mcinfcallWSRU.stderr.exp (original) +++ trunk/gdbserver_tests/mcinfcallWSRU.stderr.exp Sun Feb 19 11:23:46 2017 @@ -1,4 +1,4 @@ -loops/sleep_ms/burn/threads_spec: 100 100000000 1000000000 -S-S-SB- +loops/sleep_ms/burn/threads_spec/affinity: 100 100000000 1000000000 -S-S-SB- 1 Brussels ready to sleep and/or burn London ready to sleep and/or burn Petaouchnok ready to sleep and/or burn Modified: trunk/gdbserver_tests/mcinfcallWSRU.vgtest ============================================================================== --- trunk/gdbserver_tests/mcinfcallWSRU.vgtest (original) +++ trunk/gdbserver_tests/mcinfcallWSRU.vgtest Sun Feb 19 11:23:46 2017 @@ -3,7 +3,7 @@ prog: sleepers # We would like to have two threads running (i.e. -S-SB-B-) # but this introduces too much dependencies to scheduler fairness. -args: 100 100000000 1000000000 -S-S-SB- +args: 100 100000000 1000000000 -S-S-SB- 1 vgopts: --tool=memcheck --vgdb=yes --vgdb-error=0 --vgdb-prefix=./vgdb-prefix-mcinfcallWSRU # We need a non buggy gdb.step on arm thumb. # Disable on Darwin: inferior call rejected as it cannot find malloc. Modified: trunk/gdbserver_tests/mcinvokeRU.vgtest ============================================================================== --- trunk/gdbserver_tests/mcinvokeRU.vgtest (original) +++ trunk/gdbserver_tests/mcinvokeRU.vgtest Sun Feb 19 11:23:46 2017 @@ -1,7 +1,7 @@ # test that vgdb can invoke a process when all threads are in Runnable or Yielding mode # If the test goes wrong, it might consume CPU during a long time. prog: sleepers -args: 1 0 1000000000 B-B-B-B- +args: 1 0 1000000000 B-B-B-B- 1 vgopts: --tool=memcheck --vgdb=yes --vgdb-prefix=./vgdb-prefix-mcinvokeRU stderr_filter: filter_make_empty # as the Valgrind process is always busy, we do not need the vgdb.invoker prereq. Modified: trunk/gdbserver_tests/nlcontrolc.stderr.exp ============================================================================== --- trunk/gdbserver_tests/nlcontrolc.stderr.exp (original) +++ trunk/gdbserver_tests/nlcontrolc.stderr.exp Sun Feb 19 11:23:46 2017 @@ -3,7 +3,7 @@ (action at startup) vgdb me ... -loops/sleep_ms/burn/threads_spec: 1000000000 1000000000 1000000000 BSBSBSBS +loops/sleep_ms/burn/threads_spec/affinity: 1000000000 1000000000 1000000000 BSBSBSBS 1 Brussels ready to sleep and/or burn London ready to sleep and/or burn Petaouchnok ready to sleep and/or burn Modified: trunk/gdbserver_tests/nlcontrolc.vgtest ============================================================================== --- trunk/gdbserver_tests/nlcontrolc.vgtest (original) +++ trunk/gdbserver_tests/nlcontrolc.vgtest Sun Feb 19 11:23:46 2017 @@ -9,7 +9,7 @@ # This test is disabled on Solaris because modifying select/poll/ppoll timeout # has no effect if a thread is already blocked in that syscall. prog: sleepers -args: 1000000000 1000000000 1000000000 BSBSBSBS +args: 1000000000 1000000000 1000000000 BSBSBSBS 1 vgopts: --tool=none --vgdb=yes --vgdb-error=0 --vgdb-prefix=./vgdb-prefix-nlcontrolc stderr_filter: filter_stderr # Bug 338633 nlcontrol hangs on arm64 currently. Modified: trunk/gdbserver_tests/nlsigvgdb.vgtest ============================================================================== --- trunk/gdbserver_tests/nlsigvgdb.vgtest (original) +++ trunk/gdbserver_tests/nlsigvgdb.vgtest Sun Feb 19 11:23:46 2017 @@ -4,7 +4,7 @@ # But if this signal is masked, then vgdb does not recuperate the control # and Valgrind dies. See function give_control_back_to_vgdb in m_gdbserver.c prog: sleepers -args: 1 10000000 0 -S-S-S-S +args: 1 10000000 0 -S-S-S-S 1 vgopts: --tool=none --vgdb=yes --vgdb-error=0 --vgdb-prefix=./vgdb-prefix-nlsigvgdb stderr_filter: filter_stderr prereq: test -e gdb -a -f vgdb.invoker Modified: trunk/gdbserver_tests/nlvgdbsigqueue.stderr.exp ============================================================================== --- trunk/gdbserver_tests/nlvgdbsigqueue.stderr.exp (original) +++ trunk/gdbserver_tests/nlvgdbsigqueue.stderr.exp Sun Feb 19 11:23:46 2017 @@ -3,7 +3,7 @@ (action at startup) vgdb me ... -loops/sleep_ms/burn/threads_spec: 1000000000 1000000000 1 BSBSBSBS +loops/sleep_ms/burn/threads_spec/affinity: 1000000000 1000000000 1 BSBSBSBS 1 Brussels ready to sleep and/or burn London ready to sleep and/or burn Petaouchnok ready to sleep and/or burn Modified: trunk/gdbserver_tests/nlvgdbsigqueue.vgtest ============================================================================== --- trunk/gdbserver_tests/nlvgdbsigqueue.vgtest (original) +++ trunk/gdbserver_tests/nlvgdbsigqueue.vgtest Sun Feb 19 11:23:46 2017 @@ -3,7 +3,7 @@ # vgdb must queue these signals and deliver them before PTRACE_DETACHing. # sleepers is started with argument so that it will mostly sleep. prog: sleepers -args: 1000000000 1000000000 1 BSBSBSBS +args: 1000000000 1000000000 1 BSBSBSBS 1 vgopts: --tool=none --vgdb=yes --vgdb-error=0 --vgdb-prefix=./vgdb-prefix-nlvgdbsigqueue stderr_filter: filter_stderr prereq: test -e gdb -a -f vgdb.invoker Modified: trunk/gdbserver_tests/sleepers.c ============================================================================== --- trunk/gdbserver_tests/sleepers.c (original) +++ trunk/gdbserver_tests/sleepers.c Sun Feb 19 11:23:46 2017 @@ -137,7 +137,7 @@ pthread_t ebbr, egll, zzzz; struct spec b, l, p, m; char *some_mem __attribute__((unused)) = malloc(100); - setaffinity(); + if (argc > 5 && atoi(argv[5])) setaffinity(); setup_sigusr_handler(); if (argc > 1) loops = atoi(argv[1]); @@ -153,8 +153,8 @@ else threads_spec = "BSBSBSBS"; - fprintf(stderr, "loops/sleep_ms/burn/threads_spec: %d %d %d %s\n", - loops, sleepms, burn, threads_spec); + fprintf(stderr, "loops/sleep_ms/burn/threads_spec/affinity: %d %d %d %s %d\n", + loops, sleepms, burn, threads_spec, argc > 5 && atoi(argv[5])); fflush(stderr); b.name = "Brussels"; |
|
From: <sv...@va...> - 2017-02-18 21:46:45
|
Author: mjw
Date: Sat Feb 18 21:46:38 2017
New Revision: 16250
Log:
Update NEWS with bug numbers of recently implemented linux-arm64 syscalls.
Modified:
trunk/NEWS
Modified: trunk/NEWS
==============================================================================
--- trunk/NEWS (original)
+++ trunk/NEWS Sat Feb 18 21:46:38 2017
@@ -100,6 +100,16 @@
352767 Wine/valgrind: noted but unhandled ioctl 0x5307 [..] (CDROMSTOP)
358213 helgrind/drd bar_bad testcase hangs or crashes with new glibc pthread
barrier implementation
+368863 WARNING: unhandled arm64-linux syscall: 100 (get_robust_list)
+368865 WARNING: unhandled arm64-linux syscall: 272 (kcmp)
+368917 WARNING: unhandled arm64-linux syscall: 218 (request_key)
+368918 WARNING: unhandled arm64-linux syscall: 127 (sched_rr_get_interval)
+368922 WARNING: unhandled arm64-linux syscall: 161 (sethostname)
+368924 WARNING: unhandled arm64-linux syscall: 84 (sync_file_range)
+368925 WARNING: unhandled arm64-linux syscall: 130 (tkill)
+368926 WARNING: unhandled arm64-linux syscall: 97 (unshare)
+370635 arm64 missing syscall getcpu
+371225 Fix order of timer_{gettime,getoverrun,settime} syscalls on arm64
371412 Rename wrap_sys_shmat to sys_shmat like other wrappers
371869 support '%' in symbol Z-encoding
371916 execution tree xtree concept
@@ -108,6 +118,8 @@
372600 process loops forever when fatal signals are arriving quickly
373046 Stacks registered by core are never deregistered
373192 Calling posix_spawn in glibc 2.24 completely broken
+373488 Support for fanotify API on ARM64 architecture
+ == 368864 WARNING: unhandled arm64-linux syscall: 262 (fanotify_init)
373555 Rename BBPTR to GSPTR as it denotes guest state pointer only
373938 const IRExpr arguments for matchIRExpr()
375514 valgrind_get_tls_addr() does not work in case of static TLS
|
|
From: <sv...@va...> - 2017-02-18 21:16:09
|
Author: mjw
Date: Sat Feb 18 21:16:02 2017
New Revision: 16245
Log:
aarch64: enable kcmp syscall (generic wrapper)
Patch by Marcin Juszkiewicz <mar...@li...>
Modified:
trunk/coregrind/m_syswrap/syswrap-arm64-linux.c
Modified: trunk/coregrind/m_syswrap/syswrap-arm64-linux.c
==============================================================================
--- trunk/coregrind/m_syswrap/syswrap-arm64-linux.c (original)
+++ trunk/coregrind/m_syswrap/syswrap-arm64-linux.c Sat Feb 18 21:16:02 2017
@@ -884,7 +884,7 @@
LINXY(__NR_sendmmsg, sys_sendmmsg), // 269
LINXY(__NR_process_vm_readv, sys_process_vm_readv), // 270
LINX_(__NR_process_vm_writev, sys_process_vm_writev), // 271
- // (__NR_kcmp, sys_kcmp), // 272
+ LINX_(__NR_kcmp, sys_kcmp), // 272
// (__NR_finit_module, sys_ni_syscall), // 273
// (__NR_sched_setattr, sys_ni_syscall), // 274
// (__NR_sched_getattr, sys_ni_syscall), // 275
|
|
From: <sv...@va...> - 2017-02-18 21:16:07
|
Author: mjw
Date: Sat Feb 18 21:16:00 2017
New Revision: 16243
Log:
aarch64: enable fanotify_mark syscall (generic wrapper)
Patch by Marcin Juszkiewicz <mar...@li...>
Modified:
trunk/coregrind/m_syswrap/syswrap-arm64-linux.c
Modified: trunk/coregrind/m_syswrap/syswrap-arm64-linux.c
==============================================================================
--- trunk/coregrind/m_syswrap/syswrap-arm64-linux.c (original)
+++ trunk/coregrind/m_syswrap/syswrap-arm64-linux.c Sat Feb 18 21:16:00 2017
@@ -875,7 +875,7 @@
GENXY(__NR_wait4, sys_wait4), // 260
LINXY(__NR_prlimit64, sys_prlimit64), // 261
LINXY(__NR_fanotify_init, sys_fanotify_init), // 262
- // (__NR_fanotify_mark, sys_fanotify_mark), // 263
+ LINX_(__NR_fanotify_mark, sys_fanotify_mark), // 263
LINXY(__NR_name_to_handle_at, sys_name_to_handle_at), // 264
LINXY(__NR_open_by_handle_at, sys_open_by_handle_at), // 265
// (__NR_clock_adjtime, sys_clock_adjtime), // 266
|
|
From: <sv...@va...> - 2017-02-18 21:16:06
|
Author: mjw
Date: Sat Feb 18 21:16:05 2017
New Revision: 16249
Log:
Remove arm64 specific (unused) setup_child () and assign_guest_tls ().
valgrind svn r16186 (which fixed bug #342040 and #373192) introduced a
generic linux way of handling setup_child and assign_guest_tls. So there
is no need anymore for arch specific implementations. And gcc complained
they were unused.
Modified:
trunk/coregrind/m_syswrap/syswrap-arm64-linux.c
Modified: trunk/coregrind/m_syswrap/syswrap-arm64-linux.c
==============================================================================
--- trunk/coregrind/m_syswrap/syswrap-arm64-linux.c (original)
+++ trunk/coregrind/m_syswrap/syswrap-arm64-linux.c Sat Feb 18 21:16:05 2017
@@ -185,8 +185,6 @@
#undef __NR_EXIT
// forward declaration
-static void setup_child ( ThreadArchState*, ThreadArchState* );
-static void assign_guest_tls(ThreadId ctid, Addr tlsptr);
//ZZ static SysRes sys_set_tls ( ThreadId tid, Addr tlsptr );
/* ---------------------------------------------------------------------
@@ -199,19 +197,6 @@
{
}
-void setup_child ( /*OUT*/ ThreadArchState *child,
- /*IN*/ ThreadArchState *parent )
-{
- child->vex = parent->vex;
- child->vex_shadow1 = parent->vex_shadow1;
- child->vex_shadow2 = parent->vex_shadow2;
-}
-
-static void assign_guest_tls(ThreadId tid, Addr tlsptr)
-{
- VG_(threads)[tid].arch.vex.guest_TPIDR_EL0 = tlsptr;
-}
-
//ZZ /* Assigns tlsptr to the guest TPIDRURO.
//ZZ If needed for the specific hardware, really executes
//ZZ the set_tls syscall.
|
|
From: <sv...@va...> - 2017-02-18 21:16:06
|
Author: mjw
Date: Sat Feb 18 21:16:00 2017
New Revision: 16242
Log:
aarch64: enable fanotify_init syscall (generic wrapper)
Patch by Marcin Juszkiewicz <mar...@li...>
Modified:
trunk/coregrind/m_syswrap/syswrap-arm64-linux.c
Modified: trunk/coregrind/m_syswrap/syswrap-arm64-linux.c
==============================================================================
--- trunk/coregrind/m_syswrap/syswrap-arm64-linux.c (original)
+++ trunk/coregrind/m_syswrap/syswrap-arm64-linux.c Sat Feb 18 21:16:00 2017
@@ -874,7 +874,7 @@
LINXY(__NR_recvmmsg, sys_recvmmsg), // 243
GENXY(__NR_wait4, sys_wait4), // 260
LINXY(__NR_prlimit64, sys_prlimit64), // 261
- // (__NR_fanotify_init, sys_fanotify_init), // 262
+ LINXY(__NR_fanotify_init, sys_fanotify_init), // 262
// (__NR_fanotify_mark, sys_fanotify_mark), // 263
LINXY(__NR_name_to_handle_at, sys_name_to_handle_at), // 264
LINXY(__NR_open_by_handle_at, sys_open_by_handle_at), // 265
|
|
From: <sv...@va...> - 2017-02-18 21:16:06
|
Author: mjw
Date: Sat Feb 18 21:16:04 2017
New Revision: 16248
Log:
aarch64: mark not implemented syscalls as such
Patch by Marcin Juszkiewicz <mar...@li...>
Modified:
trunk/coregrind/m_syswrap/syswrap-arm64-linux.c
Modified: trunk/coregrind/m_syswrap/syswrap-arm64-linux.c
==============================================================================
--- trunk/coregrind/m_syswrap/syswrap-arm64-linux.c (original)
+++ trunk/coregrind/m_syswrap/syswrap-arm64-linux.c Sat Feb 18 21:16:04 2017
@@ -670,7 +670,7 @@
LINX_(__NR_umount2, sys_umount), // 39
LINX_(__NR_mount, sys_mount), // 40
LINX_(__NR_pivot_root, sys_pivot_root), // 41
- // (__NR_nfsservctl, sys_nfsservctl), // 42
+ // (__NR_nfsservctl, sys_ni_syscall), // 42
GENXY(__NR_statfs, sys_statfs), // 43
GENXY(__NR_fstatfs, sys_fstatfs), // 44
GENX_(__NR_truncate, sys_truncate), // 45
@@ -756,7 +756,7 @@
LINX_(__NR_sched_get_priority_max, sys_sched_get_priority_max),// 125
LINX_(__NR_sched_get_priority_min, sys_sched_get_priority_min),// 126
LINXY(__NR_sched_rr_get_interval, sys_sched_rr_get_interval),// 127
- // (__NR_restart_syscall, sys_restart_syscall), // 128
+ // (__NR_restart_syscall, sys_ni_syscall), // 128
GENX_(__NR_kill, sys_kill), // 129
LINXY(__NR_tkill, sys_tkill), // 130
LINX_(__NR_tgkill, sys_tgkill), // 131
@@ -770,7 +770,7 @@
PLAX_(__NR_rt_sigreturn, sys_rt_sigreturn), // 139
GENX_(__NR_setpriority, sys_setpriority), // 140
GENX_(__NR_getpriority, sys_getpriority), // 141
- // (__NR_reboot, sys_reboot), // 142
+ // (__NR_reboot, sys_ni_syscall), // 142
GENX_(__NR_setregid, sys_setregid), // 143
GENX_(__NR_setgid, sys_setgid), // 144
GENX_(__NR_setreuid, sys_setreuid), // 145
@@ -790,7 +790,7 @@
GENX_(__NR_setgroups, sys_setgroups), // 159
GENXY(__NR_uname, sys_newuname), // 160
GENX_(__NR_sethostname, sys_sethostname), // 161
- // (__NR_setdomainname, sys_setdomainname), // 162
+ // (__NR_setdomainname, sys_ni_syscall), // 162
GENXY(__NR_getrlimit, sys_old_getrlimit), // 163
GENX_(__NR_setrlimit, sys_setrlimit), // 164
GENXY(__NR_getrusage, sys_getrusage), // 165
@@ -862,11 +862,11 @@
LINX_(__NR_munlockall, sys_munlockall), // 231
GENXY(__NR_mincore, sys_mincore), // 232
GENX_(__NR_madvise, sys_madvise), // 233
- // (__NR_remap_file_pages, sys_remap_file_pages) // 234
+ // (__NR_remap_file_pages, sys_ni_syscall) // 234
LINX_(__NR_mbind, sys_mbind), // 235
LINXY(__NR_get_mempolicy, sys_get_mempolicy), // 236
LINX_(__NR_set_mempolicy, sys_set_mempolicy), // 237
- // (__NR_migrate_pages, sys_migrate_pages), // 238
+ // (__NR_migrate_pages, sys_ni_syscall), // 238
LINXY(__NR_move_pages, sys_move_pages), // 239
LINXY(__NR_rt_tgsigqueueinfo, sys_rt_tgsigqueueinfo), // 240
LINXY(__NR_perf_event_open, sys_perf_event_open), // 241
|
|
From: <sv...@va...> - 2017-02-18 21:16:05
|
Author: mjw
Date: Sat Feb 18 21:15:59 2017
New Revision: 16241
Log:
aarch64: enable rt_tgsigqueueinfo syscall (generic wrapper)
Patch by Marcin Juszkiewicz <mar...@li...>
Modified:
trunk/coregrind/m_syswrap/syswrap-arm64-linux.c
Modified: trunk/coregrind/m_syswrap/syswrap-arm64-linux.c
==============================================================================
--- trunk/coregrind/m_syswrap/syswrap-arm64-linux.c (original)
+++ trunk/coregrind/m_syswrap/syswrap-arm64-linux.c Sat Feb 18 21:15:59 2017
@@ -868,7 +868,7 @@
LINX_(__NR_set_mempolicy, sys_set_mempolicy), // 237
// (__NR_migrate_pages, sys_migrate_pages), // 238
LINXY(__NR_move_pages, sys_move_pages), // 239
- // (__NR_rt_tgsigqueueinfo, sys_rt_tgsigqueueinfo), // 240
+ LINXY(__NR_rt_tgsigqueueinfo, sys_rt_tgsigqueueinfo), // 240
LINXY(__NR_perf_event_open, sys_perf_event_open), // 241
LINXY(__NR_accept4, sys_accept4), // 242
LINXY(__NR_recvmmsg, sys_recvmmsg), // 243
|
|
From: <sv...@va...> - 2017-02-18 21:16:05
|
Author: mjw
Date: Sat Feb 18 21:16:04 2017
New Revision: 16247
Log:
aarch64: enable sethostname syscall (generic wrapper)
Patch by Marcin Juszkiewicz <mar...@li...>
Modified:
trunk/coregrind/m_syswrap/syswrap-arm64-linux.c
Modified: trunk/coregrind/m_syswrap/syswrap-arm64-linux.c
==============================================================================
--- trunk/coregrind/m_syswrap/syswrap-arm64-linux.c (original)
+++ trunk/coregrind/m_syswrap/syswrap-arm64-linux.c Sat Feb 18 21:16:04 2017
@@ -789,7 +789,7 @@
GENXY(__NR_getgroups, sys_getgroups), // 158
GENX_(__NR_setgroups, sys_setgroups), // 159
GENXY(__NR_uname, sys_newuname), // 160
- // (__NR_sethostname, sys_sethostname), // 161
+ GENX_(__NR_sethostname, sys_sethostname), // 161
// (__NR_setdomainname, sys_setdomainname), // 162
GENXY(__NR_getrlimit, sys_old_getrlimit), // 163
GENX_(__NR_setrlimit, sys_setrlimit), // 164
|
|
From: <sv...@va...> - 2017-02-18 21:16:04
|
Author: mjw
Date: Sat Feb 18 21:15:58 2017
New Revision: 16240
Log:
aarch64: enable move_pages syscall (generic wrapper)
Patch by Marcin Juszkiewicz <mar...@li...>
Modified:
trunk/coregrind/m_syswrap/syswrap-arm64-linux.c
Modified: trunk/coregrind/m_syswrap/syswrap-arm64-linux.c
==============================================================================
--- trunk/coregrind/m_syswrap/syswrap-arm64-linux.c (original)
+++ trunk/coregrind/m_syswrap/syswrap-arm64-linux.c Sat Feb 18 21:15:58 2017
@@ -867,7 +867,7 @@
LINXY(__NR_get_mempolicy, sys_get_mempolicy), // 236
LINX_(__NR_set_mempolicy, sys_set_mempolicy), // 237
// (__NR_migrate_pages, sys_migrate_pages), // 238
- // (__NR_move_pages, sys_move_pages), // 239
+ LINXY(__NR_move_pages, sys_move_pages), // 239
// (__NR_rt_tgsigqueueinfo, sys_rt_tgsigqueueinfo), // 240
LINXY(__NR_perf_event_open, sys_perf_event_open), // 241
LINXY(__NR_accept4, sys_accept4), // 242
|
|
From: <sv...@va...> - 2017-02-18 21:16:04
|
Author: mjw
Date: Sat Feb 18 21:15:57 2017
New Revision: 16239
Log:
aarch64: enable request_key syscall (generic wrapper)
Patch by Marcin Juszkiewicz <mar...@li...>
Modified:
trunk/coregrind/m_syswrap/syswrap-arm64-linux.c
Modified: trunk/coregrind/m_syswrap/syswrap-arm64-linux.c
==============================================================================
--- trunk/coregrind/m_syswrap/syswrap-arm64-linux.c (original)
+++ trunk/coregrind/m_syswrap/syswrap-arm64-linux.c Sat Feb 18 21:15:57 2017
@@ -846,7 +846,7 @@
GENXY(__NR_munmap, sys_munmap), // 215
GENX_(__NR_mremap, sys_mremap), // 216
LINX_(__NR_add_key, sys_add_key), // 217
- // (__NR_request_key, sys_request_key), // 218
+ LINX_(__NR_request_key, sys_request_key), // 218
LINXY(__NR_keyctl, sys_keyctl), // 219
LINX_(__NR_clone, sys_clone), // 220
GENX_(__NR_execve, sys_execve), // 221
|
|
From: <sv...@va...> - 2017-02-18 21:16:04
|
Author: mjw
Date: Sat Feb 18 21:16:03 2017
New Revision: 16246
Log:
aarch64: enable getcpu syscall (generic wrapper)
Patch by Marcin Juszkiewicz <mar...@li...>
Modified:
trunk/coregrind/m_syswrap/syswrap-arm64-linux.c
Modified: trunk/coregrind/m_syswrap/syswrap-arm64-linux.c
==============================================================================
--- trunk/coregrind/m_syswrap/syswrap-arm64-linux.c (original)
+++ trunk/coregrind/m_syswrap/syswrap-arm64-linux.c Sat Feb 18 21:16:03 2017
@@ -796,7 +796,7 @@
GENXY(__NR_getrusage, sys_getrusage), // 165
GENX_(__NR_umask, sys_umask), // 166
LINXY(__NR_prctl, sys_prctl), // 167
- // (__NR_getcpu, sys_getcpu), // 168
+ LINXY(__NR_getcpu, sys_getcpu), // 168
GENXY(__NR_gettimeofday, sys_gettimeofday), // 169
GENX_(__NR_settimeofday, sys_settimeofday), // 170
LINXY(__NR_adjtimex, sys_adjtimex), // 171
|
|
From: <sv...@va...> - 2017-02-18 21:16:04
|
Author: mjw
Date: Sat Feb 18 21:15:56 2017
New Revision: 16238
Log:
aarch64: enable tkill syscall (generic wrapper)
Patch by Marcin Juszkiewicz <mar...@li...>
Modified:
trunk/coregrind/m_syswrap/syswrap-arm64-linux.c
Modified: trunk/coregrind/m_syswrap/syswrap-arm64-linux.c
==============================================================================
--- trunk/coregrind/m_syswrap/syswrap-arm64-linux.c (original)
+++ trunk/coregrind/m_syswrap/syswrap-arm64-linux.c Sat Feb 18 21:15:56 2017
@@ -758,7 +758,7 @@
LINXY(__NR_sched_rr_get_interval, sys_sched_rr_get_interval),// 127
// (__NR_restart_syscall, sys_restart_syscall), // 128
GENX_(__NR_kill, sys_kill), // 129
- // (__NR_tkill, sys_tkill), // 130
+ LINXY(__NR_tkill, sys_tkill), // 130
LINX_(__NR_tgkill, sys_tgkill), // 131
GENXY(__NR_sigaltstack, sys_sigaltstack), // 132
LINX_(__NR_rt_sigsuspend, sys_rt_sigsuspend), // 133
|
|
From: <sv...@va...> - 2017-02-18 21:16:03
|
Author: mjw
Date: Sat Feb 18 21:15:55 2017
New Revision: 16237
Log:
aarch64: enable sched_rr_get_interval syscall (generic wrapper)
Patch by Marcin Juszkiewicz <mar...@li...>
Modified:
trunk/coregrind/m_syswrap/syswrap-arm64-linux.c
Modified: trunk/coregrind/m_syswrap/syswrap-arm64-linux.c
==============================================================================
--- trunk/coregrind/m_syswrap/syswrap-arm64-linux.c (original)
+++ trunk/coregrind/m_syswrap/syswrap-arm64-linux.c Sat Feb 18 21:15:55 2017
@@ -755,7 +755,7 @@
LINX_(__NR_sched_yield, sys_sched_yield), // 124
LINX_(__NR_sched_get_priority_max, sys_sched_get_priority_max),// 125
LINX_(__NR_sched_get_priority_min, sys_sched_get_priority_min),// 126
- // (__NR_sched_rr_get_interval, sys_sched_rr_get_interval),// 127
+ LINXY(__NR_sched_rr_get_interval, sys_sched_rr_get_interval),// 127
// (__NR_restart_syscall, sys_restart_syscall), // 128
GENX_(__NR_kill, sys_kill), // 129
// (__NR_tkill, sys_tkill), // 130
|
|
From: <sv...@va...> - 2017-02-18 21:16:03
|
Author: mjw
Date: Sat Feb 18 21:16:01 2017
New Revision: 16244
Log:
aarch64: enable clock_adjtime syscall (generic wrapper)
Patch by Marcin Juszkiewicz <mar...@li...>
Modified:
trunk/coregrind/m_syswrap/syswrap-arm64-linux.c
Modified: trunk/coregrind/m_syswrap/syswrap-arm64-linux.c
==============================================================================
--- trunk/coregrind/m_syswrap/syswrap-arm64-linux.c (original)
+++ trunk/coregrind/m_syswrap/syswrap-arm64-linux.c Sat Feb 18 21:16:01 2017
@@ -878,7 +878,7 @@
LINX_(__NR_fanotify_mark, sys_fanotify_mark), // 263
LINXY(__NR_name_to_handle_at, sys_name_to_handle_at), // 264
LINXY(__NR_open_by_handle_at, sys_open_by_handle_at), // 265
- // (__NR_clock_adjtime, sys_clock_adjtime), // 266
+ LINXY(__NR_clock_adjtime, sys_clock_adjtime), // 266
LINX_(__NR_syncfs, sys_syncfs), // 267
// (__NR_setns, sys_ni_syscall), // 268
LINXY(__NR_sendmmsg, sys_sendmmsg), // 269
|
|
From: <sv...@va...> - 2017-02-18 21:16:03
|
Author: mjw
Date: Sat Feb 18 21:15:54 2017
New Revision: 16236
Log:
aarch64: enable delete_module syscall (generic wrapper)
Patch by Marcin Juszkiewicz <mar...@li...>
Modified:
trunk/coregrind/m_syswrap/syswrap-arm64-linux.c
Modified: trunk/coregrind/m_syswrap/syswrap-arm64-linux.c
==============================================================================
--- trunk/coregrind/m_syswrap/syswrap-arm64-linux.c (original)
+++ trunk/coregrind/m_syswrap/syswrap-arm64-linux.c Sat Feb 18 21:15:54 2017
@@ -734,7 +734,7 @@
GENXY(__NR_setitimer, sys_setitimer), // 103
GENX_(__NR_kexec_load, sys_ni_syscall), // 104
LINX_(__NR_init_module, sys_init_module), // 105
- // (__NR_delete_module, sys_delete_module), // 106
+ LINX_(__NR_delete_module, sys_delete_module), // 106
LINXY(__NR_timer_create, sys_timer_create), // 107
LINXY(__NR_timer_gettime, sys_timer_gettime), // 108
LINX_(__NR_timer_getoverrun, sys_timer_getoverrun), // 109
|
|
From: <sv...@va...> - 2017-02-18 21:16:02
|
Author: mjw
Date: Sat Feb 18 21:15:53 2017
New Revision: 16235
Log:
aarch64: enable get_robust_list syscall (generic wrapper)
Patch by Marcin Juszkiewicz <mar...@li...>
Modified:
trunk/coregrind/m_syswrap/syswrap-arm64-linux.c
Modified: trunk/coregrind/m_syswrap/syswrap-arm64-linux.c
==============================================================================
--- trunk/coregrind/m_syswrap/syswrap-arm64-linux.c (original)
+++ trunk/coregrind/m_syswrap/syswrap-arm64-linux.c Sat Feb 18 21:15:53 2017
@@ -728,7 +728,7 @@
LINX_(__NR_unshare, sys_unshare), // 97
LINXY(__NR_futex, sys_futex), // 98
LINX_(__NR_set_robust_list, sys_set_robust_list), // 99
- // (__NR_get_robust_list, sys_get_robust_list), // 100
+ LINXY(__NR_get_robust_list, sys_get_robust_list), // 100
GENXY(__NR_nanosleep, sys_nanosleep), // 101
GENXY(__NR_getitimer, sys_getitimer), // 102
GENXY(__NR_setitimer, sys_setitimer), // 103
|
|
From: <sv...@va...> - 2017-02-18 21:16:02
|
Author: mjw
Date: Sat Feb 18 21:15:53 2017
New Revision: 16234
Log:
aarch64: enable unshare syscall (generic wrapper)
Patch by Marcin Juszkiewicz <mar...@li...>
Modified:
trunk/coregrind/m_syswrap/syswrap-arm64-linux.c
Modified: trunk/coregrind/m_syswrap/syswrap-arm64-linux.c
==============================================================================
--- trunk/coregrind/m_syswrap/syswrap-arm64-linux.c (original)
+++ trunk/coregrind/m_syswrap/syswrap-arm64-linux.c Sat Feb 18 21:15:53 2017
@@ -725,7 +725,7 @@
LINX_(__NR_exit_group, sys_exit_group), // 94
LINXY(__NR_waitid, sys_waitid), // 95
LINX_(__NR_set_tid_address, sys_set_tid_address), // 96
- // (__NR_unshare, sys_unshare), // 97
+ LINX_(__NR_unshare, sys_unshare), // 97
LINXY(__NR_futex, sys_futex), // 98
LINX_(__NR_set_robust_list, sys_set_robust_list), // 99
// (__NR_get_robust_list, sys_get_robust_list), // 100
|
|
From: <sv...@va...> - 2017-02-18 21:15:58
|
Author: mjw
Date: Sat Feb 18 21:15:52 2017
New Revision: 16233
Log:
aarch64: enable sync_file_range syscall (generic wrapper)
Patch by Marcin Juszkiewicz <mar...@li...>
Modified:
trunk/coregrind/m_syswrap/syswrap-arm64-linux.c
Modified: trunk/coregrind/m_syswrap/syswrap-arm64-linux.c
==============================================================================
--- trunk/coregrind/m_syswrap/syswrap-arm64-linux.c (original)
+++ trunk/coregrind/m_syswrap/syswrap-arm64-linux.c Sat Feb 18 21:15:52 2017
@@ -712,7 +712,7 @@
GENX_(__NR_sync, sys_sync), // 81
GENX_(__NR_fsync, sys_fsync), // 82
GENX_(__NR_fdatasync, sys_fdatasync), // 83
- // (__NR_sync_file_range, sys_sync_file_range), // 84
+ LINX_(__NR_sync_file_range, sys_sync_file_range), // 84
LINXY(__NR_timerfd_create, sys_timerfd_create), // 85
LINXY(__NR_timerfd_settime, sys_timerfd_settime), // 86
LINXY(__NR_timerfd_gettime, sys_timerfd_gettime), // 87
|
|
From: <sv...@va...> - 2017-02-18 21:15:58
|
Author: mjw
Date: Sat Feb 18 21:15:51 2017
New Revision: 16232
Log:
aarch64: enable pivot_root syscall (generic wrapper)
Patch by Marcin Juszkiewicz <mar...@li...>
Modified:
trunk/coregrind/m_syswrap/syswrap-arm64-linux.c
Modified: trunk/coregrind/m_syswrap/syswrap-arm64-linux.c
==============================================================================
--- trunk/coregrind/m_syswrap/syswrap-arm64-linux.c (original)
+++ trunk/coregrind/m_syswrap/syswrap-arm64-linux.c Sat Feb 18 21:15:51 2017
@@ -669,7 +669,7 @@
LINX_(__NR_renameat, sys_renameat), // 38
LINX_(__NR_umount2, sys_umount), // 39
LINX_(__NR_mount, sys_mount), // 40
- // (__NR_pivot_root, sys_pivot_root), // 41
+ LINX_(__NR_pivot_root, sys_pivot_root), // 41
// (__NR_nfsservctl, sys_nfsservctl), // 42
GENXY(__NR_statfs, sys_statfs), // 43
GENXY(__NR_fstatfs, sys_fstatfs), // 44
|
|
From: <sv...@va...> - 2017-02-18 21:15:57
|
Author: mjw
Date: Sat Feb 18 21:15:49 2017
New Revision: 16230
Log:
aarch64: add missing syscalls into table
All entries are added disabled - enabling them will be done later.
Patch by Marcin Juszkiewicz <mar...@li...>
Modified:
trunk/coregrind/m_syswrap/syswrap-arm64-linux.c
Modified: trunk/coregrind/m_syswrap/syswrap-arm64-linux.c
==============================================================================
--- trunk/coregrind/m_syswrap/syswrap-arm64-linux.c (original)
+++ trunk/coregrind/m_syswrap/syswrap-arm64-linux.c Sat Feb 18 21:15:49 2017
@@ -666,10 +666,11 @@
LINX_(__NR_unlinkat, sys_unlinkat), // 35
LINX_(__NR_symlinkat, sys_symlinkat), // 36
LINX_(__NR_linkat, sys_linkat), // 37
- LINX_(__NR_renameat, sys_renameat), // 38
+ LINX_(__NR_renameat, sys_renameat), // 38
LINX_(__NR_umount2, sys_umount), // 39
LINX_(__NR_mount, sys_mount), // 40
-
+ // (__NR_pivot_root, sys_pivot_root), // 41
+ // (__NR_nfsservctl, sys_nfsservctl), // 42
GENXY(__NR_statfs, sys_statfs), // 43
GENXY(__NR_fstatfs, sys_fstatfs), // 44
GENX_(__NR_truncate, sys_truncate), // 45
@@ -711,7 +712,7 @@
GENX_(__NR_sync, sys_sync), // 81
GENX_(__NR_fsync, sys_fsync), // 82
GENX_(__NR_fdatasync, sys_fdatasync), // 83
-
+ // (__NR_sync_file_range, sys_sync_file_range), // 84
LINXY(__NR_timerfd_create, sys_timerfd_create), // 85
LINXY(__NR_timerfd_settime, sys_timerfd_settime), // 86
LINXY(__NR_timerfd_gettime, sys_timerfd_gettime), // 87
@@ -724,16 +725,16 @@
LINX_(__NR_exit_group, sys_exit_group), // 94
LINXY(__NR_waitid, sys_waitid), // 95
LINX_(__NR_set_tid_address, sys_set_tid_address), // 96
-
+ // (__NR_unshare, sys_unshare), // 97
LINXY(__NR_futex, sys_futex), // 98
LINX_(__NR_set_robust_list, sys_set_robust_list), // 99
-
+ // (__NR_get_robust_list, sys_get_robust_list), // 100
GENXY(__NR_nanosleep, sys_nanosleep), // 101
GENXY(__NR_getitimer, sys_getitimer), // 102
GENXY(__NR_setitimer, sys_setitimer), // 103
GENX_(__NR_kexec_load, sys_ni_syscall), // 104
LINX_(__NR_init_module, sys_init_module), // 105
-
+ // (__NR_delete_module, sys_delete_module), // 106
LINXY(__NR_timer_create, sys_timer_create), // 107
LINXY(__NR_timer_gettime, sys_timer_gettime), // 108
LINX_(__NR_timer_getoverrun, sys_timer_getoverrun), // 109
@@ -744,7 +745,7 @@
LINXY(__NR_clock_getres, sys_clock_getres), // 114
LINXY(__NR_clock_nanosleep, sys_clock_nanosleep), // 115
LINXY(__NR_syslog, sys_syslog), // 116
-
+ // (__NR_ptrace, sys_ptrace), // 117
LINXY(__NR_sched_setparam, sys_sched_setparam), // 118
LINX_(__NR_sched_setscheduler,sys_sched_setscheduler),// 119
LINX_(__NR_sched_getscheduler,sys_sched_getscheduler),// 120
@@ -754,9 +755,10 @@
LINX_(__NR_sched_yield, sys_sched_yield), // 124
LINX_(__NR_sched_get_priority_max, sys_sched_get_priority_max),// 125
LINX_(__NR_sched_get_priority_min, sys_sched_get_priority_min),// 126
-
+ // (__NR_sched_rr_get_interval, sys_sched_rr_get_interval),// 127
+ // (__NR_restart_syscall, sys_restart_syscall), // 128
GENX_(__NR_kill, sys_kill), // 129
-
+ // (__NR_tkill, sys_tkill), // 130
LINX_(__NR_tgkill, sys_tgkill), // 131
GENXY(__NR_sigaltstack, sys_sigaltstack), // 132
LINX_(__NR_rt_sigsuspend, sys_rt_sigsuspend), // 133
@@ -768,7 +770,7 @@
PLAX_(__NR_rt_sigreturn, sys_rt_sigreturn), // 139
GENX_(__NR_setpriority, sys_setpriority), // 140
GENX_(__NR_getpriority, sys_getpriority), // 141
-
+ // (__NR_reboot, sys_reboot), // 142
GENX_(__NR_setregid, sys_setregid), // 143
GENX_(__NR_setgid, sys_setgid), // 144
GENX_(__NR_setreuid, sys_setreuid), // 145
@@ -787,13 +789,14 @@
GENXY(__NR_getgroups, sys_getgroups), // 158
GENX_(__NR_setgroups, sys_setgroups), // 159
GENXY(__NR_uname, sys_newuname), // 160
-
+ // (__NR_sethostname, sys_sethostname), // 161
+ // (__NR_setdomainname, sys_setdomainname), // 162
GENXY(__NR_getrlimit, sys_old_getrlimit), // 163
GENX_(__NR_setrlimit, sys_setrlimit), // 164
GENXY(__NR_getrusage, sys_getrusage), // 165
GENX_(__NR_umask, sys_umask), // 166
LINXY(__NR_prctl, sys_prctl), // 167
-
+ // (__NR_getcpu, sys_getcpu), // 168
GENXY(__NR_gettimeofday, sys_gettimeofday), // 169
GENX_(__NR_settimeofday, sys_settimeofday), // 170
LINXY(__NR_adjtimex, sys_adjtimex), // 171
@@ -843,13 +846,14 @@
GENXY(__NR_munmap, sys_munmap), // 215
GENX_(__NR_mremap, sys_mremap), // 216
LINX_(__NR_add_key, sys_add_key), // 217
-
+ // (__NR_request_key, sys_request_key), // 218
LINXY(__NR_keyctl, sys_keyctl), // 219
LINX_(__NR_clone, sys_clone), // 220
GENX_(__NR_execve, sys_execve), // 221
PLAX_(__NR_mmap, sys_mmap), // 222
PLAX_(__NR_fadvise64, sys_fadvise64), // 223
-
+ // (__NR_swapon, sys_swapon), // 224
+ // (__NR_swapoff, sys_swapoff), // 225
GENXY(__NR_mprotect, sys_mprotect), // 226
GENX_(__NR_msync, sys_msync), // 227
GENX_(__NR_mlock, sys_mlock), // 228
@@ -858,31 +862,47 @@
LINX_(__NR_munlockall, sys_munlockall), // 231
GENXY(__NR_mincore, sys_mincore), // 232
GENX_(__NR_madvise, sys_madvise), // 233
-
+ // (__NR_remap_file_pages, sys_remap_file_pages) // 234
LINX_(__NR_mbind, sys_mbind), // 235
LINXY(__NR_get_mempolicy, sys_get_mempolicy), // 236
LINX_(__NR_set_mempolicy, sys_set_mempolicy), // 237
-
+ // (__NR_migrate_pages, sys_migrate_pages), // 238
+ // (__NR_move_pages, sys_move_pages), // 239
+ // (__NR_rt_tgsigqueueinfo, sys_rt_tgsigqueueinfo), // 240
LINXY(__NR_perf_event_open, sys_perf_event_open), // 241
LINXY(__NR_accept4, sys_accept4), // 242
LINXY(__NR_recvmmsg, sys_recvmmsg), // 243
-
GENXY(__NR_wait4, sys_wait4), // 260
LINXY(__NR_prlimit64, sys_prlimit64), // 261
-
+ // (__NR_fanotify_init, sys_fanotify_init), // 262
+ // (__NR_fanotify_mark, sys_fanotify_mark), // 263
LINXY(__NR_name_to_handle_at, sys_name_to_handle_at), // 264
LINXY(__NR_open_by_handle_at, sys_open_by_handle_at), // 265
-
+ // (__NR_clock_adjtime, sys_clock_adjtime), // 266
LINX_(__NR_syncfs, sys_syncfs), // 267
-
+ // (__NR_setns, sys_ni_syscall), // 268
LINXY(__NR_sendmmsg, sys_sendmmsg), // 269
LINXY(__NR_process_vm_readv, sys_process_vm_readv), // 270
LINX_(__NR_process_vm_writev, sys_process_vm_writev), // 271
-
+ // (__NR_kcmp, sys_kcmp), // 272
+ // (__NR_finit_module, sys_ni_syscall), // 273
+ // (__NR_sched_setattr, sys_ni_syscall), // 274
+ // (__NR_sched_getattr, sys_ni_syscall), // 275
LINX_(__NR_renameat2, sys_renameat2), // 276
-
+ // (__NR_seccomp, sys_ni_syscall), // 277
LINXY(__NR_getrandom, sys_getrandom), // 278
LINXY(__NR_memfd_create, sys_memfd_create), // 279
+ // (__NR_bpf, sys_ni_syscall) // 280
+ // (__NR_execveat, sys_ni_syscall), // 281
+ // (__NR_userfaultfd, sys_ni_syscall), // 282
+ // (__NR_membarrier, sys_ni_syscall), // 283
+ // (__NR_mlock2, sys_ni_syscall), // 284
+ // (__NR_copy_file_range, sys_ni_syscall), // 285
+ // (__NR_preadv2, sys_ni_syscall), // 286
+ // (__NR_pwritev2, sys_ni_syscall), // 287
+ // (__NR_pkey_mprotect, sys_ni_syscall), // 288
+ // (__NR_pkey_alloc, sys_ni_syscall), // 289
+ // (__NR_pkey_free, sys_ni_syscall), // 290
// The numbers below are bogus. (See comment further down.)
// When pulling entries above this line, change the numbers
|
|
From: <sv...@va...> - 2017-02-18 21:15:57
|
Author: mjw
Date: Sat Feb 18 21:15:50 2017
New Revision: 16231
Log:
aarch64: remove bogus syscall part
Patch by Marcin Juszkiewicz <mar...@li...>
Modified:
trunk/coregrind/m_syswrap/syswrap-arm64-linux.c
Modified: trunk/coregrind/m_syswrap/syswrap-arm64-linux.c
==============================================================================
--- trunk/coregrind/m_syswrap/syswrap-arm64-linux.c (original)
+++ trunk/coregrind/m_syswrap/syswrap-arm64-linux.c Sat Feb 18 21:15:50 2017
@@ -903,276 +903,6 @@
// (__NR_pkey_mprotect, sys_ni_syscall), // 288
// (__NR_pkey_alloc, sys_ni_syscall), // 289
// (__NR_pkey_free, sys_ni_syscall), // 290
-
-// The numbers below are bogus. (See comment further down.)
-// When pulling entries above this line, change the numbers
-// to be correct.
-
-//ZZ //zz // (restart_syscall) // 0
-//ZZ GENX_(__NR_fork, sys_fork), // 2
-//ZZ
-//ZZ GENXY(__NR_open, sys_open), // 5
-//ZZ // GENXY(__NR_waitpid, sys_waitpid), // 7
-//ZZ GENXY(__NR_creat, sys_creat), // 8
-//ZZ GENX_(__NR_link, sys_link), // 9
-//ZZ
-//ZZ GENX_(__NR_unlink, sys_unlink), // 10
-//ZZ GENXY(__NR_time, sys_time), // 13
-//ZZ GENX_(__NR_mknod, sys_mknod), // 14
-//ZZ
-//ZZ GENX_(__NR_chmod, sys_chmod), // 15
-//ZZ //zz LINX_(__NR_lchown, sys_lchown16), // 16
-//ZZ // GENX_(__NR_break, sys_ni_syscall), // 17
-//ZZ //zz // (__NR_oldstat, sys_stat), // 18 (obsolete)
-//ZZ LINX_(__NR_lseek, sys_lseek), // 19
-//ZZ
-//ZZ GENX_(__NR_getpid, sys_getpid), // 20
-//ZZ LINX_(__NR_umount, sys_oldumount), // 22
-//ZZ LINX_(__NR_setuid, sys_setuid16), // 23 ## P
-//ZZ LINX_(__NR_getuid, sys_getuid16), // 24 ## P
-//ZZ //zz
-//ZZ //zz // (__NR_stime, sys_stime), // 25 * (SVr4,SVID,X/OPEN)
-//ZZ PLAXY(__NR_ptrace, sys_ptrace), // 26
-//ZZ GENX_(__NR_alarm, sys_alarm), // 27
-//ZZ //zz // (__NR_oldfstat, sys_fstat), // 28 * L -- obsolete
-//ZZ GENX_(__NR_pause, sys_pause), // 29
-//ZZ
-//ZZ LINX_(__NR_utime, sys_utime), // 30
-//ZZ // GENX_(__NR_stty, sys_ni_syscall), // 31
-//ZZ // GENX_(__NR_gtty, sys_ni_syscall), // 32
-//ZZ GENX_(__NR_access, sys_access), // 33
-//ZZ GENX_(__NR_nice, sys_nice), // 34
-//ZZ
-//ZZ // GENX_(__NR_ftime, sys_ni_syscall), // 35
-//ZZ GENX_(__NR_rename, sys_rename), // 38
-//ZZ GENX_(__NR_mkdir, sys_mkdir), // 39
-//ZZ
-//ZZ GENX_(__NR_rmdir, sys_rmdir), // 40
-//ZZ LINXY(__NR_pipe, sys_pipe), // 42
-//ZZ // GENX_(__NR_prof, sys_ni_syscall), // 44
-
-//ZZ LINX_(__NR_getgid, sys_getgid16), // 47
-//ZZ //zz // (__NR_signal, sys_signal), // 48 */* (ANSI C)
-//ZZ LINX_(__NR_geteuid, sys_geteuid16), // 49
-//ZZ
-//ZZ LINX_(__NR_getegid, sys_getegid16), // 50
-//ZZ // GENX_(__NR_lock, sys_ni_syscall), // 53
-//ZZ
-//ZZ LINXY(__NR_fcntl, sys_fcntl), // 55
-//ZZ // GENX_(__NR_mpx, sys_ni_syscall), // 56
-//ZZ // GENX_(__NR_ulimit, sys_ni_syscall), // 58
-//ZZ //zz // (__NR_oldolduname, sys_olduname), // 59 Linux -- obsolete
-//ZZ //zz
-//ZZ //zz // (__NR_ustat, sys_ustat) // 62 SVr4 -- deprecated
-//ZZ GENXY(__NR_dup2, sys_dup2), // 63
-//ZZ GENX_(__NR_getppid, sys_getppid), // 64
-//ZZ
-//ZZ GENX_(__NR_getpgrp, sys_getpgrp), // 65
-//ZZ LINXY(__NR_sigaction, sys_sigaction), // 67
-//ZZ //zz // (__NR_sgetmask, sys_sgetmask), // 68 */* (ANSI C)
-//ZZ //zz // (__NR_ssetmask, sys_ssetmask), // 69 */* (ANSI C)
-//ZZ //zz
-//ZZ PLAX_(__NR_sigsuspend, sys_sigsuspend), // 72
-//ZZ LINXY(__NR_sigpending, sys_sigpending), // 73
-//ZZ //zz // (__NR_sethostname, sys_sethostname), // 74 */*
-//ZZ //zz
-//ZZ GENXY(__NR_getrlimit, sys_old_getrlimit), // 76
-//ZZ
-//ZZ LINXY(__NR_getgroups, sys_getgroups16), // 80
-//ZZ LINX_(__NR_setgroups, sys_setgroups16), // 81
-//ZZ // PLAX_(__NR_select, old_select), // 82
-//ZZ GENX_(__NR_symlink, sys_symlink), // 83
-//ZZ //zz // (__NR_oldlstat, sys_lstat), // 84 -- obsolete
-//ZZ //zz
-//ZZ GENX_(__NR_readlink, sys_readlink), // 85
-//ZZ //zz // (__NR_uselib, sys_uselib), // 86 */Linux
-//ZZ //zz // (__NR_swapon, sys_swapon), // 87 */Linux
-//ZZ //zz // (__NR_reboot, sys_reboot), // 88 */Linux
-//ZZ //zz // (__NR_readdir, old_readdir), // 89 -- superseded
-//ZZ //zz
-//ZZ // _____(__NR_mmap, old_mmap), // 90
-//ZZ GENXY(__NR_munmap, sys_munmap), // 91
-//ZZ GENX_(__NR_truncate, sys_truncate), // 92
-//ZZ GENX_(__NR_ftruncate, sys_ftruncate), // 93
-//ZZ
-//ZZ LINX_(__NR_fchown, sys_fchown16), // 95
-//ZZ // GENX_(__NR_profil, sys_ni_syscall), // 98
-//ZZ GENXY(__NR_statfs, sys_statfs), // 99
-//ZZ
-//ZZ GENXY(__NR_fstatfs, sys_fstatfs), // 100
-//ZZ // LINX_(__NR_ioperm, sys_ioperm), // 101
-//ZZ LINXY(__NR_socketcall, sys_socketcall), // 102
-//ZZ
-//ZZ GENXY(__NR_stat, sys_newstat), // 106
-//ZZ GENXY(__NR_lstat, sys_newlstat), // 107
-//ZZ GENXY(__NR_fstat, sys_newfstat), // 108
-//ZZ //zz // (__NR_olduname, sys_uname), // 109 -- obsolete
-//ZZ //zz
-//ZZ // GENX_(__NR_iopl, sys_iopl), // 110
-//ZZ // GENX_(__NR_idle, sys_ni_syscall), // 112
-//ZZ // PLAXY(__NR_vm86old, sys_vm86old), // 113 __NR_syscall... weird
-//ZZ //zz
-//ZZ //zz // (__NR_swapoff, sys_swapoff), // 115 */Linux
-//ZZ // _____(__NR_ipc, sys_ipc), // 117
-//ZZ GENX_(__NR_fsync, sys_fsync), // 118
-//ZZ PLAX_(__NR_sigreturn, sys_sigreturn), // 119 ?/Linux
-//ZZ
-//ZZ //zz // (__NR_setdomainname, sys_setdomainname), // 121 */*(?)
-//ZZ // PLAX_(__NR_modify_ldt, sys_modify_ldt), // 123
-//ZZ //zz
-//ZZ LINXY(__NR_sigprocmask, sys_sigprocmask), // 126
-//ZZ //zz // Nb: create_module() was removed 2.4-->2.6
-//ZZ // GENX_(__NR_create_module, sys_ni_syscall), // 127
-//ZZ LINX_(__NR_delete_module, sys_delete_module), // 129
-//ZZ //zz
-//ZZ //zz // Nb: get_kernel_syms() was removed 2.4-->2.6
-//ZZ // GENX_(__NR_get_kernel_syms, sys_ni_syscall), // 130
-//ZZ GENX_(__NR_getpgid, sys_getpgid), // 132
-//ZZ //zz // (__NR_bdflush, sys_bdflush), // 134 */Linux
-//ZZ //zz
-//ZZ //zz // (__NR_sysfs, sys_sysfs), // 135 SVr4
-//ZZ // GENX_(__NR_afs_syscall, sys_ni_syscall), // 137
-//ZZ
-//ZZ LINXY(__NR__llseek, sys_llseek), // 140
-//ZZ GENXY(__NR_getdents, sys_getdents), // 141
-//ZZ GENX_(__NR__newselect, sys_select), // 142
-//ZZ
-//ZZ LINXY(__NR__sysctl, sys_sysctl), // 149
-//ZZ
-//ZZ //zz //LINX?(__NR_sched_rr_get_interval, sys_sched_rr_get_interval), // 161 */*
-//ZZ LINX_(__NR_setresuid, sys_setresuid16), // 164
-//ZZ
-//ZZ LINXY(__NR_getresuid, sys_getresuid16), // 165
-//ZZ // PLAXY(__NR_vm86, sys_vm86), // 166 x86/Linux-only
-//ZZ // GENX_(__NR_query_module, sys_ni_syscall), // 167
-//ZZ GENXY(__NR_poll, sys_poll), // 168
-//ZZ //zz // (__NR_nfsservctl, sys_nfsservctl), // 169 */Linux
-//ZZ //zz
-//ZZ LINX_(__NR_setresgid, sys_setresgid16), // 170
-//ZZ LINXY(__NR_getresgid, sys_getresgid16), // 171
-//ZZ LINXY(__NR_prctl, sys_prctl), // 172
-//ZZ LINXY(__NR_rt_sigaction, sys_rt_sigaction), // 174
-//ZZ
-//ZZ LINXY(__NR_rt_sigtimedwait, sys_rt_sigtimedwait),// 177
-//ZZ
-//ZZ LINX_(__NR_chown, sys_chown16), // 182
-//ZZ
-//ZZ LINXY(__NR_sendfile, sys_sendfile), // 187
-//ZZ // GENXY(__NR_getpmsg, sys_getpmsg), // 188
-//ZZ // GENX_(__NR_putpmsg, sys_putpmsg), // 189
-//ZZ
-//ZZ // Nb: we treat vfork as fork
-//ZZ GENX_(__NR_vfork, sys_fork), // 190
-//ZZ GENXY(__NR_ugetrlimit, sys_getrlimit), // 191
-//ZZ GENX_(__NR_truncate64, sys_truncate64), // 193
-//ZZ GENX_(__NR_ftruncate64, sys_ftruncate64), // 194
-//ZZ
-//ZZ PLAXY(__NR_stat64, sys_stat64), // 195
-//ZZ PLAXY(__NR_lstat64, sys_lstat64), // 196
-//ZZ PLAXY(__NR_fstat64, sys_fstat64), // 197
-//ZZ GENX_(__NR_lchown32, sys_lchown), // 198
-//ZZ GENX_(__NR_getuid32, sys_getuid), // 199
-//ZZ
-//ZZ GENX_(__NR_getgid32, sys_getgid), // 200
-//ZZ GENX_(__NR_geteuid32, sys_geteuid), // 201
-//ZZ GENX_(__NR_getegid32, sys_getegid), // 202
-//ZZ GENX_(__NR_setreuid32, sys_setreuid), // 203
-//ZZ GENX_(__NR_setregid32, sys_setregid), // 204
-//ZZ
-//ZZ LINX_(__NR_setresuid32, sys_setresuid), // 208
-//ZZ LINXY(__NR_getresuid32, sys_getresuid), // 209
-//ZZ
-//ZZ LINX_(__NR_setresgid32, sys_setresgid), // 210
-//ZZ LINXY(__NR_getresgid32, sys_getresgid), // 211
-//ZZ GENX_(__NR_chown32, sys_chown), // 212
-//ZZ GENX_(__NR_setuid32, sys_setuid), // 213
-//ZZ GENX_(__NR_setgid32, sys_setgid), // 214
-//ZZ
-//ZZ LINX_(__NR_setfsuid32, sys_setfsuid), // 215
-//ZZ LINX_(__NR_setfsgid32, sys_setfsgid), // 216
-//ZZ //zz // (__NR_pivot_root, sys_pivot_root), // 217 */Linux
-//ZZ
-//ZZ LINXY(__NR_fcntl64, sys_fcntl64), // 221
-//ZZ // GENX_(222, sys_ni_syscall), // 222
-//ZZ // PLAXY(223, sys_syscall223), // 223 // sys_bproc?
-//ZZ
-//ZZ LINXY(__NR_tkill, sys_tkill), // 238 */Linux
-//ZZ
-//ZZ LINXY(__NR_futex, sys_futex), // 240
-//ZZ LINXY(__NR_sched_getaffinity, sys_sched_getaffinity), // 242
-//ZZ // PLAX_(__NR_set_thread_area, sys_set_thread_area), // 243
-//ZZ // PLAX_(__NR_get_thread_area, sys_get_thread_area), // 244
-//ZZ
-//ZZ // LINX_(__NR_fadvise64, sys_fadvise64), // 250 */(Linux?)
-//ZZ GENX_(251, sys_ni_syscall), // 251
-//ZZ LINXY(__NR_epoll_create, sys_epoll_create), // 254
-//ZZ
-//ZZ LINX_(__NR_epoll_ctl, sys_epoll_ctl), // 255
-//ZZ LINXY(__NR_epoll_wait, sys_epoll_wait), // 256
-//ZZ //zz // (__NR_remap_file_pages, sys_remap_file_pages), // 257 */Linux
-//ZZ LINX_(__NR_set_tid_address, sys_set_tid_address), // 258
-//ZZ
-//ZZ LINXY(__NR_clock_getres, sys_clock_getres), // (timer_create+7)
-//ZZ GENXY(__NR_statfs64, sys_statfs64), // 268
-//ZZ GENXY(__NR_fstatfs64, sys_fstatfs64), // 269
-//ZZ
-//ZZ GENX_(__NR_utimes, sys_utimes), // 271
-//ZZ // LINX_(__NR_fadvise64_64, sys_fadvise64_64), // 272 */(Linux?)
-//ZZ GENX_(__NR_vserver, sys_ni_syscall), // 273
-//ZZ LINX_(__NR_mbind, sys_mbind), // 274 ?/?
-//ZZ
-//ZZ LINXY(__NR_get_mempolicy, sys_get_mempolicy), // 275 ?/?
-//ZZ LINX_(__NR_set_mempolicy, sys_set_mempolicy), // 276 ?/?
-//ZZ
-//ZZ LINX_(__NR_send, sys_send),
-//ZZ LINXY(__NR_recv, sys_recv),
-//ZZ LINXY(__NR_recvfrom, sys_recvfrom), // 292
-//ZZ LINX_(__NR_semget, sys_semget), // 299
-//ZZ LINXY(__NR_semctl, sys_semctl), // 300
-//ZZ
-//ZZ LINX_(__NR_request_key, sys_request_key), // 287
-//ZZ LINX_(__NR_inotify_init, sys_inotify_init), // 291
-//ZZ // LINX_(__NR_migrate_pages, sys_migrate_pages), // 294
-//ZZ
-//ZZ LINX_(__NR_futimesat, sys_futimesat), // 326 on arm
-//ZZ
-//ZZ PLAXY(__NR_fstatat64, sys_fstatat64), // 300
-//ZZ LINX_(__NR_renameat, sys_renameat), // 302
-//ZZ LINX_(__NR_symlinkat, sys_symlinkat), // 304
-//ZZ
-//ZZ LINX_(__NR_shmget, sys_shmget), //307
-//ZZ // LINX_(__NR_pselect6, sys_pselect6), //
-//ZZ
-//ZZ // LINX_(__NR_unshare, sys_unshare), // 310
-//ZZ LINX_(__NR_set_robust_list, sys_set_robust_list), // 311
-//ZZ LINXY(__NR_get_robust_list, sys_get_robust_list), // 312
-//ZZ // LINX_(__NR_sync_file_range, sys_sync_file_range), // 314
-//ZZ
-//ZZ LINXY(__NR_move_pages, sys_move_pages), // 317
-//ZZ // LINX_(__NR_getcpu, sys_ni_syscall), // 318
-//ZZ
-//ZZ LINXY(__NR_signalfd, sys_signalfd), // 321
-//ZZ LINXY(__NR_eventfd, sys_eventfd), // 323
-//ZZ
-//ZZ
-//ZZ ///////////////
-//ZZ
-//ZZ // JRS 2010-Jan-03: I believe that all the numbers listed
-//ZZ // in comments in the table prior to this point (eg "// 326",
-//ZZ // etc) are bogus since it looks to me like they are copied
-//ZZ // verbatim from syswrap-x86-linux.c and they certainly do not
-//ZZ // correspond to what's in include/vki/vki-scnums-arm-linux.h.
-//ZZ // From here onwards, please ensure the numbers are correct.
-//ZZ
-//ZZ
-//ZZ LINXY(__NR_epoll_pwait, sys_epoll_pwait), // 346
-//ZZ
-//ZZ
-//ZZ LINXY(__NR_eventfd2, sys_eventfd2), // 356
-//ZZ LINXY(__NR_epoll_create1, sys_epoll_create1), // 357
-//ZZ LINXY(__NR_rt_tgsigqueueinfo, sys_rt_tgsigqueueinfo),// 363
-//ZZ
-//ZZ LINXY(__NR_clock_adjtime, sys_clock_adjtime) // 372
};
|
|
From: <sv...@va...> - 2017-02-18 21:15:56
|
Author: mjw
Date: Sat Feb 18 21:15:48 2017
New Revision: 16229
Log:
fix order of timer_* syscalls on aarch64 - bug #371225
Signed-off-by: Marcin Juszkiewicz <mar...@li...>
Modified:
trunk/coregrind/m_syswrap/syswrap-arm64-linux.c
Modified: trunk/coregrind/m_syswrap/syswrap-arm64-linux.c
==============================================================================
--- trunk/coregrind/m_syswrap/syswrap-arm64-linux.c (original)
+++ trunk/coregrind/m_syswrap/syswrap-arm64-linux.c Sat Feb 18 21:15:48 2017
@@ -735,9 +735,9 @@
LINX_(__NR_init_module, sys_init_module), // 105
LINXY(__NR_timer_create, sys_timer_create), // 107
- LINXY(__NR_timer_settime, sys_timer_settime), // 108
- LINXY(__NR_timer_gettime, sys_timer_gettime), // 109
- LINX_(__NR_timer_getoverrun, sys_timer_getoverrun), // 110
+ LINXY(__NR_timer_gettime, sys_timer_gettime), // 108
+ LINX_(__NR_timer_getoverrun, sys_timer_getoverrun), // 109
+ LINXY(__NR_timer_settime, sys_timer_settime), // 110
LINX_(__NR_timer_delete, sys_timer_delete), // 111
LINX_(__NR_clock_settime, sys_clock_settime), // 112
LINXY(__NR_clock_gettime, sys_clock_gettime), // 113
|
|
From: Mark W. <mj...@re...> - 2017-02-18 17:00:50
|
On Fri, 2017-02-17 at 11:27 -0600, Will Schmidt wrote: > On ppc64*, the TOC ptr should not be considered a scratch > register, and should not be in the clobber list. > This is called out in newer GCC (i.e. gcc7) and triggers an error. > > Thusly, remove R2 from the clobber list. Thanks. I used this patch to get the valgrind fedora rawhide package to build again on ppc64[le]. And it seems to work. For reference I also backported the following list of patches to make things work better against latest gcc, glibc and linux kernel used in fedora rawhide. This might be a good list of patches/bugs if we do a 3.12.1 release. # KDE#371396 - workaround helgrind and drd pth_cond_destroy_busy testcase hangs # RHBZ#1390282 upstream svn r16134 # Cleanup none/tests/nocwd.vgtest tmp dirs. # RHBZ#1424367 # GCC7 now diagnoses inline assembly that clobbers register r2. # This has always been invalid code, and is no longer quietly tolerated. # KDE#376611 ppc64 and arm64 don't know about prlimit64 syscall # KDE#376279 Handle unknown HINT instructions on aarch64 by ignoring them. # KDE#342040 Valgrind mishandles clone with CLONE_VFORK | CLONE_VM # that clones to a different stack # KDE#373192 Calling posix_spawn in glibc 2.24 completely broken # KDE#372600 process loops forever when fatal signals are arriving quickly # KDE#372504 Hanging on exit_group # KDE#373046 Stacks registered by core are never deregistered # KDE#344139 # Initialize x86 system GDT on first use. # VEX: Recognize the SS segment prefix on x86. # KDE#352767 - Wine/valgrind: noted but unhandled ioctl 0x5307 (CDROMSTOP) # KDE#348616 - Wine/valgrind: noted but unhandled ioctl 0x5390 (DVD_READ_STRUCT) # KDE#373069 force old implementation of std::string for leak_cpp_interior test # KDE#375806 add suppression for helgrind/tests/tc22_exit_w_lock # KDE#372195 Power PC, xxsel instruction is not always recognized. |