]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commit
Use bitwise AND operation while fetching current IOPL.
authorOliver Kurth <okurth@vmware.com>
Fri, 5 Oct 2018 20:55:27 +0000 (13:55 -0700)
committerOliver Kurth <okurth@vmware.com>
Fri, 5 Oct 2018 20:55:27 +0000 (13:55 -0700)
commitb4b07f53c71a83beed8fdc11f2dfeeb43aa20fda
tree010cb2f782fd94be191bff5a2ac29b732fae4698
parent87593b29e5c337141be65e4430fb95a4f1741afb
Use bitwise AND operation while fetching current IOPL.

Iopl_Get() was using logical AND operation which could result
in wrong IOPL value. We should be using bitwise AND instead.
open-vm-tools/lib/include/ioplGet.h