Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
75884648
Commit
75884648
authored
Sep 04, 2020
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
commit 14.1.11 upon wine-1.7.25
parent
6ff0ba17
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
0 deletions
+27
-0
process.c
dlls/kernel32/process.c
+27
-0
No files found.
dlls/kernel32/process.c
View file @
75884648
...
@@ -2651,6 +2651,33 @@ static BOOL create_process_impl( LPCWSTR app_name, LPWSTR cmd_line, LPSECURITY_A
...
@@ -2651,6 +2651,33 @@ static BOOL create_process_impl( LPCWSTR app_name, LPWSTR cmd_line, LPSECURITY_A
return
FALSE
;
return
FALSE
;
if
(
hFile
==
INVALID_HANDLE_VALUE
)
goto
done
;
if
(
hFile
==
INVALID_HANDLE_VALUE
)
goto
done
;
/* CROSSOVER HACK: bug 13322 (winehq bug 39403)
* Insert --no-sandbox in command line of Steam's web helper process to
* work around problems hooking our ntdll exports. */
{
static
const
WCHAR
steamwebhelperexeW
[]
=
{
's'
,
't'
,
'e'
,
'a'
,
'm'
,
'w'
,
'e'
,
'b'
,
'h'
,
'e'
,
'l'
,
'p'
,
'e'
,
'r'
,
'.'
,
'e'
,
'x'
,
'e'
,
0
};
static
const
WCHAR
nosandboxW
[]
=
{
' '
,
'-'
,
'-'
,
'n'
,
'o'
,
'-'
,
's'
,
'a'
,
'n'
,
'd'
,
'b'
,
'o'
,
'x'
,
0
};
if
(
strstrW
(
name
,
steamwebhelperexeW
))
{
LPWSTR
new_command_line
;
new_command_line
=
HeapAlloc
(
GetProcessHeap
(),
0
,
sizeof
(
WCHAR
)
*
(
strlenW
(
tidy_cmdline
)
+
strlenW
(
nosandboxW
)
+
1
));
if
(
!
new_command_line
)
return
FALSE
;
strcpyW
(
new_command_line
,
tidy_cmdline
);
strcatW
(
new_command_line
,
nosandboxW
);
TRACE
(
"CrossOver hack changing command line to %s
\n
"
,
debugstr_w
(
new_command_line
));
if
(
tidy_cmdline
!=
cmd_line
)
HeapFree
(
GetProcessHeap
(),
0
,
tidy_cmdline
);
tidy_cmdline
=
new_command_line
;
}
}
/* end CROSSOVER HACK */
/* Warn if unsupported features are used */
/* Warn if unsupported features are used */
if
(
flags
&
(
IDLE_PRIORITY_CLASS
|
HIGH_PRIORITY_CLASS
|
REALTIME_PRIORITY_CLASS
|
if
(
flags
&
(
IDLE_PRIORITY_CLASS
|
HIGH_PRIORITY_CLASS
|
REALTIME_PRIORITY_CLASS
|
...
...
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