https://bugs.winehq.org/show_bug.cgi?id=4264
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P2 Status|NEW |RESOLVED Component|-unknown |advapi32 Resolution|--- |FIXED
--- Comment #15 from Anastasius Focht focht@gmx.net --- Hello folks,
revisiting.
This should be fixed now, thanks to Erich Hoover.
--- snip --- $ WINEDEBUG=+tid,+seh,+relay,+ntdll,+advapi,+server wine ./syscheck.exe
log.txt 2>&1
... 0009:Call advapi32.RegOpenKeyExA(80000002,00413588 "Software\Classes",00000000,00020006,0033fae4) ret=00401a78 0009: open_key( parent=001c, access=00020006, attributes=00000000, name=L"Software\Classes" ) 0009: open_key() = 0 { hkey=005c } 0009:Ret advapi32.RegOpenKeyExA() retval=00000000 ret=00401a78 0009:Call KERNEL32.GetProcAddress(7ea80000,00416448 "GetSecurityInfo") ret=00405800 0009:Ret KERNEL32.GetProcAddress() retval=7ea8af80 ret=00405800 0009:Call advapi32.GetSecurityInfo(0000005c,00000004,00000007,00000000,00000000,00000000,00000000,0033fad0) ret=004036da 0009:trace:ntdll:NtQuerySecurityObject (0x5c,0x00000007,(nil),0x00000000,0x33f9d4) 0009: get_security_object( handle=005c, security_info=00000007 ) 0009: get_security_object() = 0 { sd_len=0000006c, sd={control=00000014,owner={S-1-5-32-544},group={S-1-5-32-544},sacl={},dacl={{AceType=ACCESS_ALLOWED_ACE_TYPE,Mask=80000000,AceFlags=a,Sid={S-1-5-32-545}},{AceType=ACCESS_ALLOWED_ACE_TYPE,Mask=f003f,AceFlags=0,Sid={S-1-5-32-544}}}} } 0009:trace:ntdll:NtQuerySecurityObject (0x5c,0x00000007,0x1423d8,0x0000006c,0x33f9d0) 0009: get_security_object( handle=005c, security_info=00000007 ) 0009: get_security_object() = 0 { sd_len=0000006c, sd={control=00000014,owner={S-1-5-32-544},group={S-1-5-32-544},sacl={},dacl={{AceType=ACCESS_ALLOWED_ACE_TYPE,Mask=80000000,AceFlags=a,Sid={S-1-5-32-545}},{AceType=ACCESS_ALLOWED_ACE_TYPE,Mask=f003f,AceFlags=0,Sid={S-1-5-32-544}}}} } 0009:Ret advapi32.GetSecurityInfo() retval=00000000 ret=004036da 0009:Call KERNEL32.GetProcAddress(7ea80000,0041636e "GetSecurityDescriptorLength") ret=00405800 0009:Ret KERNEL32.GetProcAddress() retval=7ea8af38 ret=00405800 0009:Call advapi32.GetSecurityDescriptorLength(001423d8) ret=00401bd6 0009:trace:ntdll:RtlLengthSid sid=0x1423ec 0009:trace:ntdll:RtlLengthSid sid=0x1423fc 0009:Ret advapi32.GetSecurityDescriptorLength() retval=0000006c ret=00401bd6 0009:Call ntdll.RtlAllocateHeap(00430000,00000000,0000006c) ret=00405e44 0009:Ret ntdll.RtlAllocateHeap() retval=004313f0 ret=00405e44 0009:Call KERNEL32.GetProcAddress(7ea80000,004162c4 "GetSecurityDescriptorControl") ret=00405800 0009:Ret KERNEL32.GetProcAddress() retval=7ea8aef0 ret=00405800 0009:Call advapi32.GetSecurityDescriptorControl(001423d8,0033fa50,0033fa4c) ret=00401c03 0009:trace:ntdll:RtlGetControlSecurityDescriptor (0x1423d8,0x33fa50,0x33fa4c) 0009:Ret advapi32.GetSecurityDescriptorControl() retval=00000001 ret=00401c03 0009:Call KERNEL32.LocalFree(001423d8) ret=00403739 0009:Ret KERNEL32.LocalFree() retval=00000000 ret=00403739 0009:Call KERNEL32.GetProcAddress(7ea80000,00416300 "GetSecurityDescriptorDacl") ret=00405800 0009:Ret KERNEL32.GetProcAddress() retval=7ea8af08 ret=00405800 0009:Call advapi32.GetSecurityDescriptorDacl(004313f0,0033fae0,0033fae4,0033fadc) ret=00403585 0009:trace:ntdll:RtlGetDaclSecurityDescriptor (0x4313f0,0x33fa6b,0x33fae4,0x33fa6a) 0009:Ret advapi32.GetSecurityDescriptorDacl() retval=00000001 ret=00403585 0009:Call KERNEL32.GetProcAddress(7ea80000,0041641c "GetAclInformation") ret=00405800 0009:Ret KERNEL32.GetProcAddress() retval=7ea8acf8 ret=00405800 0009:Call advapi32.GetAclInformation(00431424,0033fa1c,0000000c,00000002) ret=004032bf 0009:trace:ntdll:RtlQueryInformationAcl pAcl=0x431424 pAclInfo=0x33fa1c len=12, class=2 0009:Ret advapi32.GetAclInformation() retval=00000001 ret=004032bf 0009:Call KERNEL32.GetProcAddress(7ea80000,0041641c "GetAclInformation") ret=00405800 0009:Ret KERNEL32.GetProcAddress() retval=7ea8acf8 ret=00405800 0009:Call advapi32.GetAclInformation(00431424,0033fa34,00000004,00000001) ret=004032d3 0009:trace:ntdll:RtlQueryInformationAcl pAcl=0x431424 pAclInfo=0x33fa34 len=4, class=1 0009:Ret advapi32.GetAclInformation() retval=00000001 ret=004032d3 0009:Call KERNEL32.GetProcAddress(7ea80000,00416412 "GetAce") ret=00405800 0009:Ret KERNEL32.GetProcAddress() retval=7ea8ace0 ret=00405800 0009:Call advapi32.GetAce(00431424,00000000,0033fa4c) ret=004032fd 0009:trace:ntdll:RtlGetAce (0x431424,0,0x33fa4c) 0009:Ret advapi32.GetAce() retval=00000001 ret=004032fd 0009:Call KERNEL32.GetProcAddress(7ea80000,004163d0 "IsValidSid") ret=00405800 0009:Ret KERNEL32.GetProcAddress() retval=7ea8b2f8 ret=00405800 0009:Call advapi32.IsValidSid(00431434) ret=00402215 0009:Ret advapi32.IsValidSid() retval=00000001 ret=00402215 0009:Call KERNEL32.GetProcAddress(7ea80000,004163c0 "GetLengthSid") ret=00405800 0009:Ret KERNEL32.GetProcAddress() retval=7ea8ae30 ret=00405800 0009:Call advapi32.GetLengthSid(00431434) ret=0040222c 0009:trace:ntdll:RtlLengthSid sid=0x431434 0009:Ret advapi32.GetLengthSid() retval=00000010 ret=0040222c 0009:Call KERNEL32.GetProcAddress(7ea80000,004163de "CopySid") ret=00405800 0009:Ret KERNEL32.GetProcAddress() retval=7ea8a398 ret=00405800 0009:Call advapi32.CopySid(00000010,0033fa5c,00431434) ret=0040224b 0009:trace:ntdll:RtlLengthSid sid=0x431434 0009:Ret advapi32.CopySid() retval=00000001 ret=0040224b 0009:Call ntdll.RtlAllocateHeap(00430000,00000000,00000074) ret=00405e44 0009:Ret ntdll.RtlAllocateHeap() retval=00431468 ret=00405e44 0009:Call advapi32.IsValidSid(0033fa5c) ret=004021fd 0009:Ret advapi32.IsValidSid() retval=00000001 ret=004021fd 0009:Call advapi32.GetLengthSid(0033fa5c) ret=00402c1e 0009:trace:ntdll:RtlLengthSid sid=0x33fa5c 0009:Ret advapi32.GetLengthSid() retval=00000010 ret=00402c1e 0009:Call advapi32.CopySid(00000010,00431470,0033fa5c) ret=00402c2a 0009:trace:ntdll:RtlLengthSid sid=0x33fa5c 0009:Ret advapi32.CopySid() retval=00000001 ret=00402c2a 0009:Call ntdll.RtlAllocateHeap(00430000,00000008,00000004) ret=00406124 0009:Ret ntdll.RtlAllocateHeap() retval=004314e8 ret=00406124 0009:Call advapi32.GetAce(00431424,00000001,0033fa4c) ret=004032fd 0009:trace:ntdll:RtlGetAce (0x431424,1,0x33fa4c) 0009:Ret advapi32.GetAce() retval=00000001 ret=004032fd 0009:Call advapi32.IsValidSid(0043144c) ret=00402215 0009:Ret advapi32.IsValidSid() retval=00000001 ret=00402215 0009:Call advapi32.GetLengthSid(0043144c) ret=0040222c 0009:trace:ntdll:RtlLengthSid sid=0x43144c 0009:Ret advapi32.GetLengthSid() retval=00000010 ret=0040222c 0009:Call advapi32.CopySid(00000010,0033fa5c,0043144c) ret=0040224b 0009:trace:ntdll:RtlLengthSid sid=0x43144c 0009:Ret advapi32.CopySid() retval=00000001 ret=0040224b ... 0009:Call advapi32.IsValidSid(0033fa5c) ret=004021fd 0009:Ret advapi32.IsValidSid() retval=00000001 ret=004021fd 0009:Call advapi32.GetLengthSid(0033fa5c) ret=00402c1e 0009:trace:ntdll:RtlLengthSid sid=0x33fa5c 0009:Ret advapi32.GetLengthSid() retval=00000010 ret=00402c1e 0009:Call advapi32.CopySid(00000010,00431508,0033fa5c) ret=00402c2a 0009:trace:ntdll:RtlLengthSid sid=0x33fa5c 0009:Ret advapi32.CopySid() retval=00000001 ret=00402c2a ... 0009:Call advapi32.GetSecurityDescriptorControl(004313f0,0033fae8,0033fad0) ret=00401afb 0009:trace:ntdll:RtlGetControlSecurityDescriptor (0x4313f0,0x33fae8,0x33fad0) 0009:Ret advapi32.GetSecurityDescriptorControl() retval=00000001 ret=00401afb ... 0009:Call advapi32.RegCloseKey(0000005c) ret=00401a53 0009: close_handle( handle=005c ) 0009: close_handle() = 0 0009:Ret advapi32.RegCloseKey() retval=00000000 ret=00401a53 ... --- snip ---
$ sha1sum stop-sign_install.exe bf1a5ee7f81ef5e055d4e2ca466be3ed5689f2dd stop-sign_install.exe
$ du -sh stop-sign_install.exe 13M stop-sign_install.exe
$ wine --version wine-1.7.18
Regards