[PATCH 1/5] server: Get the primary group from the token's groups.
wine-patches at kievinfo.com
Fri Feb 9 10:24:53 CST 2007
We will need group for default security descriptor. Even though msdn
states that owner group used for POSIX compatibility only, I have
never seen a place that didn't require user group for an owner of an
object. Also, as indicated with the tests, security descriptor requires
valid group SID or the access check against token will fail.
Changes from last try:
Because only system can create tokens, token groups can not be altered
after token is created and primary group can only be one of the token's
groups, assert if we don't have a primary group.
server/token.c | 13 +++++++++++--
1 files changed, 11 insertions(+), 2 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 3385 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20070209/58df8f6f/046fe16f39095185fc53ef799bbc3254b088115e.bin
More information about the wine-patches