]> git.pld-linux.org Git - packages/strace.git/blobdiff - strace-getdents64.patch
- updated to 4.5.10
[packages/strace.git] / strace-getdents64.patch
index 30d05833b8ec0c21c98f9c6b685c81f8ca814567..37be911c04b49e3be15026b30e784a535bff8d1a 100644 (file)
@@ -1,86 +1,23 @@
-diff -Nur strace-4.4.orig/desc.c strace-4.4/desc.c
---- strace-4.4.orig/desc.c     Tue Mar 13 00:29:05 2001
-+++ strace-4.4/desc.c  Fri Oct 19 16:35:23 2001
-@@ -139,6 +139,11 @@
- #ifdef F_UNSHARE
-       { F_UNSHARE,    "F_UNSHARE"     },
- #endif
-+#if defined(F_GETLK64) && F_GETLK64 != F_GETLK
-+      { F_GETLK64,    "F_GETLK64"     },
-+      { F_SETLK64,    "F_SETLK64"     },
-+      { F_SETLKW64,   "F_SETLKW64"    },
-+#endif
-       { 0,            NULL            },
- };
-@@ -335,6 +340,12 @@
-               default:
-                       tprintf(", %#lx", tcp->u_arg[2]);
-                       break;
-+#if defined(F_GETLK64) && F_GETLK64 != F_GETLK
-+              case F_SETLK64: case F_SETLKW64:
-+                      tprintf(", ");
-+                      printflock64(tcp, tcp->u_arg[2], 0);
-+#endif
-+                      break;
-               }
-       }
-       return 0;
 diff -Nur strace-4.4.orig/linux/alpha/syscallent.h strace-4.4/linux/alpha/syscallent.h
 --- strace-4.4.orig/linux/alpha/syscallent.h   Fri Oct 19 16:35:06 2001
 +++ strace-4.4/linux/alpha/syscallent.h        Fri Oct 19 16:35:23 2001
-@@ -406,3 +406,4 @@
+@@ -405,7 +405,7 @@
        { 2,    TF,     sys_pivot_root,         "pivot_root"            }, /* 374 */
        { 3,    0,      sys_mincore,            "mincore"               }, /* 375 */
        { 3,    0,      printargs,              "pciconfig_iobase"      }, /* 376 */
-+      { 3,    0,      sys_getdents64,         "getdents64"            }, /* 377 */  
-diff -Nur strace-4.4.orig/linux/sparc/syscall.h strace-4.4/linux/sparc/syscall.h
---- strace-4.4.orig/linux/sparc/syscall.h      Fri Oct 19 16:35:06 2001
-+++ strace-4.4/linux/sparc/syscall.h   Fri Oct 19 16:35:23 2001
-@@ -87,7 +87,7 @@
- /* 2.2 file system */
- int   sys_chdir(),sys_chroot();
- int   sys_fchdir(),sys_fchroot();
--int   sys_mkdir(),sys_rmdir(),sys_getdirentries(), sys_getdents(),sys_readdir();
-+int   sys_mkdir(),sys_rmdir(),sys_getdirentries(), sys_getdents(),sys_getdents64(),sys_readdir();
- int   sys_creat(),sys_open(),sys_mknod(),sys_unlink(),sys_stat(),sys_fstat(),sys_lstat();
- int   sys_chown(),sys_fchown(),sys_chmod(),sys_fchmod(),sys_utimes();
- int   sys_link(),sys_symlink(),sys_readlink(),sys_rename();
-diff -Nur strace-4.4.orig/linux/sparc/syscallent.h strace-4.4/linux/sparc/syscallent.h
---- strace-4.4.orig/linux/sparc/syscallent.h   Fri Oct 19 16:35:06 2001
-+++ strace-4.4/linux/sparc/syscallent.h        Fri Oct 19 16:37:21 2001
-@@ -153,8 +153,8 @@
+-      { 4,    0,      sys_getdents64,         "getdents64"            }, /* 377 */
++      { 3,    0,      sys_getdents64,         "getdents64"            }, /* 377 */
+       { 0,    0,      printargs,              "gettid"                }, /* 378 */
+       { 4,    0,      sys_readahead,          "readahead"             }, /* 379 */
+       { 5,    0,      printargs,              "SYS_380"               }, /* 380 */
+--- strace-4.5.6/linux/sparc/syscallent.h.orig 2004-07-26 08:24:07.836003360 +0200
++++ strace-4.5.6/linux/sparc/syscallent.h      2004-07-26 08:26:53.960748560 +0200
+@@ -152,7 +152,7 @@
        { 4,    TN,     sys_getmsg,     "getmsg" },             /* 151 */
        { 4,    TN,     sys_putmsg,     "putmsg" },             /* 152 */
        { 3,    0,      sys_poll,       "poll" },               /* 153 */
--      { 4,    0,      printargs,      "getdents64" },         /* 154 */
--      { 1,    0,      printargs,      "nfssvc" },             /* 155 */
+-      { 4,    0,      sys_getdents64, "getdents64" },         /* 154 */
 +      { 3,    0,      sys_getdents64, "getdents64" },         /* 154 */
-+      { 3,    0,      sys_fcntl,      "fcntl64" },            /* 155 */
+       { 3,    0,      sys_fcntl,      "fcntl64" },            /* 155 */
        { 4,    0,      printargs,      "getdirentries" },      /* 156 */
        { 2,    TF,     sys_statfs,     "statfs" },             /* 157 */
-       { 2,    0,      sys_fstatfs,    "fstatfs" },            /* 158 */
-diff -Nur strace-4.4.orig/linux/syscall.h strace-4.4/linux/syscall.h
---- strace-4.4.orig/linux/syscall.h    Fri Oct 19 16:35:06 2001
-+++ strace-4.4/linux/syscall.h Fri Oct 19 16:35:23 2001
-@@ -69,7 +69,7 @@
- int sys_getpgid(), sys_fchdir(), sys_bdflush();
- int sys_sysfs(), sys_personality(), sys_afs_syscall();
- int sys_setfsuid(), sys_setfsgid(), sys_llseek();
--int sys_getdents(), sys_flock(), sys_msync();
-+int sys_getdents(), sys_getdents64(), sys_flock(), sys_msync();
- int sys_readv(), sys_writev(), sys_select();
- int sys_getsid(), sys_fdatasync(), sys_sysctl();
- int sys_mlock(), sys_munlock(), sys_mlockall(), sys_munlockall(), sys_madvise();
-diff -Nur strace-4.4.orig/linux/syscallent.h strace-4.4/linux/syscallent.h
---- strace-4.4.orig/linux/syscallent.h Fri Oct 19 16:35:06 2001
-+++ strace-4.4/linux/syscallent.h      Fri Oct 19 16:36:24 2001
-@@ -266,7 +266,7 @@
-       { 2,    TF,     sys_pivotroot,          "pivot_root"    }, /* 217 */
-       { 3,    0,      sys_mincore,            "mincore"       }, /* 218 */
-       { 3,    0,      sys_madvise,            "madvise"       }, /* 219 */
--      { 4,    0,      printargs,              "getdents64"    }, /* 220 */
-+      { 3,    0,      sys_getdents64,         "getdents64"    }, /* 220 */
-       { 3,    0,      sys_fcntl,              "fcntl64"       }, /* 221 */
-       { 4,    0,      printargs,              "SYS_222"       }, /* 222 */
-       { 4,    0,      printargs,              "SYS_223"       }, /* 223 */
This page took 0.055759 seconds and 4 git commands to generate.