diff options
author | 2008-02-09 23:24:09 +0100 | |
---|---|---|
committer | 2008-02-09 23:24:09 +0100 | |
commit | fac84939609a683503947f41eb93e1917d026263 (patch) | |
tree | 8bf2df694a2300a277cf097ba778f9b4b28f2122 /security/selinux/hooks.c | |
parent | x86: cpa, enable CONFIG_DEBUG_PAGEALLOC on 64-bit (diff) | |
download | linux-rng-fac84939609a683503947f41eb93e1917d026263.tar.xz linux-rng-fac84939609a683503947f41eb93e1917d026263.zip |
x86: cpa, strict range check in try_preserve_large_page()
Right now, we check only the first 4k page for static required protections.
This does not take overlapping regions into account. So we might end up
setting the wrong permissions/protections for other parts of this large page.
This can be optimized further, but correctness is the important part.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions