]> granicus.if.org Git - strace/commitdiff
2003-01-14 Roland McGrath <roland@redhat.com>
authorRoland McGrath <roland@redhat.com>
Tue, 14 Jan 2003 09:46:23 +0000 (09:46 +0000)
committerRoland McGrath <roland@redhat.com>
Tue, 14 Jan 2003 09:46:23 +0000 (09:46 +0000)
* defs.h [_LARGEFILE64_SOURCE] (_LFS64_LARGEFILE): Define it.
* linux/syscallent.h: Use sys_getdents64, sys_truncate64,
sys_ftruncate64, instead of printargs, for those syscalls.

linux/syscallent.h

index 137a72766924c39e6c3b2c148a115e61f5eceec3..5aa5f709b0c1ba06e7e2e2af08d31cd85c1f4bf4 100644 (file)
        { 0,    TP,     sys_vfork,              "vfork"         }, /* 190 */
        { 2,    0,      printargs,              "getrlimit"     }, /* 191 */
        { 6,    0,      sys_mmap,               "mmap2"         }, /* 192 */
-       { 2,    TF,     printargs,              "truncate64"    }, /* 193 */
-       { 2,    TF,     printargs,              "ftruncate64"   }, /* 194 */
+       { 2,    TF,     sys_truncate64,         "truncate64"    }, /* 193 */
+       { 2,    TF,     sys_ftruncate64,        "ftruncate64"   }, /* 194 */
        { 2,    TF,     sys_stat64,             "stat64"        }, /* 195 */
        { 2,    TF,     sys_lstat64,            "lstat64"       }, /* 196 */
        { 2,    TF,     sys_fstat64,            "fstat64"       }, /* 197 */
        { 2,    TF,     sys_pivotroot,          "pivot_root"    }, /* 217 */
        { 3,    0,      printargs,              "mincore"       }, /* 218 */
        { 3,    0,      sys_madvise,            "madvise"       }, /* 219 */
-       { 4,    0,      printargs,              "getdents64"    }, /* 220 */
+       { 4,    0,      sys_getdents64,         "getdents64"    }, /* 220 */
        { 3,    0,      sys_fcntl,              "fcntl64"       }, /* 221 */
        { 4,    0,      printargs,              "SYS_222"       }, /* 222 */
 /*TODO*/{ 5,   0,      printargs,              "security"      }, /* 223 */