Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b53c2d24 authored by Kees Cook's avatar Kees Cook Committed by Kees Cook
Browse files

UPSTREAM: arm: fixmap: implement __set_fixmap()



This is used from set_fixmap() and clear_fixmap() via asm-generic/fixmap.h.
Also makes sure that the fixmap allocation fits into the expected range.

Based on patch by Rabin Vincent.

Signed-off-by: default avatarKees Cook <keescook@chromium.org>
Cc: Rabin Vincent <rabin@rab.in>
Acked-by: default avatarNicolas Pitre <nico@linaro.org>

(cherry picked from commit 99b4ac9afce4129323b5b4c7002a942a9489914c)
Signed-off-by: default avatarKees Cook <keescook@google.com>
Change-Id: I75289a69240a5e36902e66c75dba0bef1b2ec05d
parent 7173a253
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment