summaryrefslogtreecommitdiff
path: root/privs.c
AgeCommit message (Expand)AuthorFilesLines
2013-06-04privs: move drop_privileges out of xutilsDaniel Borkmann1-0/+19
ludemode:
authorJames Hogan <james.hogan@imgtec.com>2016-08-01 09:07:52 +0100
committerJames Hogan <james.hogan@imgtec.com>2016-09-08 18:29:39 +0100
commitf6f7017192ad62669dc8aa4cb33e5f5a0ecd2d81 (patch)
treef722f2e018aa2e32ea6850bf55076f8f0fca7dd9 /Documentation
parentfa8410b355251fd30341662a40ac6b22d3e38468 (diff)
KVM: MIPS: Override HVA error values for EVA
MIPS Enhanced Virtual Addressing (EVA) allows the user mode and kernel mode address spaces to overlap, breaking the assumption that PAGE_OFFSET is an appropriate KVM HVA error value, since PAGE_OFFSET may be as low as zero. Fix this in the same way that s390 does in commit bf640876e21f ("KVM: s390: Make KVM_HVA_ERR_BAD usable on s390"), by overriding KVM_HVA_ERR_[RO_]BAD and kvm_is_error_hva() in asm/kvm_host.h. Signed-off-by: James Hogan <james.hogan@imgtec.com> Cc: Paolo Bonzini <pbonzini@redhat.com> Cc: "Radim Krčmář" <rkrcmar@redhat.com> Cc: Ralf Baechle <ralf@linux-mips.org> Cc: linux-mips@linux-mips.org Cc: kvm@vger.kernel.org
Diffstat (limited to 'Documentation')