From: Dmitry V. Levin Date: Sat, 10 Jan 2015 05:28:06 +0000 (+0300) Subject: Fix sched_setparam syscall entries X-Git-Tag: v4.10~222 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b9efc7d01a3e1d47d5cc1ac4a36dc57447245f55;p=strace Fix sched_setparam syscall entries * linux/aarch64/syscallent1.h (sched_setparam): Change nargs to 2. * linux/arm/syscallent.h (sched_setparam): Likewise. * linux/avr32/syscallent.h (sched_setparam): Likewise. * linux/bfin/syscallent.h (sched_setparam): Likewise. * linux/i386/syscallent.h (sched_setparam): Likewise. * linux/m68k/syscallent.h (sched_setparam): Likewise. * linux/microblaze/syscallent.h (sched_setparam): Likewise. * linux/s390/syscallent.h (sched_setparam): Likewise. * linux/s390x/syscallent.h (sched_setparam): Likewise. * linux/sh/syscallent.h (sched_setparam): Likewise. * linux/sh64/syscallent.h (sched_setparam): Likewise. * linux/tile/syscallent.h (sched_setparam): Likewise. * linux/tile/syscallent1.h (sched_setparam): Likewise. * linux/x32/syscallent.h (sched_setparam): Likewise. * linux/x86_64/syscallent.h (sched_setparam): Likewise. --- diff --git a/linux/aarch64/syscallent1.h b/linux/aarch64/syscallent1.h index b11ab10e..22ea9558 100644 --- a/linux/aarch64/syscallent1.h +++ b/linux/aarch64/syscallent1.h @@ -116,7 +116,7 @@ { 4, 0, sys_clock_nanosleep, "clock_nanosleep" }, /* 115 */ { 3, 0, sys_syslog, "syslog" }, /* 116 */ { 4, 0, sys_ptrace, "ptrace" }, /* 117 */ - { 0, 0, sys_sched_setparam, "sched_setparam" }, /* 118 */ + { 2, 0, sys_sched_setparam, "sched_setparam" }, /* 118 */ { 3, 0, sys_sched_setscheduler, "sched_setscheduler" }, /* 119 */ { 1, 0, sys_sched_getscheduler, "sched_getscheduler" }, /* 120 */ { 2, 0, sys_sched_getparam, "sched_getparam" }, /* 121 */ diff --git a/linux/arm/syscallent.h b/linux/arm/syscallent.h index 80c1c896..4d2184a1 100644 --- a/linux/arm/syscallent.h +++ b/linux/arm/syscallent.h @@ -180,7 +180,7 @@ { 2, TM, sys_munlock, "munlock" }, /* 151 */ { 1, TM, sys_mlockall, "mlockall" }, /* 152 */ { 0, TM, sys_munlockall, "munlockall" }, /* 153 */ - { 0, 0, sys_sched_setparam, "sched_setparam"}, /* 154 */ + { 2, 0, sys_sched_setparam, "sched_setparam"}, /* 154 */ { 2, 0, sys_sched_getparam, "sched_getparam"}, /* 155 */ { 3, 0, sys_sched_setscheduler, "sched_setscheduler"}, /* 156 */ { 1, 0, sys_sched_getscheduler, "sched_getscheduler"}, /* 157 */ diff --git a/linux/avr32/syscallent.h b/linux/avr32/syscallent.h index b47653ca..a9ebee0f 100644 --- a/linux/avr32/syscallent.h +++ b/linux/avr32/syscallent.h @@ -160,7 +160,7 @@ { 2, TM, sys_munlock, "munlock" }, /* 132 */ { 1, TM, sys_mlockall, "mlockall" }, /* 133 */ { 0, TM, sys_munlockall, "munlockall" }, /* 134 */ - { 0, 0, sys_sched_setparam, "sched_setparam"}, /* 135 */ + { 2, 0, sys_sched_setparam, "sched_setparam"}, /* 135 */ { 2, 0, sys_sched_getparam, "sched_getparam"}, /* 136 */ { 3, 0, sys_sched_setscheduler, "sched_setscheduler"}, /* 137 */ { 1, 0, sys_sched_getscheduler, "sched_getscheduler"}, /* 138 */ diff --git a/linux/bfin/syscallent.h b/linux/bfin/syscallent.h index 8200d44f..14b508dc 100644 --- a/linux/bfin/syscallent.h +++ b/linux/bfin/syscallent.h @@ -180,7 +180,7 @@ { 2, TM, sys_munlock, "munlock" }, /* 151 */ { 1, TM, sys_mlockall, "mlockall" }, /* 152 */ { 0, TM, sys_munlockall, "munlockall" }, /* 153 */ - { 0, 0, sys_sched_setparam, "sched_setparam" }, /* 154 */ + { 2, 0, sys_sched_setparam, "sched_setparam" }, /* 154 */ { 2, 0, sys_sched_getparam, "sched_getparam" }, /* 155 */ { 3, 0, sys_sched_setscheduler, "sched_setscheduler" }, /* 156 */ { 1, 0, sys_sched_getscheduler, "sched_getscheduler" }, /* 157 */ diff --git a/linux/i386/syscallent.h b/linux/i386/syscallent.h index ba991a5a..d4357387 100644 --- a/linux/i386/syscallent.h +++ b/linux/i386/syscallent.h @@ -180,7 +180,7 @@ { 2, TM, sys_munlock, "munlock" }, /* 151 */ { 1, TM, sys_mlockall, "mlockall" }, /* 152 */ { 0, TM, sys_munlockall, "munlockall" }, /* 153 */ - { 0, 0, sys_sched_setparam, "sched_setparam"}, /* 154 */ + { 2, 0, sys_sched_setparam, "sched_setparam"}, /* 154 */ { 2, 0, sys_sched_getparam, "sched_getparam"}, /* 155 */ { 3, 0, sys_sched_setscheduler, "sched_setscheduler"}, /* 156 */ { 1, 0, sys_sched_getscheduler, "sched_getscheduler"}, /* 157 */ diff --git a/linux/m68k/syscallent.h b/linux/m68k/syscallent.h index b267ca88..396794e2 100644 --- a/linux/m68k/syscallent.h +++ b/linux/m68k/syscallent.h @@ -180,7 +180,7 @@ { 2, TM, sys_munlock, "munlock" }, /* 151 */ { 1, TM, sys_mlockall, "mlockall" }, /* 152 */ { 0, TM, sys_munlockall, "munlockall" }, /* 153 */ - { 0, 0, sys_sched_setparam, "sched_setparam"}, /* 154 */ + { 2, 0, sys_sched_setparam, "sched_setparam"}, /* 154 */ { 2, 0, sys_sched_getparam, "sched_getparam"}, /* 155 */ { 3, 0, sys_sched_setscheduler, "sched_setscheduler"}, /* 156 */ { 1, 0, sys_sched_getscheduler, "sched_getscheduler"}, /* 157 */ diff --git a/linux/microblaze/syscallent.h b/linux/microblaze/syscallent.h index 2f50eaed..5f5368c7 100644 --- a/linux/microblaze/syscallent.h +++ b/linux/microblaze/syscallent.h @@ -180,7 +180,7 @@ { 2, TM, sys_munlock, "munlock" }, /* 151 */ { 1, TM, sys_mlockall, "mlockall" }, /* 152 */ { 0, TM, sys_munlockall, "munlockall" }, /* 153 */ - { 0, 0, sys_sched_setparam, "sched_setparam"}, /* 154 */ + { 2, 0, sys_sched_setparam, "sched_setparam"}, /* 154 */ { 2, 0, sys_sched_getparam, "sched_getparam"}, /* 155 */ { 3, 0, sys_sched_setscheduler, "sched_setscheduler"}, /* 156 */ { 1, 0, sys_sched_getscheduler, "sched_getscheduler"}, /* 157 */ diff --git a/linux/s390/syscallent.h b/linux/s390/syscallent.h index 0f8d5848..f91b805e 100644 --- a/linux/s390/syscallent.h +++ b/linux/s390/syscallent.h @@ -182,7 +182,7 @@ { 2, TM, sys_munlock, "munlock" }, /* 151 */ { 1, TM, sys_mlockall, "mlockall" }, /* 152 */ { 0, TM, sys_munlockall, "munlockall" }, /* 153 */ - { 0, 0, sys_sched_setparam, "sched_setparam"}, /* 154 */ + { 2, 0, sys_sched_setparam, "sched_setparam"}, /* 154 */ { 2, 0, sys_sched_getparam, "sched_getparam"}, /* 155 */ { 3, 0, sys_sched_setscheduler, "sched_setscheduler"}, /* 156 */ { 1, 0, sys_sched_getscheduler, "sched_getscheduler"}, /* 157 */ diff --git a/linux/s390x/syscallent.h b/linux/s390x/syscallent.h index 8ab0dad3..99bf90bc 100644 --- a/linux/s390x/syscallent.h +++ b/linux/s390x/syscallent.h @@ -181,7 +181,7 @@ { 2, TM, sys_munlock, "munlock" }, /* 151 */ { 1, TM, sys_mlockall, "mlockall" }, /* 152 */ { 0, TM, sys_munlockall, "munlockall" }, /* 153 */ - { 0, 0, sys_sched_setparam, "sched_setparam"}, /* 154 */ + { 2, 0, sys_sched_setparam, "sched_setparam"}, /* 154 */ { 2, 0, sys_sched_getparam, "sched_getparam"}, /* 155 */ { 3, 0, sys_sched_setscheduler, "sched_setscheduler"}, /* 156 */ { 1, 0, sys_sched_getscheduler, "sched_getscheduler"}, /* 157 */ diff --git a/linux/sh/syscallent.h b/linux/sh/syscallent.h index 266e079a..30b8ad36 100644 --- a/linux/sh/syscallent.h +++ b/linux/sh/syscallent.h @@ -182,7 +182,7 @@ { 2, TM, sys_munlock, "munlock" }, /* 151 */ { 1, TM, sys_mlockall, "mlockall" }, /* 152 */ { 1, TM, sys_munlockall, "munlockall" }, /* 153 */ - { 0, 0, sys_sched_setparam, "sched_setparam"}, /* 154 */ + { 2, 0, sys_sched_setparam, "sched_setparam"}, /* 154 */ { 2, 0, sys_sched_getparam, "sched_getparam"}, /* 155 */ { 3, 0, sys_sched_setscheduler, "sched_setscheduler"}, /* 156 */ { 1, 0, sys_sched_getscheduler, "sched_getscheduler"}, /* 157 */ diff --git a/linux/sh64/syscallent.h b/linux/sh64/syscallent.h index 5109f255..93b12b36 100644 --- a/linux/sh64/syscallent.h +++ b/linux/sh64/syscallent.h @@ -180,7 +180,7 @@ { 2, TM, sys_munlock, "munlock" }, /* 151 */ { 1, TM, sys_mlockall, "mlockall" }, /* 152 */ { 0, TM, sys_munlockall, "munlockall" }, /* 153 */ - { 0, 0, sys_sched_setparam, "sched_setparam"}, /* 154 */ + { 2, 0, sys_sched_setparam, "sched_setparam"}, /* 154 */ { 2, 0, sys_sched_getparam, "sched_getparam"}, /* 155 */ { 3, 0, sys_sched_setscheduler, "sched_setscheduler"}, /* 156 */ { 1, 0, sys_sched_getscheduler, "sched_getscheduler"}, /* 157 */ diff --git a/linux/tile/syscallent.h b/linux/tile/syscallent.h index e2ccbe9c..213e56c7 100644 --- a/linux/tile/syscallent.h +++ b/linux/tile/syscallent.h @@ -116,7 +116,7 @@ { 4, 0, sys_clock_nanosleep, "clock_nanosleep" }, /* 115 */ { 3, 0, sys_syslog, "syslog" }, /* 116 */ { 4, 0, sys_ptrace, "ptrace" }, /* 117 */ - { 0, 0, sys_sched_setparam, "sched_setparam" }, /* 118 */ + { 2, 0, sys_sched_setparam, "sched_setparam" }, /* 118 */ { 3, 0, sys_sched_setscheduler, "sched_setscheduler" }, /* 119 */ { 1, 0, sys_sched_getscheduler, "sched_getscheduler" }, /* 120 */ { 2, 0, sys_sched_getparam, "sched_getparam" }, /* 121 */ diff --git a/linux/tile/syscallent1.h b/linux/tile/syscallent1.h index 50b46413..9b90bd2f 100644 --- a/linux/tile/syscallent1.h +++ b/linux/tile/syscallent1.h @@ -116,7 +116,7 @@ { 4, 0, sys_clock_nanosleep, "clock_nanosleep" }, /* 115 */ { 3, 0, sys_syslog, "syslog" }, /* 116 */ { 4, 0, sys_ptrace, "ptrace" }, /* 117 */ - { 0, 0, sys_sched_setparam, "sched_setparam" }, /* 118 */ + { 2, 0, sys_sched_setparam, "sched_setparam" }, /* 118 */ { 3, 0, sys_sched_setscheduler, "sched_setscheduler" }, /* 119 */ { 1, 0, sys_sched_getscheduler, "sched_getscheduler" }, /* 120 */ { 2, 0, sys_sched_getparam, "sched_getparam" }, /* 121 */ diff --git a/linux/x32/syscallent.h b/linux/x32/syscallent.h index 512ec9c4..43e3ddc7 100644 --- a/linux/x32/syscallent.h +++ b/linux/x32/syscallent.h @@ -140,7 +140,7 @@ { 3, 0, sys_sysfs, "sysfs" }, /* 139 */ { 2, 0, sys_getpriority, "getpriority" }, /* 140 */ { 3, 0, sys_setpriority, "setpriority" }, /* 141 */ - { 0, 0, sys_sched_setparam, "sched_setparam" }, /* 142 */ + { 2, 0, sys_sched_setparam, "sched_setparam" }, /* 142 */ { 2, 0, sys_sched_getparam, "sched_getparam" }, /* 143 */ { 3, 0, sys_sched_setscheduler, "sched_setscheduler" }, /* 144 */ { 1, 0, sys_sched_getscheduler, "sched_getscheduler" }, /* 145 */ diff --git a/linux/x86_64/syscallent.h b/linux/x86_64/syscallent.h index ed0f4fb9..c98c70bb 100644 --- a/linux/x86_64/syscallent.h +++ b/linux/x86_64/syscallent.h @@ -140,7 +140,7 @@ { 3, 0, sys_sysfs, "sysfs" }, /* 139 */ { 2, 0, sys_getpriority, "getpriority" }, /* 140 */ { 3, 0, sys_setpriority, "setpriority" }, /* 141 */ - { 0, 0, sys_sched_setparam, "sched_setparam" }, /* 142 */ + { 2, 0, sys_sched_setparam, "sched_setparam" }, /* 142 */ { 2, 0, sys_sched_getparam, "sched_getparam" }, /* 143 */ { 3, 0, sys_sched_setscheduler, "sched_setscheduler" }, /* 144 */ { 1, 0, sys_sched_getscheduler, "sched_getscheduler" }, /* 145 */