X-Git-Url: http://git.cascardo.info/?a=blobdiff_plain;f=arch%2Fx86%2Fum%2Fptrace_64.c;h=e30202b1716efb4243372d02e61f5f8269203419;hb=b6ffb11e4e5b6d1ae61c26c90255877fa4749eca;hp=0b5c184dd5b3b80894c3db60ead6432ad20dca57;hpb=d880e5ad0df3c2e1d69bb356737a46abb5087d42;p=cascardo%2Flinux.git diff --git a/arch/x86/um/ptrace_64.c b/arch/x86/um/ptrace_64.c index 0b5c184dd5b3..e30202b1716e 100644 --- a/arch/x86/um/ptrace_64.c +++ b/arch/x86/um/ptrace_64.c @@ -212,7 +212,8 @@ int is_syscall(unsigned long addr) * slow, but that doesn't matter, since it will be called only * in case of singlestepping, if copy_from_user failed. */ - n = access_process_vm(current, addr, &instr, sizeof(instr), 0); + n = access_process_vm(current, addr, &instr, sizeof(instr), + FOLL_FORCE); if (n != sizeof(instr)) { printk("is_syscall : failed to read instruction from " "0x%lx\n", addr);