]> git.pld-linux.org Git - packages/strace.git/blame - strace-getdents64.patch
- restored pre-2.6 VM_ sysctls (requires latest gkh to compile)
[packages/strace.git] / strace-getdents64.patch
CommitLineData
f90d9891
JB
1diff -Nur strace-4.4.orig/desc.c strace-4.4/desc.c
2--- strace-4.4.orig/desc.c Tue Mar 13 00:29:05 2001
3+++ strace-4.4/desc.c Fri Oct 19 16:35:23 2001
fcc8ff10 4@@ -335,6 +335,12 @@
ed799d14
AM
5 default:
6 tprintf(", %#lx", tcp->u_arg[2]);
f90d9891 7 break;
ed799d14
AM
8+#if defined(F_GETLK64) && F_GETLK64 != F_GETLK
9+ case F_SETLK64: case F_SETLKW64:
10+ tprintf(", ");
11+ printflock64(tcp, tcp->u_arg[2], 0);
12+#endif
f90d9891 13+ break;
ed799d14
AM
14 }
15 }
f90d9891 16 return 0;
f90d9891
JB
17diff -Nur strace-4.4.orig/linux/alpha/syscallent.h strace-4.4/linux/alpha/syscallent.h
18--- strace-4.4.orig/linux/alpha/syscallent.h Fri Oct 19 16:35:06 2001
19+++ strace-4.4/linux/alpha/syscallent.h Fri Oct 19 16:35:23 2001
4add37e9 20@@ -405,7 +405,7 @@
ed799d14
AM
21 { 2, TF, sys_pivot_root, "pivot_root" }, /* 374 */
22 { 3, 0, sys_mincore, "mincore" }, /* 375 */
23 { 3, 0, printargs, "pciconfig_iobase" }, /* 376 */
4add37e9 24- { 4, 0, sys_getdents64, "getdents64" }, /* 377 */
25+ { 3, 0, sys_getdents64, "getdents64" }, /* 377 */
26 { 0, 0, printargs, "gettid" }, /* 378 */
27 { 4, 0, sys_readahead, "readahead" }, /* 379 */
28 { 5, 0, printargs, "SYS_380" }, /* 380 */
8756befb 29--- strace-4.4.94/linux/sparc/syscallent.h.orig Fri Apr 4 09:08:08 2003
30+++ strace-4.4.94/linux/sparc/syscallent.h Fri Apr 4 09:09:57 2003
31@@ -152,8 +152,8 @@
de4e0a62
JR
32 { 4, TN, sys_getmsg, "getmsg" }, /* 151 */
33 { 4, TN, sys_putmsg, "putmsg" }, /* 152 */
34 { 3, 0, sys_poll, "poll" }, /* 153 */
8756befb 35- { 4, 0, sys_getdents64, "getdents64" }, /* 154 */
de4e0a62 36- { 1, 0, printargs, "nfssvc" }, /* 155 */
8756befb 37+ { 3, 0, sys_getdents64, "getdents64" }, /* 154 */
38+ { 3, 0, sys_fcntl, "fcntl64" }, /* 155 */
de4e0a62
JR
39 { 4, 0, printargs, "getdirentries" }, /* 156 */
40 { 2, TF, sys_statfs, "statfs" }, /* 157 */
41 { 2, 0, sys_fstatfs, "fstatfs" }, /* 158 */
This page took 0.102838 seconds and 4 git commands to generate.