]> git.baikalelectronics.ru Git - kernel.git/commit
binfmt_flat: update libraries' data segment pointer with userspace accessors
authorNicolas Pitre <nicolas.pitre@linaro.org>
Sun, 24 Jul 2016 15:30:24 +0000 (11:30 -0400)
committerGreg Ungerer <gerg@linux-m68k.org>
Thu, 28 Jul 2016 03:29:11 +0000 (13:29 +1000)
commitb76dd7191caf8078a42360b80d4a37a5b1597935
treef99e0a68e37cc4d2d70f4f8b62f68cf9374626cb
parentf71d748f5c45a10b436b2b5a7dc24868d1b82ca2
binfmt_flat: update libraries' data segment pointer with userspace accessors

This is needed on systems with a MMU.  This also gets rid of the
strangest C code I've seen lateli i.e. an integer indexed with a
pointer value within square brackets. That really looked backwards.

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