summaryrefslogtreecommitdiff
path: root/patches/strace/4.5.18/160-undef-syscall.patch
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2008-10-20 20:09:14 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2008-10-20 20:09:14 (GMT)
commitdf6440c35e37f95f61ca069d9ec4a93758bb7bce (patch)
tree8904a50dc77b6d5f5eb3ec014aa115779e5a36a5 /patches/strace/4.5.18/160-undef-syscall.patch
parent102505af38982c29f26321cdf3bfc5cac2448041 (diff)
Add strace 4.5.18:
- propagated the 4.5.16 patch set - EXPERIMENTAL, as it does not build on at least ARM /trunk/patches/strace/4.5.18/160-undef-syscall.patch | 22 0 22 0 ---------------------- /trunk/config/debug/strace.in | 6 6 0 0 ++++++ 2 files changed, 6 insertions(+), 22 deletions(-)
Diffstat (limited to 'patches/strace/4.5.18/160-undef-syscall.patch')
-rw-r--r--patches/strace/4.5.18/160-undef-syscall.patch42
1 files changed, 42 insertions, 0 deletions
diff --git a/patches/strace/4.5.18/160-undef-syscall.patch b/patches/strace/4.5.18/160-undef-syscall.patch
new file mode 100644
index 0000000..c7dcb07
--- /dev/null
+++ b/patches/strace/4.5.18/160-undef-syscall.patch
@@ -0,0 +1,42 @@
+diff -dur strace-4.5.16.orig/linux/syscallent.h strace-4.5.16/linux/syscallent.h
+--- strace-4.5.16.orig/linux/syscallent.h 2006-10-16 03:17:52.000000000 +0200
++++ strace-4.5.16/linux/syscallent.h 2007-07-14 19:30:16.000000000 +0200
+@@ -130,7 +130,11 @@
+ { 2, TF, sys_statfs, "statfs" }, /* 99 */
+ { 2, TD, sys_fstatfs, "fstatfs" }, /* 100 */
+ { 3, 0, sys_ioperm, "ioperm" }, /* 101 */
+- { 2, TD, sys_socketcall, "socketcall", SYS_socketcall }, /* 102 */
++ { 2, TD, sys_socketcall, "socketcall"
++#ifdef __NR_socketcall
++ , SYS_socketcall
++#endif
++ }, /* 102 */
+ { 3, 0, sys_syslog, "syslog" }, /* 103 */
+ { 3, 0, sys_setitimer, "setitimer" }, /* 104 */
+ { 2, 0, sys_getitimer, "getitimer" }, /* 105 */
+@@ -145,7 +149,11 @@
+ { 4, TP, sys_wait4, "wait4", SYS_wait4 }, /* 114 */
+ { 1, 0, sys_swapoff, "swapoff" }, /* 115 */
+ { 1, 0, sys_sysinfo, "sysinfo" }, /* 116 */
+- { 6, 0, sys_ipc, "ipc", SYS_ipc }, /* 117 */
++ { 6, 0, sys_ipc, "ipc"
++#ifdef __NR_ipc
++ , SYS_ipc
++#endif
++ }, /* 117 */
+ { 1, TD, sys_fsync, "fsync" }, /* 118 */
+ { 1, TS, sys_sigreturn, "sigreturn" }, /* 119 */
+ { 5, TP, sys_clone, "clone", SYS_clone }, /* 120 */
+@@ -282,7 +290,11 @@
+ { 3, 0, sys_io_cancel, "io_cancel" }, /* 249 */
+ { 5, 0, sys_fadvise64, "fadvise64" }, /* 250 */
+ { 5, 0, printargs, "SYS_251" }, /* 251 */
+- { 1, TP, sys_exit, "exit_group", __NR_exit_group }, /* 252 */
++ { 1, TP, sys_exit, "exit_group"
++#ifdef __NR_exit_group
++ , __NR_exit_group
++#endif
++ }, /* 252 */
+ { 4, 0, printargs, "lookup_dcookie"}, /* 253 */
+ { 1, 0, sys_epoll_create, "epoll_create" }, /* 254 */
+ { 4, TD, sys_epoll_ctl, "epoll_ctl" }, /* 255 */