diff options
author | Will Deacon <will.deacon@arm.com> | 2017-07-24 13:46:09 +0300 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2017-07-28 12:32:14 +0300 |
commit | 92bbd16e500c85bc210ba48caecbfbdb721bb5b4 (patch) | |
tree | 0acd7880c40cc9ff9aa25cfab242d9ba528db6cd /drivers | |
parent | a3287c41ff405025bc57b165a0f6cd698bbbc1be (diff) | |
download | linux-92bbd16e500c85bc210ba48caecbfbdb721bb5b4.tar.xz |
arm64: mmu: Place guard page after mapping of kernel image
The vast majority of virtual allocations in the vmalloc region are followed
by a guard page, which can help to avoid overruning on vma into another,
which may map a read-sensitive device.
This patch adds a guard page to the end of the kernel image mapping (i.e.
following the data/bss segments).
Cc: Mark Rutland <mark.rutland@arm.com>
Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions