[1/4] server: A new function "set_sd_defaults_from_token".

Joris van der Wel joris at jorisvanderwel.com
Wed Sep 17 09:18:01 CDT 2014


server: A new function "set_sd_defaults_from_token".

It sets the security descriptor along with a token that will be used
to gather defaults, instead of always using the primary token.

Some objects take their defaults not from a primary token but from a
different one (such as from the impersonation token or the process
token).
This function can be used to create the various set_sd implementations
for the objects that need it.
As a bonus, a NULL token will skip setting any defaults, this is
useful for object implementations that would like to set their
defaults _only_ upon creation.
---
 server/object.c | 25 ++++++++++++++++---------
 server/object.h |  2 ++
 2 files changed, 18 insertions(+), 9 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-server-A-new-function-set_sd_defaults_from_token.patch
Type: application/octet-stream
Size: 4337 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20140917/de6844cb/attachment.obj>


More information about the wine-patches mailing list