advapi32: Fix the AccessCheck tests so that the ACCESS_SYSTEM_SECURITY test now runs (when the user has the Security privilege).

Robert Shearman rob at codeweavers.com
Mon Feb 18 13:39:19 CST 2008


Duplicate the token at SecurityImpersonation impersonation level instead 
of SecurityIdentification, otherwise the call to RtlAdjustPrivilege 
fails on Windows.
---
  dlls/advapi32/tests/security.c |    2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cd64a99185957e854f4ef2e851a1b7cd1bd13bca.diff
Type: text/x-patch
Size: 565 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080218/b4c5ddef/attachment-0001.bin 


More information about the wine-patches mailing list