[1/4] server: A new function "set_sd_defaults_from_token" that sets the security descriptor along with a token that will be used to gather defaults, instead of always using the primary token. (try 4)

Joris van der Wel joris at jorisvanderwel.com
Sun Aug 3 05:52:06 CDT 2014


server: A new function "set_sd_defaults_from_token" that 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-tha.patch
Type: text/x-diff
Size: 4329 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20140803/d04d7039/attachment.patch>


More information about the wine-patches mailing list