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> |
||
---|---|---|
.. | ||
Makefile | ||
cache.c | ||
cacheflush.S | ||
crisksyms.c | ||
debugport.c | ||
entry.S | ||
fasttimer.c | ||
head.S | ||
irq.c | ||
kgdb.c | ||
kgdb_asm.S | ||
process.c | ||
ptrace.c | ||
setup.c | ||
signal.c | ||
time.c | ||
traps.c |