summaryrefslogtreecommitdiffstats
path: root/package/strace/strace-undef-syscall.patch
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2005-08-09 07:53:40 +0000
committerEric Andersen <andersen@codepoet.org>2005-08-09 07:53:40 +0000
commit0654846d23565f25b2fc8a87e7541c2de0bf4607 (patch)
tree7989a75f31d97914451d5cd1eaebf20ffaa3b528 /package/strace/strace-undef-syscall.patch
parent9b8c07d638de5beaa0f62891ff25ccee89a225a7 (diff)
downloadbuildroot-novena-0654846d23565f25b2fc8a87e7541c2de0bf4607.tar.gz
buildroot-novena-0654846d23565f25b2fc8a87e7541c2de0bf4607.zip
Make strace behave for arm, which for 2.4.x lacks __NR_exit_group
Diffstat (limited to 'package/strace/strace-undef-syscall.patch')
-rw-r--r--package/strace/strace-undef-syscall.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/package/strace/strace-undef-syscall.patch b/package/strace/strace-undef-syscall.patch
new file mode 100644
index 000000000..410e499d9
--- /dev/null
+++ b/package/strace/strace-undef-syscall.patch
@@ -0,0 +1,15 @@
+--- strace-4.5.12/linux/syscallent.h.orig 2005-08-09 01:48:54.000000000 -0600
++++ strace-4.5.12/linux/syscallent.h 2005-08-09 01:50:23.000000000 -0600
+@@ -298,7 +298,11 @@
+ { 3, 0, sys_io_cancel, "io_cancel" }, /* 249 */
+ { 5, TF, 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, 0, sys_epoll_ctl, "epoll_ctl" }, /* 255 */