|
From: Michael P. <md...@tr...> - 2005-05-08 00:59:26
|
The following patch enables the amd64-linux epoll_*() syscalls, which
are used by one app I regularly run under valgrind on x86-linux. The
choices of LINXY() vs LINX_() are copied from x86-linux/syscalls.c Is
anything else (test cases, etc) required for this kind of patch to go
in?
Michael Poole
Index: coregrind/amd64-linux/syscalls.c
===================================================================
--- coregrind/amd64-linux/syscalls.c (revision 3628)
+++ coregrind/amd64-linux/syscalls.c (working copy)
@@ -1156,7 +1156,7 @@
LINXY(__NR_io_cancel, sys_io_cancel), // 210
// (__NR_get_thread_area, sys_ni_syscall), // 211
// (__NR_lookup_dcookie, sys_lookup_dcookie), // 212
- // (__NR_epoll_create, sys_epoll_create), // 213
+ LINXY(__NR_epoll_create, sys_epoll_create), // 213
// (__NR_epoll_ctl_old, sys_ni_syscall), // 214
// (__NR_epoll_wait_old, sys_ni_syscall), // 215
@@ -1179,8 +1179,8 @@
// (__NR_clock_nanosleep, sys_clock_nanosleep),// 230
LINX_(__NR_exit_group, sys_exit_group), // 231
- // (__NR_epoll_wait, sys_epoll_wait), // 232
- // (__NR_epoll_ctl, sys_epoll_ctl), // 233
+ LINXY(__NR_epoll_wait, sys_epoll_wait), // 232
+ LINX_(__NR_epoll_ctl, sys_epoll_ctl), // 233
LINXY(__NR_tgkill, sys_tgkill), // 234
// (__NR_utimes, sys_utimes), // 235
|
|
From: Tom H. <to...@co...> - 2005-05-08 09:42:52
|
In message <87b...@tr...>
Michael Poole <md...@tr...> wrote:
> The following patch enables the amd64-linux epoll_*() syscalls, which
> are used by one app I regularly run under valgrind on x86-linux. The
> choices of LINXY() vs LINX_() are copied from x86-linux/syscalls.c Is
> anything else (test cases, etc) required for this kind of patch to go
> in?
Committed, thanks.
Tom
--
Tom Hughes (to...@co...)
http://www.compton.nu/
|