kernel32/server: Marshal process' security descriptor to the server
when creating new process. [try 2]
Vitaliy Margolen
wine-patches at kievinfo.com
Thu May 17 09:04:51 CDT 2007
Check security descriptor before using it in server.
This time do it in the "new_process" server call to avoid any race conditions.
Additional tests indicated that only DACL is used for the new process. Everything
else is ignored.
---
dlls/advapi32/tests/security.c | 3 --
dlls/kernel32/process.c | 48 ++++++++++++++++++++++++++++++++++++++++
server/process.c | 13 +++++++++-
server/protocol.def | 2 +
server/security.h | 3 ++
server/token.c | 6 ++--
6 files changed, 67 insertions(+), 8 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 1d2080a37b9408c5a8f6dc9ddbc696996e5080f2.diff
Type: text/x-patch
Size: 8499 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20070517/1d20c6ed/1d2080a37b9408c5a8f6dc9ddbc696996e5080f2.bin
More information about the wine-patches
mailing list