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

Joris van der Wel joris at jorisvanderwel.com
Wed Sep 17 09:18:14 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) get 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: 9262 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20140917/786d89a5/attachment.obj>


More information about the wine-patches mailing list