]> granicus.if.org Git - strace/commitdiff
x32: update io_{setup,submit} syscalls
authorMike Frysinger <vapier@gentoo.org>
Fri, 1 Aug 2014 11:00:24 +0000 (07:00 -0400)
committerDmitry V. Levin <ldv@altlinux.org>
Fri, 1 Aug 2014 14:25:12 +0000 (14:25 +0000)
Starting in 3.16, these two syscalls have gotten their own entry
point for x32.  See linux 7fd44dacdd803c0bbf38bf478d51d280902bb0f1.

* linux/x32/syscallent.h: Change existing io_{setup,submit} to 64bit,
and add new entry points for x32 specifically.

linux/x32/syscallent.h

index e71524a86d98ff27756feba68ea29f80705f38eb..7059cbf55445d3b183af06b16036ac231e79d21a 100644 (file)
        { 3,    0,      sys_sched_setaffinity,  "sched_setaffinity" },/* 203 */
        { 3,    0,      sys_sched_getaffinity,  "sched_getaffinity" },/* 204 */
        { 1,    0,      printargs,              "64:set_thread_area" }, /* 205 */
-       { 2,    0,      sys_io_setup,           "io_setup"      }, /* 206 */
+       { 2,    0,      sys_io_setup,           "64:io_setup"   }, /* 206 */
        { 1,    0,      sys_io_destroy,         "io_destroy"    }, /* 207 */
        { 5,    0,      sys_io_getevents,       "io_getevents"  }, /* 208 */
-       { 3,    0,      sys_io_submit,          "io_submit"     }, /* 209 */
+       { 3,    0,      sys_io_submit,          "64:io_submit"  }, /* 209 */
        { 3,    0,      sys_io_cancel,          "io_cancel"     }, /* 210 */
        { 1,    0,      printargs,              "64:get_thread_area"    }, /* 211 */
        { 4,    0,      sys_lookup_dcookie,     "lookup_dcookie"}, /* 212 */
        { 6,    0,      sys_process_vm_writev,  "process_vm_writev" }, /* 540 */
        { 5,    TN,     sys_setsockopt,         "setsockopt"    },  /* 541 */
        { 5,    TN,     sys_getsockopt,         "getsockopt"    },  /* 542 */
+       { 2,    0,      sys_io_setup,           "io_setup"      }, /* 543 */
+       { 3,    0,      sys_io_submit,          "io_submit"     }, /* 544 */