aboutsummaryrefslogtreecommitdiff
path: root/linux/mips
diff options
context:
space:
mode:
authorDmitry V. Levin <ldv@altlinux.org>2016-02-12 19:50:38 +0000
committerDmitry V. Levin <ldv@altlinux.org>2016-02-13 00:57:00 +0000
commit4ab20405bc3e9d313bc4af11ec858b65dab8cb13 (patch)
tree787364bc099b40e26b05f763e68a2b09fbfbe9c6 /linux/mips
parentf3948fe494fad7c667c1d78009b82e319beeca0e (diff)
downloadstrace-4ab20405bc3e9d313bc4af11ec858b65dab8cb13.tar.gz
Fix numbers of syscall arguments in syscall tables
This semi-automatic change brings syscall tables in sync with kernel's include/linux/syscalls.h file. * linux/aarch64/syscallent.h (recv): Fix nargs. * linux/alpha/syscallent.h (sigaltstack, init_module, sched_getscheduler, settimeofday): Likewise. * linux/arm/syscallent.h (signal, pciconfig_iobase, msgrcv, msgctl, shmat, shmdt, shmctl, semtimedop, get_mempolicy, set_mempolicy, timerfd_create): Likewise. * linux/bfin/syscallent.h (signal, delete_module): Likewise. * linux/hppa/syscallent.h (init_module, munlockall, sched_getscheduler, io_cancel, set_tid_address, listxattr, llistxattr, flistxattr, removexattr, lremovexattr, fremovexattr): Likewise. * linux/i386/syscallent.h (signal, mmap): Likewise. * linux/ia64/syscallent.h (init_module, readv, writev, sched_getscheduler): Likewise. * linux/m68k/syscallent.h (signal, request_key): Likewise. * linux/microblaze/syscallent.h (signal, clone, fstatfs64, vmsplice): Likewise. * linux/mips/syscallent-n32.h (getpgid, statfs, fstatfs, init_module, delete_module): Likewise. * linux/mips/syscallent-n64.h (getpgid, statfs, fstatfs, init_module, delete_module): Likewise. * linux/mips/syscallent-o32.h (signal, statfs, fstatfs, ioperm, fstatfs64): Likewise. * linux/powerpc/syscallent.h (signal, spu_run, spu_create): Likewise. * linux/powerpc64/syscallent.h (signal, pread64, pwrite64, readahead, fadvise64, lookup_dcookie, spu_run, spu_create, sync_file_range2, fallocate, preadv, pwritev, fanotify_mark): Likewise. * linux/s390/syscallent.h (signal, mmap, lookup_dcookie, ipc): Likewise. * linux/s390x/syscallent.h (signal, ipc): Likewise. * linux/sh/syscallent.h (signal, ipc, munlockall, fstatfs64, vmsplice): Likewise. * linux/sh64/syscallent.h (signal, ipc, msgrcv, msgctl, shmat, shmdt, shmctl, fstatfs64, vmsplice): Likewise. * linux/sparc/syscallent.h (ptrace, dup, signal, ipc): Likewise. * linux/sparc64/syscallent.h (ptrace, dup, signal, pread64, pwrite64, readahead, lookup_dcookie, fadvise64, fadvise64_64, ipc, sync_file_range, fallocate, preadv, pwritev, fanotify_mark): Likewise. * linux/x32/syscallent.h (64:recvmsg): Likewise. * linux/xtensa/syscallent.h (mremap, futex, reboot, init_module, delete_module, request_key, getcpu, ioprio_set, ioprio_get, utimensat, futimesat, fchmodat, faccessat): Likewise. * NEWS: Mention this fix.
Diffstat (limited to 'linux/mips')
-rw-r--r--linux/mips/syscallent-n32.h10
-rw-r--r--linux/mips/syscallent-n64.h10
-rw-r--r--linux/mips/syscallent-o32.h10
3 files changed, 15 insertions, 15 deletions
diff --git a/linux/mips/syscallent-n32.h b/linux/mips/syscallent-n32.h
index 1f6f0dd5..81028f61 100644
--- a/linux/mips/syscallent-n32.h
+++ b/linux/mips/syscallent-n32.h
@@ -119,7 +119,7 @@
[6116] = { 3, 0, SEN(getresuid), "getresuid" },
[6117] = { 3, 0, SEN(setresgid), "setresgid" },
[6118] = { 3, 0, SEN(getresgid), "getresgid" },
-[6119] = { 0, 0, SEN(getpgid), "getpgid" },
+[6119] = { 1, 0, SEN(getpgid), "getpgid" },
[6120] = { 1, NF, SEN(setfsuid), "setfsuid" },
[6121] = { 1, NF, SEN(setfsgid), "setfsgid" },
[6122] = { 1, 0, SEN(getsid), "getsid" },
@@ -134,8 +134,8 @@
[6131] = { 3, TF, SEN(mknod), "mknod" },
[6132] = { 1, NF, SEN(personality), "personality" },
[6133] = { 2, 0, SEN(ustat), "ustat" },
-[6134] = { 3, TF, SEN(statfs), "statfs" },
-[6135] = { 3, TD, SEN(fstatfs), "fstatfs" },
+[6134] = { 2, TF, SEN(statfs), "statfs" },
+[6135] = { 2, TD, SEN(fstatfs), "fstatfs" },
[6136] = { 3, 0, SEN(sysfs), "sysfs" },
[6137] = { 2, 0, SEN(getpriority), "getpriority" },
[6138] = { 3, 0, SEN(setpriority), "setpriority" },
@@ -168,8 +168,8 @@
[6165] = { 2, 0, SEN(sethostname), "sethostname" },
[6166] = { 2, 0, SEN(setdomainname), "setdomainname" },
[6167] = { 2, 0, SEN(create_module), "create_module" },
-[6168] = { 4, 0, SEN(init_module), "init_module" },
-[6169] = { 1, 0, SEN(delete_module), "delete_module" },
+[6168] = { 3, 0, SEN(init_module), "init_module" },
+[6169] = { 2, 0, SEN(delete_module), "delete_module" },
[6170] = { 1, 0, SEN(get_kernel_syms), "get_kernel_syms" },
[6171] = { 5, 0, SEN(query_module), "query_module" },
[6172] = { 4, TF, SEN(quotactl), "quotactl" },
diff --git a/linux/mips/syscallent-n64.h b/linux/mips/syscallent-n64.h
index 18c1a88a..3d3dc70d 100644
--- a/linux/mips/syscallent-n64.h
+++ b/linux/mips/syscallent-n64.h
@@ -119,7 +119,7 @@
[5116] = { 3, 0, SEN(getresuid), "getresuid" },
[5117] = { 3, 0, SEN(setresgid), "setresgid" },
[5118] = { 3, 0, SEN(getresgid), "getresgid" },
-[5119] = { 0, 0, SEN(getpgid), "getpgid" },
+[5119] = { 1, 0, SEN(getpgid), "getpgid" },
[5120] = { 1, NF, SEN(setfsuid), "setfsuid" },
[5121] = { 1, NF, SEN(setfsgid), "setfsgid" },
[5122] = { 1, 0, SEN(getsid), "getsid" },
@@ -134,8 +134,8 @@
[5131] = { 3, TF, SEN(mknod), "mknod" },
[5132] = { 1, NF, SEN(personality), "personality" },
[5133] = { 2, 0, SEN(ustat), "ustat" },
-[5134] = { 3, TF, SEN(statfs), "statfs" },
-[5135] = { 3, TD, SEN(fstatfs), "fstatfs" },
+[5134] = { 2, TF, SEN(statfs), "statfs" },
+[5135] = { 2, TD, SEN(fstatfs), "fstatfs" },
[5136] = { 3, 0, SEN(sysfs), "sysfs" },
[5137] = { 2, 0, SEN(getpriority), "getpriority" },
[5138] = { 3, 0, SEN(setpriority), "setpriority" },
@@ -168,8 +168,8 @@
[5165] = { 2, 0, SEN(sethostname), "sethostname" },
[5166] = { 2, 0, SEN(setdomainname), "setdomainname" },
[5167] = { 2, 0, SEN(create_module), "create_module" },
-[5168] = { 4, 0, SEN(init_module), "init_module" },
-[5169] = { 1, 0, SEN(delete_module), "delete_module" },
+[5168] = { 3, 0, SEN(init_module), "init_module" },
+[5169] = { 2, 0, SEN(delete_module), "delete_module" },
[5170] = { 1, 0, SEN(get_kernel_syms), "get_kernel_syms" },
[5171] = { 5, 0, SEN(query_module), "query_module" },
[5172] = { 4, TF, SEN(quotactl), "quotactl" },
diff --git a/linux/mips/syscallent-o32.h b/linux/mips/syscallent-o32.h
index 6e9113d1..18ddc19b 100644
--- a/linux/mips/syscallent-o32.h
+++ b/linux/mips/syscallent-o32.h
@@ -48,7 +48,7 @@
[4045] = { 1, TM|SI, SEN(brk), "brk" },
[4046] = { 1, 0, SEN(setgid), "setgid" },
[4047] = { 0, NF, SEN(getgid), "getgid" },
-[4048] = { 1, TS, SEN(signal), "signal" },
+[4048] = { 2, TS, SEN(signal), "signal" },
[4049] = { 0, NF, SEN(geteuid), "geteuid" },
[4050] = { 0, NF, SEN(getegid), "getegid" },
[4051] = { 1, TF, SEN(acct), "acct" },
@@ -99,9 +99,9 @@
[4096] = { 2, 0, SEN(getpriority), "getpriority" },
[4097] = { 3, 0, SEN(setpriority), "setpriority" },
[4098] = { 0, 0, SEN(profil), "profil" },
-[4099] = { 3, TF, SEN(statfs), "statfs" },
-[4100] = { 3, TD, SEN(fstatfs), "fstatfs" },
-[4101] = { 0, 0, SEN(ioperm), "ioperm" },
+[4099] = { 2, TF, SEN(statfs), "statfs" },
+[4100] = { 2, TD, SEN(fstatfs), "fstatfs" },
+[4101] = { 3, 0, SEN(ioperm), "ioperm" },
[4102] = { 2, TD, SEN(socketcall), "socketcall" },
[4103] = { 3, 0, SEN(syslog), "syslog" },
[4104] = { 3, 0, SEN(setitimer), "setitimer" },
@@ -256,7 +256,7 @@
[4253] = { 0, 0, SEN(restart_syscall), "restart_syscall" },
[4254] = { 7, TD, SEN(fadvise64_64), "fadvise64" },
[4255] = { 3, TF, SEN(statfs64), "statfs64" },
-[4256] = { 2, TD, SEN(fstatfs64), "fstatfs64" },
+[4256] = { 3, TD, SEN(fstatfs64), "fstatfs64" },
[4257] = { 3, 0, SEN(timer_create), "timer_create" },
[4258] = { 4, 0, SEN(timer_settime), "timer_settime" },
[4259] = { 2, 0, SEN(timer_gettime), "timer_gettime" },