aboutsummaryrefslogtreecommitdiffstats
path: root/sys/linux/sys_386.const
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2017-11-23 08:51:04 +0100
committerDmitry Vyukov <dvyukov@google.com>2017-11-23 08:51:04 +0100
commit7061d1973b6243565cfac50a853543fdffb5a073 (patch)
tree1b9e32d1cd5d7fd8a1b6b8a62b444d7a26492320 /sys/linux/sys_386.const
parent31af2ce0225268bd9d1ed27fef830debbed2a188 (diff)
sys/syz-extract: fix mmap on arm
__NR_mmap is missing on arm entirely, so we disable mmap during generate. Patch mmap to mmap2 right in syz-extract, so that mmap is never missing.
Diffstat (limited to 'sys/linux/sys_386.const')
-rw-r--r--sys/linux/sys_386.const2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/linux/sys_386.const b/sys/linux/sys_386.const
index f9e0e742d..0ef6fda1c 100644
--- a/sys/linux/sys_386.const
+++ b/sys/linux/sys_386.const
@@ -713,7 +713,7 @@ __NR_mknodat = 297
__NR_mlock = 150
__NR_mlock2 = 376
__NR_mlockall = 152
-__NR_mmap = 90
+__NR_mmap = 192
__NR_mmap2 = 192
__NR_modify_ldt = 123
__NR_mount = 21