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

Joris van der Wel joris at jorisvanderwel.com
Tue Jul 8 17:59:30 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: application/octet-stream
Size: 9198 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20140709/1b229001/attachment.obj>


More information about the wine-patches mailing list