advapi32: Report world-access ACL by default for registry objects.

Erich E. Hoover ehoover at mymail.mines.edu
Thu Feb 7 12:59:17 CST 2013


The attached patch fixes an issue where the Opera installer expects
registry keys to return an ACL (Bug #32904), concluding the cleanup of
[Get|Set]NamedSecurityInfo.  This patch addresses the issue by
attaching a default security descriptor to registry objects that
contains a world-access ACL, which is sufficient to keep the installer
from encountering an error.  The included test shows that this
behavior is essentially the case for system keys on Windows, though
the "Authenticated Users" (AU) ACL is returned instead.  Since the AU
ACL is not recognized by Wine, using that ACL would be a poor choice
to return at this time, as it would cause accessing registry keys to
fail.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-advapi32-Report-world-access-ACL-by-default-for-regi.patch
Type: application/octet-stream
Size: 6481 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20130207/02d85e0d/attachment.obj>


More information about the wine-patches mailing list