• Dmitry Timoshkov's avatar
    libs/wine: Allow to modify reserved LDT entries. · ee687f10
    Dmitry Timoshkov authored
    Some implementation notes:
    
    1. Some copy protections call NtSetLdtEntries(0x000f) and then with 'retf'
    instruction jump to that selector expecting that it works (the tests show that
    NtSetLdtEntries(0x000f,0x001f) should succeed). In order to make this work a
    limitation to set only selectors > LDT_FIRST_ENTRY (512) in wine_ldt_set_entry()
    was removed.
    
    2. wine_ldt_set_entry() was made to always mark modified selector entries as
    WINE_LDT_FLAGS_ALLOCATED, otherwise get_selector_entry() server call returns
    entries without that flag set and NtQueryInformationThread(ThreadDescriptorTableEntry)
    fails.
    ee687f10
Name
Last commit
Last update
..
adsiid Loading commit data...
dmoguids Loading commit data...
dxerr8 Loading commit data...
dxerr9 Loading commit data...
dxguid Loading commit data...
faudio Loading commit data...
gsm Loading commit data...
jpeg Loading commit data...
jxr Loading commit data...
lcms2 Loading commit data...
mfuuid Loading commit data...
mpg123 Loading commit data...
png Loading commit data...
strmbase Loading commit data...
strmiids Loading commit data...
tiff Loading commit data...
uuid Loading commit data...
vkd3d Loading commit data...
wbemuuid Loading commit data...
wine Loading commit data...
wmcodecdspuuid Loading commit data...
xml2 Loading commit data...
xslt Loading commit data...
zlib Loading commit data...