]> granicus.if.org Git - strace/commitdiff
2005-02-01 Roland McGrath <roland@redhat.com>
authorRoland McGrath <roland@redhat.com>
Wed, 2 Feb 2005 04:16:58 +0000 (04:16 +0000)
committerRoland McGrath <roland@redhat.com>
Wed, 2 Feb 2005 04:16:58 +0000 (04:16 +0000)
* process.c [LINUX] [X86_64] (sys_arch_prctl): New function.
* linux/syscall.h: Declare it.
* linux/x86_64/syscallent.h: Use it.
Part of RH#142667.
* linux/syscallent.h: Use sys_mincore instead of printargs.
* linux/x86_64/syscallent.h: Likewise.  Also use sys_getrlimit,
sys_semtimedop, sys_umount2.
Part of RH#142667.

linux/x86_64/syscallent.h

index 646c1aef8668d336025ea444ca01eabe5c0aaa25..bbe6526d5c55c945dcc5345d37622b766cf04238 100644 (file)
@@ -25,7 +25,7 @@
        { 0,    0,      sys_sched_yield,        "sched_yield"},  /* 24 */
        { 4,    0,      sys_mremap,             "mremap"        },  /* 25 */
        { 3,    0,      sys_msync,              "msync"         },  /* 26 */
-       { 3,    0,      printargs,              "mincore"       },  /* 27 */
+       { 3,    0,      sys_mincore,            "mincore"       },  /* 27 */
        { 3,    0,      sys_madvise,            "madvise"       },  /* 28 */
        { 4,    TI,     sys_shmget,             "shmget"        },  /* 29 */
        { 4,    TI,     sys_shmat,              "shmat"         },  /* 30 */
@@ -95,7 +95,7 @@
        { 3,    TF,     sys_chown,              "lchown"        },  /* 94 */
        { 1,    0,      sys_umask,              "umask"         },  /* 95 */
        { 2,    0,      sys_gettimeofday,       "gettimeofday"  },  /* 96 */
-       { 2,    0,      printargs,              "getrlimit"     },  /* 97 */
+       { 2,    0,      sys_getrlimit,          "getrlimit"     },  /* 97 */
        { 2,    0,      sys_getrusage,          "getrusage"     },  /* 98 */
        { 1,    0,      sys_sysinfo,            "sysinfo"       },  /* 99 */
        { 1,    0,      sys_times,              "times"         },  /* 100 */
        { 2,    TF,     sys_pivotroot,          "pivot_root"    },  /* 155 */
        { 1,    0,      sys_sysctl,             "_sysctl"       },  /* 156 */
        { 5,    0,      printargs,              "prctl"         },  /* 157 */
-       { 2,    0,      printargs,              "arch_prctl" }, /* 158 */
+       { 2,    TP,     sys_arch_prctl,         "arch_prctl"    },  /* 158 */
        { 1,    0,      sys_adjtimex,           "adjtimex"      },  /* 159 */
        { 2,    0,      sys_setrlimit,          "setrlimit"     },  /* 160 */
        { 1,    TF,     sys_chroot,             "chroot"        },  /* 161 */
        { 1,    TF,     sys_acct,               "acct"          },  /* 163 */
        { 2,    0,      sys_settimeofday,       "settimeofday"  },  /* 164 */
        { 5,    TF,     sys_mount,              "mount"         },  /* 165 */
-       { 3,    0,      printargs,              "umount2"       },  /* 166 */
+       { 2,    TF,     sys_umount2,            "umount"        }, /* 166 */
        { 1,    TF,     sys_swapon,             "swapon"        },  /* 167 */
        { 1,    0,      sys_swapoff,            "swapoff"       },  /* 168 */
        { 3,    0,      sys_reboot,             "reboot"        },  /* 169 */
        { 4,    0,      sys_getdents64,         "getdents64"    }, /* 217 */
        { 1,    0,      printargs,              "set_tid_address"}, /* 218 */
        { 5,    0,      printargs,              "restart_syscall"}, /* 219 */
-       { 5,    0,      printargs,              "semtimedop"    }, /* 220 */
+       { 5,    TI,     sys_semtimedop,         "semtimedop"    }, /* 220 */
        { 4,    TF,     sys_fadvise64_64,       "fadvise64"     }, /* 221 */
        { 3,    0,      sys_timer_create,       "timer_create"  }, /* 222 */
        { 4,    0,      sys_timer_settime,      "timer_settime" }, /* 223 */