diff options
author | Kees Cook <keescook@chromium.org> | 2016-05-09 13:22:07 -0700 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2016-05-10 10:12:04 +0200 |
commit | 06486d6c97cebc2433a40a979f3849cd68184de9 (patch) | |
tree | b2b09df50f5b0c5dc88f046fcba7bc5c4d747203 /arch/ia64/hp | |
parent | c401cf1524153f9c2ede7ab8ece403513925770a (diff) | |
download | op-kernel-dev-06486d6c97cebc2433a40a979f3849cd68184de9.zip op-kernel-dev-06486d6c97cebc2433a40a979f3849cd68184de9.tar.gz |
x86/KASLR: Return earliest overlap when avoiding regions
In preparation for being able to detect where to split up contiguous
memory regions that overlap with memory regions to avoid, we need to
pass back what the earliest overlapping region was. This modifies the
overlap checker to return that information.
Based on a separate mem_min_overlap() implementation by Baoquan He.
Signed-off-by: Kees Cook <keescook@chromium.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Andy Lutomirski <luto@amacapital.net>
Cc: Andy Lutomirski <luto@kernel.org>
Cc: Baoquan He <bhe@redhat.com>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Borislav Petkov <bp@suse.de>
Cc: Brian Gerst <brgerst@gmail.com>
Cc: Dave Young <dyoung@redhat.com>
Cc: Denys Vlasenko <dvlasenk@redhat.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Vivek Goyal <vgoyal@redhat.com>
Cc: Yinghai Lu <yinghai@kernel.org>
Cc: kernel-hardening@lists.openwall.com
Cc: lasse.collin@tukaani.org
Link: http://lkml.kernel.org/r/1462825332-10505-5-git-send-email-keescook@chromium.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/ia64/hp')
0 files changed, 0 insertions, 0 deletions