binfmt_flat: allow compressed flat binary format to work on MMU systems
authorNicolas Pitre <nicolas.pitre@linaro.org>
Sun, 24 Jul 2016 15:30:26 +0000 (11:30 -0400)
committerGreg Ungerer <gerg@linux-m68k.org>
Thu, 28 Jul 2016 03:29:12 +0000 (13:29 +1000)
commit472f95f32d5aa07eda96a6b2578b85d7b27c5110
treee066d346cba4ca529016be057f3294ecd3e2fd98
parent015feacf932108429f59b511b29d7e98a629e333
binfmt_flat: allow compressed flat binary format to work on MMU systems

Let's take the simple and obvious approach by decompressing the binary
into a kernel buffer and then copying it to user space.  Those who are
looking for top performance on an MMU system are unlikely to choose this
executable format anyway.

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