]> granicus.if.org Git - strace/commitdiff
s390x: adjust some syscall entries
authorDmitry V. Levin <ldv@altlinux.org>
Mon, 12 Jan 2015 17:17:14 +0000 (17:17 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Mon, 12 Jan 2015 17:32:16 +0000 (17:32 +0000)
According to linux/arch/s390/include/uapi/asm/unistd.h, readdir is
defined both on s390 and s390x, while getrlimit, _llseek, sendfile64,
and fadvise64_64 are defined on s390 only.

* linux/s390x/syscallent.h (readdir): Add.
(getrlimit, _llseek, sendfile64, fadvise64_64): Remove.

linux/s390x/syscallent.h

index 71800994aa676039bab93099e138acc034cdfc3f..934cdb0beb6c968abe1dff969f91543a66deb764 100644 (file)
 [ 73] = { 1,   TS,             sys_sigpending,                 "sigpending"            },
 [ 74] = { 2,   0,              sys_sethostname,                "sethostname"           },
 [ 75] = { 2,   0,              sys_setrlimit,                  "setrlimit"             },
-[ 76] = { 2,   0,              sys_getrlimit,                  "getrlimit"             },
+[ 76] = { },
 [ 77] = { 2,   0,              sys_getrusage,                  "getrusage"             },
 [ 78] = { 2,   0,              sys_gettimeofday,               "gettimeofday"          },
 [ 79] = { 2,   0,              sys_settimeofday,               "settimeofday"          },
 [ 86] = { 1,   TF,             sys_uselib,                     "uselib"                },
 [ 87] = { 2,   TF,             sys_swapon,                     "swapon"                },
 [ 88] = { 4,   0,              sys_reboot,                     "reboot"                },
-[ 89] = { },
+[ 89] = { 3,   TD,             sys_readdir,                    "readdir"               },
 [ 90] = { 1,   TD|TM|SI,       sys_old_mmap,                   "mmap"                  },
 [ 91] = { 2,   TM|SI,          sys_munmap,                     "munmap"                },
 [ 92] = { 2,   TF,             sys_truncate,                   "truncate"              },
 [135] = { 3,   0,              sys_sysfs,                      "sysfs"                 },
 [136] = { 1,   0,              sys_personality,                "personality"           },
 [137] = { 5,   0,              sys_afs_syscall,                "afs_syscall"           },
-[138 ... 139] = { },
-[140] = { 5,   TD,             sys_llseek,                     "_llseek"               },
+[138 ... 140] = { },
 [141] = { 3,   TD,             sys_getdents,                   "getdents"              },
 [142] = { 5,   TD,             sys_select,                     "select"                },
 [143] = { 2,   TD,             sys_flock,                      "flock"                 },
 [220] = { 3,   TD,             sys_getdents64,                 "getdents64"            },
 [221] = { },
 [222] = { 3,   TD,             sys_readahead,                  "readahead"             },
-[223] = { 4,   TD|TN,          sys_sendfile64,                 "sendfile64"            },
+[223] = { },
 [224] = { 5,   TF,             sys_setxattr,                   "setxattr"              },
 [225] = { 5,   TF,             sys_setxattr,                   "lsetxattr"             },
 [226] = { 5,   TD,             sys_fsetxattr,                  "fsetxattr"             },
 [261] = { 2,   0,              sys_clock_getres,               "clock_getres"          },
 [262] = { 4,   0,              sys_clock_nanosleep,            "clock_nanosleep"       },
 [263] = { 5,   0,              sys_vserver,                    "vserver"               },
-[264] = { 4,   TD,             sys_fadvise64,                  "fadvise64_64"          },
+[264] = { },
 [265] = { 3,   TF,             sys_statfs64,                   "statfs64"              },
 [266] = { 3,   TD,             sys_fstatfs64,                  "fstatfs64"             },
 [267] = { 5,   TM|SI,          sys_remap_file_pages,           "remap_file_pages"      },