Andrew Morton
unread,Jan 9, 2021, 5:34:12 PM1/9/21Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Sign in to report message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Dmitry Vyukov, syzbot, LKML, Linux-MM, syzkaller-bugs
For some reason I cant reproduce this with that .config, but presumably
this is the fix?
From: Andrew Morton <
ak...@linux-foundation.org>
Subject: mm/process_vm_access.c: include compat.h
mm/process_vm_access.c:277:5: error: implicit declaration of function 'in_compat_syscall'; did you mean 'in_ia32_syscall'? [-Werror=implicit-function-declaration]
Fixes: 38dc5079da7081e "Fix compat regression in process_vm_rw()"
Reported-by:
syzbot+5b0d0d...@syzkaller.appspotmail.com
Cc: Kyle Huey <
m...@kylehuey.com>
Cc: Jens Axboe <
ax...@kernel.dk>
Cc: Al Viro <
vi...@zeniv.linux.org.uk>
Cc: Christoph Hellwig <
h...@lst.de>
Signed-off-by: Andrew Morton <
ak...@linux-foundation.org>
---
mm/process_vm_access.c | 1 +
1 file changed, 1 insertion(+)
--- a/mm/process_vm_access.c~a
+++ a/mm/process_vm_access.c
@@ -9,6 +9,7 @@
#include <linux/mm.h>
#include <linux/uio.h>
#include <linux/sched.h>
+#include <linux/compat.h>
#include <linux/sched/mm.h>
#include <linux/highmem.h>
#include <linux/ptrace.h>
_