usercopy: Move enum for arch_within_stack_frames()

This patch moves the arch_within_stack_frames() return value enum up in
the header files so that per-architecture implementations can reuse the
same return values.

Signed-off-by: Sahara <keun-o.park@darkmatter.ae>
Signed-off-by: James Morse <james.morse@arm.com>
[kees: adjusted naming and commit log]
Signed-off-by: Kees Cook <keescook@chromium.org>
This commit is contained in:
Sahara 2017-02-16 18:29:15 +00:00 • committed by Kees Cook
commit 96dc4f9fb6
3 changed files with 20 additions and 13 deletions