]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2d99b479a1a3af8543014dbabb2aeb0b4484ecc2
treee066d346cba4ca529016be057f3294ecd3e2fd98
parentfebd59da581b753c83ba01686227f91584d6cc01
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