From: Dmitry V. Levin Date: Fri, 12 Feb 2016 19:44:29 +0000 (+0000) Subject: alpha, ia64, mips, sh, sh64: fix the number of pipe syscall arguments X-Git-Tag: v4.12~562 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a1e822870e99957027b57364a82f826eb4fc628d;p=strace alpha, ia64, mips, sh, sh64: fix the number of pipe syscall arguments 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. --- diff --git a/linux/alpha/syscallent.h b/linux/alpha/syscallent.h index c622e618..6cd81eab 100644 --- a/linux/alpha/syscallent.h +++ b/linux/alpha/syscallent.h @@ -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" }, diff --git a/linux/ia64/syscallent.h b/linux/ia64/syscallent.h index c703aa19..00f8d215 100644 --- a/linux/ia64/syscallent.h +++ b/linux/ia64/syscallent.h @@ -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" }, diff --git a/linux/mips/syscallent-n32.h b/linux/mips/syscallent-n32.h index 85e8c788..1f6f0dd5 100644 --- a/linux/mips/syscallent-n32.h +++ b/linux/mips/syscallent-n32.h @@ -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" }, diff --git a/linux/mips/syscallent-n64.h b/linux/mips/syscallent-n64.h index 7341abc9..2d641933 100644 --- a/linux/mips/syscallent-n64.h +++ b/linux/mips/syscallent-n64.h @@ -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" }, diff --git a/linux/mips/syscallent-o32.h b/linux/mips/syscallent-o32.h index 79c2cee7..6e9113d1 100644 --- a/linux/mips/syscallent-o32.h +++ b/linux/mips/syscallent-o32.h @@ -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" }, diff --git a/linux/sh/syscallent.h b/linux/sh/syscallent.h index d3ece3ff..7eea1a07 100644 --- a/linux/sh/syscallent.h +++ b/linux/sh/syscallent.h @@ -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" }, diff --git a/linux/sh64/syscallent.h b/linux/sh64/syscallent.h index df6b1b95..5ec1647b 100644 --- a/linux/sh64/syscallent.h +++ b/linux/sh64/syscallent.h @@ -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" },