]> granicus.if.org Git - strace/commitdiff
alpha, ia64, mips, sh, sh64: fix the number of pipe syscall arguments
authorDmitry V. Levin <ldv@altlinux.org>
Fri, 12 Feb 2016 19:44:29 +0000 (19:44 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Sat, 13 Feb 2016 00:57:00 +0000 (00:57 +0000)
On alpha, ia64, mips, sh, sh64, sparc, and sparc64 architectures
pipe syscall does not take arguments.

* linux/alpha/syscallent.h (pipe): Change nargs to 0.
* linux/ia64/syscallent.h (pipe): Likewise.
* linux/mips/syscallent-n32.h (pipe): Likewise.
* linux/mips/syscallent-n64.h (pipe): Likewise.
* linux/mips/syscallent-o32.h (pipe): Likewise.
* linux/sh/syscallent.h (pipe): Likewise.
* linux/sh64/syscallent.h (pipe): Likewise.

linux/alpha/syscallent.h
linux/ia64/syscallent.h
linux/mips/syscallent-n32.h
linux/mips/syscallent-n64.h
linux/mips/syscallent-o32.h
linux/sh/syscallent.h
linux/sh64/syscallent.h

index c622e618d763105ac8eb82094024390cff78ea3d..6cd81eab65b9f92f9ff2c76b56f6c03aa1ecaf5b 100644 (file)
@@ -68,7 +68,7 @@
 [ 39] = { 2,   0,              SEN(setpgid),                   "setpgid"               },
 [ 40] = { 5,   0,              SEN(printargs),                 "osf_old_lstat"         }, /*not implemented */
 [ 41] = { 1,   TD,             SEN(dup),                       "dup"                   },
-[ 42] = { 1,   TD,             SEN(pipe),                      "pipe"                  },
+[ 42] = { 0,   TD,             SEN(pipe),                      "pipe"                  },
 [ 43] = { 4,   0,              SEN(printargs),                 "osf_set_program_attributes"    },
 [ 44] = { 5,   0,              SEN(printargs),                 "osf_profil"            }, /*not implemented */
 [ 45] = { 3,   TD|TF,          SEN(open),                      "open"                  },
index c703aa195b678248e970b0d59fbe20684445179b..00f8d21508859172b77da9b17892cb75779093d0 100644 (file)
@@ -74,7 +74,7 @@
 [1055] = { 2,  TF,             SEN(mkdir),                     "mkdir"                 },
 [1056] = { 1,  TF,             SEN(rmdir),                     "rmdir"                 },
 [1057] = { 1,  TD,             SEN(dup),                       "dup"                   },
-[1058] = { 1,  TD,             SEN(pipe),                      "pipe"                  },
+[1058] = { 0,  TD,             SEN(pipe),                      "pipe"                  },
 [1059] = { 1,  0,              SEN(times),                     "times"                 },
 [1060] = { 1,  TM|SI,          SEN(brk),                       "brk"                   },
 [1061] = { 1,  0,              SEN(setgid),                    "setgid"                },
index 85e8c7884e3cf44b3bc028afcea5a3d42be31929..1f6f0dd5bcdc2e6513e9c269d4a9b5dd42904612 100644 (file)
@@ -21,7 +21,7 @@
 [6018] = { 3,  TD,             SEN(readv),                     "readv"                 },
 [6019] = { 3,  TD,             SEN(writev),                    "writev"                },
 [6020] = { 2,  TF,             SEN(access),                    "access"                },
-[6021] = { 1,  TD,             SEN(pipe),                      "pipe"                  },
+[6021] = { 0,  TD,             SEN(pipe),                      "pipe"                  },
 [6022] = { 5,  TD,             SEN(select),                    "_newselect"            },
 [6023] = { 0,  0,              SEN(sched_yield),               "sched_yield"           },
 [6024] = { 5,  TM|SI,          SEN(mremap),                    "mremap"                },
index 7341abc99a30f0db3f8406be2d7de22980ae6e90..2d64193353e7ed7df95af84333ff81d136fbb7e8 100644 (file)
@@ -21,7 +21,7 @@
 [5018] = { 3,  TD,             SEN(readv),                     "readv"                 },
 [5019] = { 3,  TD,             SEN(writev),                    "writev"                },
 [5020] = { 2,  TF,             SEN(access),                    "access"                },
-[5021] = { 1,  TD,             SEN(pipe),                      "pipe"                  },
+[5021] = { 0,  TD,             SEN(pipe),                      "pipe"                  },
 [5022] = { 5,  TD,             SEN(select),                    "_newselect"            },
 [5023] = { 0,  0,              SEN(sched_yield),               "sched_yield"           },
 [5024] = { 5,  TM|SI,          SEN(mremap),                    "mremap"                },
index 79c2cee7dad94d0eb8c38e223520f83808f28fe0..6e9113d186627337461a2999947cab8103b107b1 100644 (file)
@@ -42,7 +42,7 @@
 [4039] = { 2,  TF,             SEN(mkdir),                     "mkdir"                 },
 [4040] = { 1,  TF,             SEN(rmdir),                     "rmdir"                 },
 [4041] = { 1,  TD,             SEN(dup),                       "dup"                   },
-[4042] = { 1,  TD,             SEN(pipe),                      "pipe"                  },
+[4042] = { 0,  TD,             SEN(pipe),                      "pipe"                  },
 [4043] = { 1,  0,              SEN(times),                     "times"                 },
 [4044] = { 0,  0,              SEN(prof),                      "prof"                  },
 [4045] = { 1,  TM|SI,          SEN(brk),                       "brk"                   },
index d3ece3ff0b1e279995d3084574420fdc9f911677..7eea1a07b815d895dffbd30a15076b7eaaef7818 100644 (file)
@@ -70,7 +70,7 @@
 [ 39] = { 2,   TF,             SEN(mkdir),                     "mkdir"                 },
 [ 40] = { 1,   TF,             SEN(rmdir),                     "rmdir"                 },
 [ 41] = { 1,   TD,             SEN(dup),                       "dup"                   },
-[ 42] = { 1,   TD,             SEN(pipe),                      "pipe"                  },
+[ 42] = { 0,   TD,             SEN(pipe),                      "pipe"                  },
 [ 43] = { 1,   0,              SEN(times),                     "times"                 },
 [ 44] = { 0,   0,              SEN(prof),                      "prof"                  },
 [ 45] = { 1,   TM|SI,          SEN(brk),                       "brk"                   },
index df6b1b95aec5f5d6a33e071fa343bf62f0a25694..5ec1647b42cc1bc4ad97c6cca228caf5b8d82952 100644 (file)
@@ -68,7 +68,7 @@
 [ 39] = { 2,   TF,             SEN(mkdir),                     "mkdir"                 },
 [ 40] = { 1,   TF,             SEN(rmdir),                     "rmdir"                 },
 [ 41] = { 1,   TD,             SEN(dup),                       "dup"                   },
-[ 42] = { 1,   TD,             SEN(pipe),                      "pipe"                  },
+[ 42] = { 0,   TD,             SEN(pipe),                      "pipe"                  },
 [ 43] = { 1,   0,              SEN(times),                     "times"                 },
 [ 44] = { 0,   0,              SEN(prof),                      "prof"                  },
 [ 45] = { 1,   TM|SI,          SEN(brk),                       "brk"                   },