[PATCH v6 3/8] arm: fixmap: implement __set_fixmap()

2014-09-18 Thread Kees Cook
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: Kees Cook Cc: Rabin Vincent Acked-by: Nicolas Pitre --- arch/arm/include/asm/fixmap.h | 2 ++

[PATCH v6 3/8] arm: fixmap: implement __set_fixmap()

2014-09-18 Thread Kees Cook
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: Kees Cook keesc...@chromium.org Cc: Rabin Vincent ra...@rab.in Acked-by: Nicolas Pitre