]> git.baikalelectronics.ru Git - kernel.git/commit
binfmt_flat: clean up create_flat_tables() and stack accesses
authorNicolas Pitre <nicolas.pitre@linaro.org>
Sun, 24 Jul 2016 15:30:20 +0000 (11:30 -0400)
committerGreg Ungerer <gerg@linux-m68k.org>
Mon, 25 Jul 2016 06:52:01 +0000 (16:52 +1000)
commitdfcd69bb38fbe60daec1e5742c9fb65fdd7771d1
tree5df0cbdd1eb58de03738c0e6033549808fd9dbec
parent6edf77f4940aae2daa9ff3ebd6e3b341fdd74f46
binfmt_flat: clean up create_flat_tables() and stack accesses

In addition to better code clarity, this brings proper usage of
user memory accessors everywhere the stack is touched. This is essential
for making this work on MMU systems.

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