VirtualBox

Ignore:
Timestamp:
Jul 6, 2016 12:29:57 PM (8 years ago)
Author:
vboxsync
Message:

HostDrivers/Support/linux: when checking the EFLAGS consistency, don't check the IOPL as it's unimportant in kernel mode. Another task running with IOPL3 might mess it up.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/Support/linux/SUPDrv-linux.c

    r60584 r62051  
    700700     * accidentially modified it or some other important flag.
    701701     */
    702     if (RT_UNLIKELY(   (ASMGetFlags() & (X86_EFL_AC | X86_EFL_IF | X86_EFL_DF | X86_EFL_IOPL))
    703                     != ((fSavedEfl    & (X86_EFL_AC | X86_EFL_IF | X86_EFL_DF | X86_EFL_IOPL)) | X86_EFL_AC) ))
     702    if (RT_UNLIKELY(   (ASMGetFlags() & (X86_EFL_AC | X86_EFL_IF | X86_EFL_DF))
     703                    != ((fSavedEfl    & (X86_EFL_AC | X86_EFL_IF | X86_EFL_DF)) | X86_EFL_AC) ))
    704704    {
    705705        char szTmp[48];
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette