exec: use flush_icache_user_range in read_code
authorChristoph Hellwig <hch@lst.de>
Mon, 8 Jun 2020 04:42:43 +0000 (21:42 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 8 Jun 2020 18:05:58 +0000 (11:05 -0700)
commitbce2b68b891af3dd02fdc1603786c1c28db8bfad
treedc6e05e7bf8ad289ac4211b51bbf96f05faa8b4d
parent48304f7994d74ef8fddde3ff27ce41aa61453d39
exec: use flush_icache_user_range in read_code

read_code operates on user addresses.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Cc: Alexander Viro <viro@zeniv.linux.org.uk>
Link: http://lkml.kernel.org/r/20200515143646.3857579-27-hch@lst.de
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/exec.c