]> granicus.if.org Git - strace/commitdiff
Wire up direct ipc syscalls on m68k, mips, powerpc*, s390*, sh, sparc*, x86
authorDmitry V. Levin <ldv@altlinux.org>
Mon, 15 Apr 2019 00:39:53 +0000 (00:39 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Mon, 15 Apr 2019 00:39:53 +0000 (00:39 +0000)
* linux/i386/syscallent.h [393..402]: Wire up semget, semctl, shmget,
shmctl, shmat, shmdt, msgget, msgsnd, msgrcv, and msgctl syscalls
introduced on this architecture by linux commit v5.1-rc1~160^2~3^2~4.
* linux/m68k/syscallent.h: Likewise.
* linux/powerpc/syscallent.h: Likewise.
* linux/s390/syscallent.h: Likewise.
* linux/sh/syscallent.h: Likewise.
* linux/sparc/syscallent.h: Likewise.
* linux/mips/syscallent-o32.h [4393..4402]: Wire up semget, semctl,
shmget, shmctl, shmat, shmdt, msgget, msgsnd, msgrcv, and msgctl syscalls
introduced on this architecture by linux commit v5.1-rc1~160^2~3^2~4.
* linux/powerpc64/syscallent.h [392..402]: Wire up semtimedop, semget,
semctl, shmget, shmctl, shmat, shmdt, msgget, msgsnd, msgrcv, and msgctl
syscalls introduced on this architecture by linux commit
v5.1-rc1~160^2~3^2~4.
* linux/s390x/syscallent.h: Likewise.
* linux/sparc64/syscallent.h: Likewise.
* NEWS: Mention this.

NEWS
linux/i386/syscallent.h
linux/m68k/syscallent.h
linux/mips/syscallent-o32.h
linux/powerpc/syscallent.h
linux/powerpc64/syscallent.h
linux/s390/syscallent.h
linux/s390x/syscallent.h
linux/sh/syscallent.h
linux/sparc/syscallent.h
linux/sparc64/syscallent.h

diff --git a/NEWS b/NEWS
index 50256a6392cfe85115c1f9c1276dd47ecf5dedc3..0ea37198e364b4de70f6e9d139e484b150562da5 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -12,6 +12,8 @@ Noteworthy changes in release ?.? (????-??-??)
     on ia64.
   * Wired up seccomp syscall on m68k.
   * Wired up statx syscall on sh.
+  * Wired up direct ipc syscalls on m68k, mips o32, powerpc, powerpc64,
+    s390, s390x, sh, sparc, sparc64, and x86.
 
 Noteworthy changes in release 5.0 (2019-03-19)
 ==============================================
index 7e21690eed64590ccd70142dffcd5b5e02e5c656..d77182d776ec63dab94359a6758fd28e95aa56fa 100644 (file)
 [384] = { 2,   TP,             SEN(arch_prctl),                "arch_prctl"            },
 [385] = { 6,   0,              SEN(io_pgetevents),             "io_pgetevents"         },
 [386] = { 4,   0,              SEN(rseq),                      "rseq"                  },
+/* room for arch specific calls */
+[393] = { 3,   TI,             SEN(semget),                    "semget"                },
+[394] = { 4,   TI,             SEN(semctl),                    "semctl"                },
+[395] = { 3,   TI,             SEN(shmget),                    "shmget"                },
+[396] = { 3,   TI,             SEN(shmctl),                    "shmctl"                },
+[397] = { 3,   TI|TM|SI,       SEN(shmat),                     "shmat"                 },
+[398] = { 1,   TI|TM|SI,       SEN(shmdt),                     "shmdt"                 },
+[399] = { 2,   TI,             SEN(msgget),                    "msgget"                },
+[400] = { 4,   TI,             SEN(msgsnd),                    "msgsnd"                },
+[401] = { 5,   TI,             SEN(msgrcv),                    "msgrcv"                },
+[402] = { 3,   TI,             SEN(msgctl),                    "msgctl"                },
 
 #define SYS_socket_subcall     500
 #include "subcall.h"
index c0b9c7583fa0aedf9ccbb90f0bfcce4e052972f4..63df71decd51ea33305d173594e55ed7fa21e294 100644 (file)
 [378] = { 6,   TD,             SEN(pwritev2),                  "pwritev2"              },
 [379] = { 5,   TD|TF|TSTA,     SEN(statx),                     "statx"                 },
 [380] = { 3,   0,              SEN(seccomp),                   "seccomp"               },
+/* room for arch specific calls */
+[393] = { 3,   TI,             SEN(semget),                    "semget"                },
+[394] = { 4,   TI,             SEN(semctl),                    "semctl"                },
+[395] = { 3,   TI,             SEN(shmget),                    "shmget"                },
+[396] = { 3,   TI,             SEN(shmctl),                    "shmctl"                },
+[397] = { 3,   TI|TM|SI,       SEN(shmat),                     "shmat"                 },
+[398] = { 1,   TI|TM|SI,       SEN(shmdt),                     "shmdt"                 },
+[399] = { 2,   TI,             SEN(msgget),                    "msgget"                },
+[400] = { 4,   TI,             SEN(msgsnd),                    "msgsnd"                },
+[401] = { 5,   TI,             SEN(msgrcv),                    "msgrcv"                },
+[402] = { 3,   TI,             SEN(msgctl),                    "msgctl"                },
 
 #define SYS_socket_subcall     500
 #include "subcall.h"
index a7a5dd5fa9b817a660665b0fddba524f870fdef4..f779a0c68f872b91a59437d47184f828982648e1 100644 (file)
 [4366] = { 5,  TD|TF|TSTA,     SEN(statx),                     "statx"                 },
 [4367] = { 4,  0,              SEN(rseq),                      "rseq"                  },
 [4368] = { 6,  0,              SEN(io_pgetevents),             "io_pgetevents"         },
+/* room for arch specific calls */
+[4393] = { 3,  TI,             SEN(semget),                    "semget"                },
+[4394] = { 4,  TI,             SEN(semctl),                    "semctl"                },
+[4395] = { 3,  TI,             SEN(shmget),                    "shmget"                },
+[4396] = { 3,  TI,             SEN(shmctl),                    "shmctl"                },
+[4397] = { 3,  TI|TM|SI,       SEN(shmat),                     "shmat"                 },
+[4398] = { 1,  TI|TM|SI,       SEN(shmdt),                     "shmdt"                 },
+[4399] = { 2,  TI,             SEN(msgget),                    "msgget"                },
+[4400] = { 4,  TI,             SEN(msgsnd),                    "msgsnd"                },
+[4401] = { 5,  TI,             SEN(msgrcv),                    "msgrcv"                },
+[4402] = { 3,  TI,             SEN(msgctl),                    "msgctl"                },
 
 # define SYS_socket_subcall      4500
 # include "subcall.h"
index e8aaedf9cc3fb3406d4538135f0158a68e06ef3d..e8992984afbd9e8f57f6e8581371a91651b832e0 100644 (file)
 [386] = { 4,   TM|SI,          SEN(pkey_mprotect),             "pkey_mprotect"         },
 [387] = { 4,   0,              SEN(rseq),                      "rseq"                  },
 [388] = { 6,   0,              SEN(io_pgetevents),             "io_pgetevents"         },
+/* room for arch specific syscalls */
+[393] = { 3,   TI,             SEN(semget),                    "semget"                },
+[394] = { 4,   TI,             SEN(semctl),                    "semctl"                },
+[395] = { 3,   TI,             SEN(shmget),                    "shmget"                },
+[396] = { 3,   TI,             SEN(shmctl),                    "shmctl"                },
+[397] = { 3,   TI|TM|SI,       SEN(shmat),                     "shmat"                 },
+[398] = { 1,   TI|TM|SI,       SEN(shmdt),                     "shmdt"                 },
+[399] = { 2,   TI,             SEN(msgget),                    "msgget"                },
+[400] = { 4,   TI,             SEN(msgsnd),                    "msgsnd"                },
+[401] = { 5,   TI,             SEN(msgrcv),                    "msgrcv"                },
+[402] = { 3,   TI,             SEN(msgctl),                    "msgctl"                },
 
 #define SYS_socket_subcall     500
 #include "subcall.h"
index 49faa4ad4278b63fc179729732c46c48e59c4e9a..6c1d433c825933b3175a999453ce297233f2ffdc 100644 (file)
 [386] = { 4,   TM|SI,          SEN(pkey_mprotect),             "pkey_mprotect"         },
 [387] = { 4,   0,              SEN(rseq),                      "rseq"                  },
 [388] = { 6,   0,              SEN(io_pgetevents),             "io_pgetevents"         },
+/* room for arch specific syscalls */
+[392] = { 4,   TI,             SEN(semtimedop),                "semtimedop"            },
+[393] = { 3,   TI,             SEN(semget),                    "semget"                },
+[394] = { 4,   TI,             SEN(semctl),                    "semctl"                },
+[395] = { 3,   TI,             SEN(shmget),                    "shmget"                },
+[396] = { 3,   TI,             SEN(shmctl),                    "shmctl"                },
+[397] = { 3,   TI|TM|SI,       SEN(shmat),                     "shmat"                 },
+[398] = { 1,   TI|TM|SI,       SEN(shmdt),                     "shmdt"                 },
+[399] = { 2,   TI,             SEN(msgget),                    "msgget"                },
+[400] = { 4,   TI,             SEN(msgsnd),                    "msgsnd"                },
+[401] = { 5,   TI,             SEN(msgrcv),                    "msgrcv"                },
+[402] = { 3,   TI,             SEN(msgctl),                    "msgctl"                },
 
 #define SYS_socket_subcall     500
 #include "subcall.h"
index 5b019015a9fa6d7b10923a99e14d191905d952f3..1aaed93c95c00edf77e086161af0591ed676037d 100644 (file)
 [381] = { 5,   TD,             SEN(kexec_file_load),           "kexec_file_load"       },
 [382] = { 6,   0,              SEN(io_pgetevents),             "io_pgetevents"         },
 [383] = { 4,   0,              SEN(rseq),                      "rseq"                  },
+/* room for arch specific calls */
+[393] = { 3,   TI,             SEN(semget),                    "semget"                },
+[394] = { 4,   TI,             SEN(semctl),                    "semctl"                },
+[395] = { 3,   TI,             SEN(shmget),                    "shmget"                },
+[396] = { 3,   TI,             SEN(shmctl),                    "shmctl"                },
+[397] = { 3,   TI|TM|SI,       SEN(shmat),                     "shmat"                 },
+[398] = { 1,   TI|TM|SI,       SEN(shmdt),                     "shmdt"                 },
+[399] = { 2,   TI,             SEN(msgget),                    "msgget"                },
+[400] = { 4,   TI,             SEN(msgsnd),                    "msgsnd"                },
+[401] = { 5,   TI,             SEN(msgrcv),                    "msgrcv"                },
+[402] = { 3,   TI,             SEN(msgctl),                    "msgctl"                },
 
 #define SYS_socket_subcall     500
 #include "subcall.h"
index 0a88e5d85b3abf5007ecd4fa7292e828a145cade..0d89360fe33397b3d3023dc098c08d1c4196a328 100644 (file)
 [381] = { 5,   TD,             SEN(kexec_file_load),           "kexec_file_load"       },
 [382] = { 6,   0,              SEN(io_pgetevents),             "io_pgetevents"         },
 [383] = { 4,   0,              SEN(rseq),                      "rseq"                  },
+/* room for arch specific calls */
+[392] = { 4,   TI,             SEN(semtimedop),                "semtimedop"            },
+[393] = { 3,   TI,             SEN(semget),                    "semget"                },
+[394] = { 4,   TI,             SEN(semctl),                    "semctl"                },
+[395] = { 3,   TI,             SEN(shmget),                    "shmget"                },
+[396] = { 3,   TI,             SEN(shmctl),                    "shmctl"                },
+[397] = { 3,   TI|TM|SI,       SEN(shmat),                     "shmat"                 },
+[398] = { 1,   TI|TM|SI,       SEN(shmdt),                     "shmdt"                 },
+[399] = { 2,   TI,             SEN(msgget),                    "msgget"                },
+[400] = { 4,   TI,             SEN(msgsnd),                    "msgsnd"                },
+[401] = { 5,   TI,             SEN(msgrcv),                    "msgrcv"                },
+[402] = { 3,   TI,             SEN(msgctl),                    "msgctl"                },
 
 #define SYS_socket_subcall     500
 #include "subcall.h"
index b259b72df71456c0928daf5e16bf8151c8d2ab59..268ff5dffbb20bbe2e197c0f7462fa977b93a7de 100644 (file)
 [381] = { 6,   TD,             SEN(preadv2),                   "preadv2"               },
 [382] = { 6,   TD,             SEN(pwritev2),                  "pwritev2"              },
 [383] = { 5,   TD|TF|TSTA,     SEN(statx),                     "statx"                 },
+/* room for arch specific calls */
+[393] = { 3,   TI,             SEN(semget),                    "semget"                },
+[394] = { 4,   TI,             SEN(semctl),                    "semctl"                },
+[395] = { 3,   TI,             SEN(shmget),                    "shmget"                },
+[396] = { 3,   TI,             SEN(shmctl),                    "shmctl"                },
+[397] = { 3,   TI|TM|SI,       SEN(shmat),                     "shmat"                 },
+[398] = { 1,   TI|TM|SI,       SEN(shmdt),                     "shmdt"                 },
+[399] = { 2,   TI,             SEN(msgget),                    "msgget"                },
+[400] = { 4,   TI,             SEN(msgsnd),                    "msgsnd"                },
+[401] = { 5,   TI,             SEN(msgrcv),                    "msgrcv"                },
+[402] = { 3,   TI,             SEN(msgctl),                    "msgctl"                },
 
 #define SYS_socket_subcall     500
 #include "subcall.h"
index d637c53e1bea1efff1057dee0d238e76b404e15a..6e6ccd1c37ab68db9d895a3e9a93bc0323ac7420 100644 (file)
 [359] = { 6,   TD,             SEN(pwritev2),                  "pwritev2"              },
 [360] = { 5,   TD|TF|TSTA,     SEN(statx),                     "statx"                 },
 [361] = { 6,   0,              SEN(io_pgetevents),             "io_pgetevents"         },
+/* room for arch specific calls */
+[393] = { 3,   TI,             SEN(semget),                    "semget"                },
+[394] = { 4,   TI,             SEN(semctl),                    "semctl"                },
+[395] = { 3,   TI,             SEN(shmget),                    "shmget"                },
+[396] = { 3,   TI,             SEN(shmctl),                    "shmctl"                },
+[397] = { 3,   TI|TM|SI,       SEN(shmat),                     "shmat"                 },
+[398] = { 1,   TI|TM|SI,       SEN(shmdt),                     "shmdt"                 },
+[399] = { 2,   TI,             SEN(msgget),                    "msgget"                },
+[400] = { 4,   TI,             SEN(msgsnd),                    "msgsnd"                },
+[401] = { 5,   TI,             SEN(msgrcv),                    "msgrcv"                },
+[402] = { 3,   TI,             SEN(msgctl),                    "msgctl"                },
 
 #define SYS_socket_subcall     500
 #include "subcall.h"
index 24de6794ff102f534f88d22d277aa910ea79817c..85e753aa117fde96ba4893b0df41be3cf865ae24 100644 (file)
 [359] = { 6,   TD,             SEN(pwritev2),                  "pwritev2"              },
 [360] = { 5,   TD|TF|TSTA,     SEN(statx),                     "statx"                 },
 [361] = { 6,   0,              SEN(io_pgetevents),             "io_pgetevents"         },
+/* room for arch specific calls */
+[392] = { 4,   TI,             SEN(semtimedop),                "semtimedop"            },
+[393] = { 3,   TI,             SEN(semget),                    "semget"                },
+[394] = { 4,   TI,             SEN(semctl),                    "semctl"                },
+[395] = { 3,   TI,             SEN(shmget),                    "shmget"                },
+[396] = { 3,   TI,             SEN(shmctl),                    "shmctl"                },
+[397] = { 3,   TI|TM|SI,       SEN(shmat),                     "shmat"                 },
+[398] = { 1,   TI|TM|SI,       SEN(shmdt),                     "shmdt"                 },
+[399] = { 2,   TI,             SEN(msgget),                    "msgget"                },
+[400] = { 4,   TI,             SEN(msgsnd),                    "msgsnd"                },
+[401] = { 5,   TI,             SEN(msgrcv),                    "msgrcv"                },
+[402] = { 3,   TI,             SEN(msgctl),                    "msgctl"                },
 
 #define SYS_socket_subcall     500
 #include "subcall.h"