binfmt_flat: use clear_user() rather than memset() to clear .bss
authorNicolas Pitre <nicolas.pitre@linaro.org>
Sun, 24 Jul 2016 15:30:23 +0000 (11:30 -0400)
committerGreg Ungerer <gerg@linux-m68k.org>
Thu, 28 Jul 2016 03:29:11 +0000 (13:29 +1000)
commit467aa1465a7b9f0bd1a23c83bff8c38e3c3e660e
treee5e478b273192a601f81bee6a8d3f78116cdffb9
parent1b2ce442ea96b1e76300553963154d68cc5b4ad0
binfmt_flat: use clear_user() rather than memset() to clear .bss

This is needed on systems with a MMU.

Signed-off-by: Nicolas Pitre <nico@linaro.org>
Reviewed-by: Greg Ungerer <gerg@linux-m68k.org>
Signed-off-by: Greg Ungerer <gerg@linux-m68k.org>
fs/binfmt_flat.c