diff options
author | Nicolas Pitre <nicolas.pitre@linaro.org> | 2016-07-24 18:30:21 +0300 |
---|---|---|
committer | Greg Ungerer <gerg@linux-m68k.org> | 2016-07-25 09:52:06 +0300 |
commit | 6e572ffe3feb8a02ed0044987654e07670aeffc2 (patch) | |
tree | 66198e5622e32f4ed2eba4c932cae58a515c3cc9 /include | |
parent | a97d157d00cd0ccbcfde3da7bbf34ab7c68cf4eb (diff) | |
download | linux-6e572ffe3feb8a02ed0044987654e07670aeffc2.tar.xz |
binfmt_flat: use proper user space accessors with relocs processing code
Relocs are fixed up in place in user space memory. The appropriate
accessors are required for this code to work with an active MMU.
The architecture specific handlers flat_get_addr_from_rp() and
flat_put_addr_at_rp() for ARM and M68K are adjusted with separate
patches. SuperH and Xtensa are left out as they doesn't implement
__get_user_unaligned() and __put_user_unaligned() yet. The other
architectures that use BFLT don't have any MMU.
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>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions