[1/4] server: A new function "set_sd_defaults_from_token" (try 3)

Joris van der Wel joris at jorisvanderwel.com
Tue Jul 8 17:58:10 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 | 23 +++++++++++++++--------
 server/object.h |  2 ++
 2 files changed, 17 insertions(+), 8 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-server-A-new-function-set_sd_defaults_from_token-tha.patch
Type: application/octet-stream
Size: 4211 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20140709/6320c376/attachment.obj>


More information about the wine-patches mailing list