]> granicus.if.org Git - strace/commitdiff
Fix decoding of mmap2 for arm
authorAndreas Schwab <schwab@suse.de>
Mon, 9 Mar 2015 15:55:06 +0000 (16:55 +0100)
committerAndreas Schwab <schwab@suse.de>
Thu, 12 Mar 2015 09:52:22 +0000 (10:52 +0100)
* syscallent.h (mmap2): Decode with sys_mmap_4koff, not
sys_mmap_pgoff.

linux/arm/syscallent.h

index 52aed9ed2ba2892b61a4f87d001124097553258c..b66a5a2f89f04fce5eb69e50dffba854f0a5b4ff 100644 (file)
 [189] = { 5,   0,              sys_putpmsg,                    "putpmsg"               },
 [190] = { 0,   TP,             sys_vfork,                      "vfork"                 },
 [191] = { 2,   0,              sys_getrlimit,                  "ugetrlimit"            },
-[192] = { 6,   TD|TM|SI,       sys_mmap_pgoff,                 "mmap2"                 },
+[192] = { 6,   TD|TM|SI,       sys_mmap_4koff,                 "mmap2"                 },
 [193] = { 4,   TF,             sys_truncate64,                 "truncate64"            },
 [194] = { 4,   TD,             sys_ftruncate64,                "ftruncate64"           },
 [195] = { 2,   TF,             sys_stat64,                     "stat64"                },