sparc, sparc64: fix decoding of mmap2

* linux/sparc/syscallent.h (mmap2): Decode with sys_mmap_4koff,
not sys_mmap.
* linux/sparc64/syscallent2.h (mmap2): Decode with sys_mmap_pgoff,
not sys_mmap.
This commit is contained in:
Дмитрий Левин 2015-03-19 22:58:22 +00:00
parent 485f8fb250
commit b4aefa7595
2 changed files with 3 additions and 1 deletions

View File

@ -54,7 +54,7 @@
[ 53] = { 0, NF, sys_getgid, "getgid32" },
[ 54] = { 3, TD, sys_ioctl, "ioctl" },
[ 55] = { 4, 0, sys_reboot, "reboot" },
[ 56] = { 6, TD|TM|SI, sys_mmap, "mmap2" },
[ 56] = { 6, TD|TM|SI, sys_mmap_4koff, "mmap2" },
[ 57] = { 2, TF, sys_symlink, "symlink" },
[ 58] = { 3, TF, sys_readlink, "readlink" },
[ 59] = { 3, TF|TP|SE|SI, sys_execve, "execve" },

View File

@ -1 +1,3 @@
#define sys_mmap_4koff sys_mmap_pgoff
#include "../sparc/syscallent.h"
#undef sys_mmap_4koff