]> git.baikalelectronics.ru Git - kernel.git/commit
lguest: check vaddr not pgd for Switcher protection.
authorRusty Russell <rusty@rustcorp.com.au>
Mon, 22 Apr 2013 04:40:37 +0000 (14:10 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Mon, 22 Apr 2013 06:01:34 +0000 (15:31 +0930)
commit0a3951577619a9bd52c3c6be3523a0a6b02f7f92
treeea2e4f575463a080cbd426338f3666852ea8919d
parent239ddeeaee42cf8445574c8ff5318bcab68fbd6e
lguest: check vaddr not pgd for Switcher protection.

We currently assume that the Switcher the top pgd; we want to remove
this assumption, so check that vaddr is OK, rather then checking pgd
index.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
drivers/lguest/page_tables.c