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)
commita97d157d00cd0ccbcfde3da7bbf34ab7c68cf4eb
tree5df0cbdd1eb58de03738c0e6033549808fd9dbec
parent687fd7738ec322ea5994a692c20301eed315899d
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
This page took 0.025102 seconds and 5 git commands to generate.