From: Dmitry V. Levin Date: Tue, 24 Nov 2015 02:45:11 +0000 (+0000) Subject: Fix syscall entries of unimplemented getpmsg and putpmsg syscalls X-Git-Tag: v4.11~115 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=329288b6f9cf8544735c209dd3691137a162d402;p=strace Fix syscall entries of unimplemented getpmsg and putpmsg syscalls * linux/ia64/syscallent.h (getpmsg): Change SEN(printargs) to SEN(getpmsg). (putpmsg): Change SEN(printargs) to SEN(putpmsg). * linux/mips/syscallent-n32.h: Likewise. * linux/mips/syscallent-n64.h: Likewise. * linux/mips/syscallent-o32.h: Likewise. * linux/arm/syscallent.h (getpmsg, putpmsg): Set sys_flags to TN. * linux/bfin/syscallent.h (getpmsg, putpmsg): Likewise. * linux/hppa/syscallent.h (getpmsg, putpmsg): Likewise. * linux/i386/syscallent.h (getpmsg, putpmsg): Likewise. * linux/m68k/syscallent.h (getpmsg, putpmsg): Likewise. * linux/microblaze/syscallent.h (getpmsg, putpmsg): Likewise. * linux/powerpc/syscallent.h (getpmsg, putpmsg): Likewise. * linux/s390/syscallent.h (getpmsg, putpmsg): Likewise. * linux/s390x/syscallent.h (getpmsg, putpmsg): Likewise. * linux/x32/syscallent.h (getpmsg, putpmsg): Likewise. * linux/x86_64/syscallent.h (getpmsg, putpmsg): Likewise. --- diff --git a/linux/arm/syscallent.h b/linux/arm/syscallent.h index 9ca13151..ad9b9f4f 100644 --- a/linux/arm/syscallent.h +++ b/linux/arm/syscallent.h @@ -214,8 +214,8 @@ [185] = { 2, 0, SEN(capset), "capset" }, [186] = { 2, TS, SEN(sigaltstack), "sigaltstack" }, [187] = { 4, TD|TN, SEN(sendfile), "sendfile" }, -[188] = { 5, 0, SEN(getpmsg), "getpmsg" }, -[189] = { 5, 0, SEN(putpmsg), "putpmsg" }, +[188] = { 5, TN, SEN(getpmsg), "getpmsg" }, +[189] = { 5, TN, SEN(putpmsg), "putpmsg" }, [190] = { 0, TP, SEN(vfork), "vfork" }, [191] = { 2, 0, SEN(getrlimit), "ugetrlimit" }, [192] = { 6, TD|TM|SI, SEN(mmap_4koff), "mmap2" }, diff --git a/linux/bfin/syscallent.h b/linux/bfin/syscallent.h index 884c33bd..b57dadb0 100644 --- a/linux/bfin/syscallent.h +++ b/linux/bfin/syscallent.h @@ -214,8 +214,8 @@ [185] = { 2, 0, SEN(capset), "capset" }, [186] = { 2, TS, SEN(sigaltstack), "sigaltstack" }, [187] = { 4, TD|TN, SEN(sendfile), "sendfile" }, -[188] = { 5, 0, SEN(getpmsg), "getpmsg" }, -[189] = { 5, 0, SEN(putpmsg), "putpmsg" }, +[188] = { 5, TN, SEN(getpmsg), "getpmsg" }, +[189] = { 5, TN, SEN(putpmsg), "putpmsg" }, [190] = { 0, TP, SEN(vfork), "vfork" }, [191] = { 2, 0, SEN(getrlimit), "getrlimit" }, [192] = { 6, TD|TM|SI, SEN(mmap_pgoff), "mmap2" }, diff --git a/linux/hppa/syscallent.h b/linux/hppa/syscallent.h index 03be1e05..3f1dc909 100644 --- a/linux/hppa/syscallent.h +++ b/linux/hppa/syscallent.h @@ -198,8 +198,8 @@ [193] = { 1, TI|TM|SI, SEN(shmdt), "shmdt" }, [194] = { 3, TI, SEN(shmget), "shmget" }, [195] = { 3, TI, SEN(shmctl), "shmctl" }, -[196] = { 5, 0, SEN(getpmsg), "getpmsg" }, -[197] = { 5, 0, SEN(putpmsg), "putpmsg" }, +[196] = { 5, TN, SEN(getpmsg), "getpmsg" }, +[197] = { 5, TN, SEN(putpmsg), "putpmsg" }, [198] = { 2, TF, SEN(lstat64), "lstat64" }, [199] = { 3, TF, SEN(truncate64), "truncate64" }, [200] = { 3, TD, SEN(ftruncate64), "ftruncate64" }, diff --git a/linux/i386/syscallent.h b/linux/i386/syscallent.h index fbec3f77..58a16d01 100644 --- a/linux/i386/syscallent.h +++ b/linux/i386/syscallent.h @@ -214,8 +214,8 @@ [185] = { 2, 0, SEN(capset), "capset" }, [186] = { 2, TS, SEN(sigaltstack), "sigaltstack" }, [187] = { 4, TD|TN, SEN(sendfile), "sendfile" }, -[188] = { 5, 0, SEN(getpmsg), "getpmsg" }, -[189] = { 5, 0, SEN(putpmsg), "putpmsg" }, +[188] = { 5, TN, SEN(getpmsg), "getpmsg" }, +[189] = { 5, TN, SEN(putpmsg), "putpmsg" }, [190] = { 0, TP, SEN(vfork), "vfork" }, [191] = { 2, 0, SEN(getrlimit), "ugetrlimit" }, [192] = { 6, TD|TM|SI, SEN(mmap_pgoff), "mmap2" }, diff --git a/linux/ia64/syscallent.h b/linux/ia64/syscallent.h index a95edac5..3e41e23e 100644 --- a/linux/ia64/syscallent.h +++ b/linux/ia64/syscallent.h @@ -398,8 +398,8 @@ [1185] = { 2, 0, SEN(capget), "capget" }, [1186] = { 2, 0, SEN(capset), "capset" }, [1187] = { 4, TD|TN, SEN(sendfile), "sendfile" }, -[1188] = { 5, TN, SEN(printargs), "getpmsg" }, -[1189] = { 5, TN, SEN(printargs), "putpmsg" }, +[1188] = { 5, TN, SEN(getpmsg), "getpmsg" }, +[1189] = { 5, TN, SEN(putpmsg), "putpmsg" }, [1190] = { 3, TN, SEN(socket), "socket" }, [1191] = { 3, TN, SEN(bind), "bind" }, [1192] = { 3, TN, SEN(connect), "connect" }, diff --git a/linux/m68k/syscallent.h b/linux/m68k/syscallent.h index a669a879..9a655fd0 100644 --- a/linux/m68k/syscallent.h +++ b/linux/m68k/syscallent.h @@ -214,8 +214,8 @@ [185] = { 2, 0, SEN(capset), "capset" }, [186] = { 2, TS, SEN(sigaltstack), "sigaltstack" }, [187] = { 4, TD|TN, SEN(sendfile), "sendfile" }, -[188] = { 5, 0, SEN(getpmsg), "getpmsg" }, -[189] = { 5, 0, SEN(putpmsg), "putpmsg" }, +[188] = { 5, TN, SEN(getpmsg), "getpmsg" }, +[189] = { 5, TN, SEN(putpmsg), "putpmsg" }, [190] = { 0, TP, SEN(vfork), "vfork" }, [191] = { 2, 0, SEN(getrlimit), "ugetrlimit" }, [192] = { 6, TD|TM|SI, SEN(mmap_pgoff), "mmap2" }, diff --git a/linux/microblaze/syscallent.h b/linux/microblaze/syscallent.h index 6ba3804a..c2f7d6d0 100644 --- a/linux/microblaze/syscallent.h +++ b/linux/microblaze/syscallent.h @@ -214,8 +214,8 @@ [185] = { 2, 0, SEN(capset), "capset" }, [186] = { 2, TS, SEN(sigaltstack), "sigaltstack" }, [187] = { 4, TD|TN, SEN(sendfile), "sendfile" }, -[188] = { 5, 0, SEN(getpmsg), "getpmsg" }, -[189] = { 5, 0, SEN(putpmsg), "putpmsg" }, +[188] = { 5, TN, SEN(getpmsg), "getpmsg" }, +[189] = { 5, TN, SEN(putpmsg), "putpmsg" }, [190] = { 0, TP, SEN(vfork), "vfork" }, [191] = { 2, 0, SEN(getrlimit), "ugetrlimit" }, [192] = { 6, TD|TM|SI, SEN(mmap_pgoff), "mmap2" }, diff --git a/linux/mips/syscallent-n32.h b/linux/mips/syscallent-n32.h index 58ccf46a..0fc4bb8d 100644 --- a/linux/mips/syscallent-n32.h +++ b/linux/mips/syscallent-n32.h @@ -174,8 +174,8 @@ [6171] = { 5, 0, SEN(query_module), "query_module" }, [6172] = { 4, TF, SEN(quotactl), "quotactl" }, [6173] = { 3, 0, SEN(nfsservctl), "nfsservctl" }, -[6174] = { 5, TN, SEN(printargs), "getpmsg" }, -[6175] = { 5, TN, SEN(printargs), "putpmsg" }, +[6174] = { 5, TN, SEN(getpmsg), "getpmsg" }, +[6175] = { 5, TN, SEN(putpmsg), "putpmsg" }, [6176] = { 0, 0, SEN(afs_syscall), "afs_syscall" }, [6177] = { 0, 0, SEN(printargs), "reserved177" }, [6178] = { 0, 0, SEN(gettid), "gettid" }, diff --git a/linux/mips/syscallent-n64.h b/linux/mips/syscallent-n64.h index 8ea3a7c0..2e387fb2 100644 --- a/linux/mips/syscallent-n64.h +++ b/linux/mips/syscallent-n64.h @@ -174,8 +174,8 @@ [5171] = { 5, 0, SEN(query_module), "query_module" }, [5172] = { 4, TF, SEN(quotactl), "quotactl" }, [5173] = { 3, 0, SEN(nfsservctl), "nfsservctl" }, -[5174] = { 5, TN, SEN(printargs), "getpmsg" }, -[5175] = { 5, TN, SEN(printargs), "putpmsg" }, +[5174] = { 5, TN, SEN(getpmsg), "getpmsg" }, +[5175] = { 5, TN, SEN(putpmsg), "putpmsg" }, [5176] = { 0, 0, SEN(afs_syscall), "afs_syscall" }, [5177] = { 0, 0, SEN(printargs), "reserved177" }, [5178] = { 0, 0, SEN(gettid), "gettid" }, diff --git a/linux/mips/syscallent-o32.h b/linux/mips/syscallent-o32.h index 8045676a..485ede45 100644 --- a/linux/mips/syscallent-o32.h +++ b/linux/mips/syscallent-o32.h @@ -208,8 +208,8 @@ [4205] = { 2, 0, SEN(capset), "capset" }, [4206] = { 2, TS, SEN(sigaltstack), "sigaltstack" }, [4207] = { 4, TD|TN, SEN(sendfile), "sendfile" }, -[4208] = { 5, TN, SEN(printargs), "getpmsg" }, -[4209] = { 5, TN, SEN(printargs), "putpmsg" }, +[4208] = { 5, TN, SEN(getpmsg), "getpmsg" }, +[4209] = { 5, TN, SEN(putpmsg), "putpmsg" }, [4210] = { 6, TD|TM|SI, SEN(mmap_4koff), "mmap2" }, [4211] = { 4, TF, SEN(truncate64), "truncate64" }, [4212] = { 4, TD, SEN(ftruncate64), "ftruncate64" }, diff --git a/linux/powerpc/syscallent.h b/linux/powerpc/syscallent.h index ca7a2159..209f1d48 100644 --- a/linux/powerpc/syscallent.h +++ b/linux/powerpc/syscallent.h @@ -213,8 +213,8 @@ [184] = { 2, 0, SEN(capset), "capset" }, [185] = { 2, TS, SEN(sigaltstack), "sigaltstack" }, [186] = { 4, TD|TN, SEN(sendfile), "sendfile" }, -[187] = { 5, 0, SEN(getpmsg), "getpmsg" }, -[188] = { 5, 0, SEN(putpmsg), "putpmsg" }, +[187] = { 5, TN, SEN(getpmsg), "getpmsg" }, +[188] = { 5, TN, SEN(putpmsg), "putpmsg" }, [189] = { 0, TP, SEN(vfork), "vfork" }, [190] = { 2, 0, SEN(getrlimit), "ugetrlimit" }, [191] = { 5, TD, SEN(readahead), "readahead" }, diff --git a/linux/s390/syscallent.h b/linux/s390/syscallent.h index b46d4c8d..c8bf6b1a 100644 --- a/linux/s390/syscallent.h +++ b/linux/s390/syscallent.h @@ -216,8 +216,8 @@ [185] = { 2, 0, SEN(capset), "capset" }, [186] = { 2, TS, SEN(sigaltstack), "sigaltstack" }, [187] = { 4, TD|TN, SEN(sendfile), "sendfile" }, -[188] = { 5, 0, SEN(getpmsg), "getpmsg" }, -[189] = { 5, 0, SEN(putpmsg), "putpmsg" }, +[188] = { 5, TN, SEN(getpmsg), "getpmsg" }, +[189] = { 5, TN, SEN(putpmsg), "putpmsg" }, [190] = { 0, TP, SEN(vfork), "vfork" }, [191] = { 2, 0, SEN(getrlimit), "ugetrlimit" }, [192] = { 1, TD|TM|SI, SEN(old_mmap_pgoff), "mmap2" }, diff --git a/linux/s390x/syscallent.h b/linux/s390x/syscallent.h index 873b6b8f..a43526d0 100644 --- a/linux/s390x/syscallent.h +++ b/linux/s390x/syscallent.h @@ -205,8 +205,8 @@ [185] = { 2, 0, SEN(capset), "capset" }, [186] = { 2, TS, SEN(sigaltstack), "sigaltstack" }, [187] = { 4, TD|TN, SEN(sendfile), "sendfile" }, -[188] = { 5, 0, SEN(getpmsg), "getpmsg" }, -[189] = { 5, 0, SEN(putpmsg), "putpmsg" }, +[188] = { 5, TN, SEN(getpmsg), "getpmsg" }, +[189] = { 5, TN, SEN(putpmsg), "putpmsg" }, [190] = { 0, TP, SEN(vfork), "vfork" }, [191] = { 2, 0, SEN(getrlimit), "getrlimit" }, [196 ... 197] = { }, diff --git a/linux/x32/syscallent.h b/linux/x32/syscallent.h index 566f63fb..23613c42 100644 --- a/linux/x32/syscallent.h +++ b/linux/x32/syscallent.h @@ -179,8 +179,8 @@ [178] = { 5, 0, SEN(printargs), "64:query_module" }, [179] = { 4, TF, SEN(quotactl), "quotactl" }, [180] = { 3, 0, SEN(printargs), "64:nfsservctl" }, -[181] = { 5, 0, SEN(getpmsg), "getpmsg" }, -[182] = { 5, 0, SEN(putpmsg), "putpmsg" }, +[181] = { 5, TN, SEN(getpmsg), "getpmsg" }, +[182] = { 5, TN, SEN(putpmsg), "putpmsg" }, [183] = { 5, 0, SEN(afs_syscall), "afs_syscall" }, [184] = { 3, 0, SEN(tuxcall), "tuxcall" }, [185] = { 3, 0, SEN(security), "security" }, diff --git a/linux/x86_64/syscallent.h b/linux/x86_64/syscallent.h index 4d70b175..90b46ed9 100644 --- a/linux/x86_64/syscallent.h +++ b/linux/x86_64/syscallent.h @@ -179,8 +179,8 @@ [178] = { 5, 0, SEN(query_module), "query_module" }, [179] = { 4, TF, SEN(quotactl), "quotactl" }, [180] = { 3, 0, SEN(nfsservctl), "nfsservctl" }, -[181] = { 5, 0, SEN(getpmsg), "getpmsg" }, -[182] = { 5, 0, SEN(putpmsg), "putpmsg" }, +[181] = { 5, TN, SEN(getpmsg), "getpmsg" }, +[182] = { 5, TN, SEN(putpmsg), "putpmsg" }, [183] = { 5, 0, SEN(afs_syscall), "afs_syscall" }, [184] = { 3, 0, SEN(tuxcall), "tuxcall" }, [185] = { 3, 0, SEN(security), "security" },