Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
1deefb84
Commit
1deefb84
authored
Nov 12, 2019
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32: Use RtlCreateUserProcess() to start new processes.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
c3bfc1b7
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
process.c
dlls/kernel32/process.c
+0
-0
process.c
dlls/ntdll/process.c
+2
-1
No files found.
dlls/kernel32/process.c
View file @
1deefb84
This diff is collapsed.
Click to expand it.
dlls/ntdll/process.c
View file @
1deefb84
...
...
@@ -967,6 +967,7 @@ static startup_info_t *create_startup_info( const RTL_USER_PROCESS_PARAMETERS *p
if
(
!
(
info
=
RtlAllocateHeap
(
GetProcessHeap
(),
HEAP_ZERO_MEMORY
,
size
)))
return
NULL
;
info
->
debug_flags
=
params
->
DebugFlags
;
info
->
console_flags
=
params
->
ConsoleFlags
;
info
->
console
=
wine_server_obj_handle
(
params
->
ConsoleHandle
);
info
->
hstdin
=
wine_server_obj_handle
(
params
->
hStdInput
);
...
...
@@ -1606,7 +1607,7 @@ NTSTATUS WINAPI RtlCreateUserProcess( UNICODE_STRING *path, ULONG attributes,
SERVER_START_REQ
(
new_process
)
{
req
->
inherit_all
=
inherit
;
req
->
create_flags
=
0
;
req
->
create_flags
=
params
->
DebugFlags
;
/* hack: creation flags stored in DebugFlags for now */
req
->
socket_fd
=
socketfd
[
1
];
req
->
exe_file
=
wine_server_obj_handle
(
file_handle
);
req
->
access
=
PROCESS_ALL_ACCESS
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment