[3/4] server: implement passing a process security descriptor to CreateProcess

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


server: implement passing a process security descriptor to CreateProcess.

For now the function "NTDLL_create_struct_sd" has been duplicated in
kernel32. This is needed because kernel32 makes the server call.
Kernel32 currently makes the server call because NtCreateProcess(Ex)
has not been implemented in ntdll. When NtCreateProcessEx (and
NtCreateThreadEx) gets implemented,
the server call will be made from within ntdll instead, and this extra
function in kernel32 will no longer be needed.
---
 dlls/advapi32/tests/security.c |  3 --
 dlls/kernel32/process.c        | 85 +++++++++++++++++++++++++++++++++++++++++-
 server/process.c               | 24 ++++++++++++
 3 files changed, 108 insertions(+), 4 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-server-implement-passing-a-process-security-descript.patch
Type: text/x-diff
Size: 9253 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20140803/29980f10/attachment-0001.patch>


More information about the wine-patches mailing list