mirror of https://gitee.com/openkylin/linux.git
f307ab6dce
This removes the 'write' argument from access_process_vm() and replaces it with 'gup_flags' as use of this function previously silently implied FOLL_FORCE, whereas after this patch callers explicitly pass this flag. We make this explicit as use of FOLL_FORCE can result in surprising behaviour (and hence bugs) within the mm subsystem. Signed-off-by: Lorenzo Stoakes <lstoakes@gmail.com> Acked-by: Jesper Nilsson <jesper.nilsson@axis.com> Acked-by: Michal Hocko <mhocko@suse.com> Acked-by: Michael Ellerman <mpe@ellerman.id.au> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> |
||
---|---|---|
.. | ||
.gitignore | ||
Makefile | ||
align.c | ||
asm-offsets.c | ||
entry.S | ||
head.S | ||
irq.c | ||
m32r_ksyms.c | ||
module.c | ||
process.c | ||
ptrace.c | ||
setup.c | ||
signal.c | ||
smp.c | ||
smpboot.c | ||
sys_m32r.c | ||
syscall_table.S | ||
time.c | ||
traps.c | ||
vmlinux.lds.S |