]> granicus.if.org Git - strace/commitdiff
alpha: fix decoding of shmat syscall
authorDmitry V. Levin <ldv@altlinux.org>
Wed, 20 Apr 2016 01:05:18 +0000 (01:05 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Wed, 20 Apr 2016 01:08:12 +0000 (01:08 +0000)
On alpha, shmat syscall is known as osf_shmat.

* linux/alpha/syscallent.h (osf_shmat): Fix sys_flags and sys_func.

linux/alpha/syscallent.h

index 1bddd2448abea1b44533767e0cd5e02b91ffc620..69d252aff73d3ef7babc9a3b07253bfb6fcf6210 100644 (file)
 [206] = { 3,   TI,             SEN(semop),                     "semop"                 },
 [207] = { 1,   0,              SEN(printargs),                 "osf_utsname"           },
 [208] = { 3,   TF,             SEN(chown),                     "lchown"                },
-[209] = { 3,   TI|TM,          SEN(printargs),                 "osf_shmat"             },
+[209] = { 3,   TI|TM|SI,       SEN(shmat),                     "osf_shmat"             },
 [210] = { 3,   TI,             SEN(shmctl),                    "shmctl"                },
 [211] = { 1,   TI|TM|SI,       SEN(shmdt),                     "shmdt"                 },
 [212] = { 3,   TI,             SEN(shmget),                    "shmget"                },