diff options
Diffstat (limited to 'main/linux-grsec/hv-grsec.patch')
-rw-r--r-- | main/linux-grsec/hv-grsec.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/main/linux-grsec/hv-grsec.patch b/main/linux-grsec/hv-grsec.patch new file mode 100644 index 0000000000..6fde341990 --- /dev/null +++ b/main/linux-grsec/hv-grsec.patch @@ -0,0 +1,13 @@ +diff --git a/drivers/staging/hv/Hv.c b/drivers/staging/hv/Hv.c +index b12237f..9d47edb 100644 +--- a/drivers/staging/hv/Hv.c ++++ b/drivers/staging/hv/Hv.c +@@ -133,7 +133,7 @@ static u64 HvDoHypercall(u64 Control, void *Input, void *Output) + u64 hvStatus = 0; + u64 inputAddress = (Input) ? virt_to_phys(Input) : 0; + u64 outputAddress = (Output) ? virt_to_phys(Output) : 0; +- volatile void *hypercallPage = gHvContext.HypercallPage; ++ volatile void *hypercallPage = ktva_ktla(gHvContext.HypercallPage); + + DPRINT_DBG(VMBUS, "Hypercall <control %llx input phys %llx virt %p " + "output phys %llx virt %p hypercall %p>", |