diff options
author | 2019-04-26 16:23:37 +0000 | |
---|---|---|
committer | 2019-05-03 01:20:26 +1000 | |
commit | da3a3b0a0e38377c98946420acdc7d4ca38cff47 (patch) | |
tree | 56962be152c3046b9e791ff5a9867da9b4a0ba7c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | powerpc/32s: set up an early static hash table for KASAN. (diff) | |
download | linux-dev-da3a3b0a0e38377c98946420acdc7d4ca38cff47.tar.xz linux-dev-da3a3b0a0e38377c98946420acdc7d4ca38cff47.zip |
powerpc/32s: map kasan zero shadow with PAGE_READONLY instead of PAGE_KERNEL_RO
For hash32, the zero shadow page gets mapped with PAGE_READONLY instead
of PAGE_KERNEL_RO, because the PP bits don't provide a RO kernel, so
PAGE_KERNEL_RO is equivalent to PAGE_KERNEL. By using PAGE_READONLY,
the page is RO for both kernel and user, but this is not a security issue
as it contains only zeroes.
Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions