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
be90ae2f
Commit
be90ae2f
authored
Sep 12, 2009
by
Michael Karcher
Committed by
Alexandre Julliard
Sep 15, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Fix DEP status initialization.
parent
689984b4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
loader.c
dlls/ntdll/loader.c
+2
-1
process.c
dlls/ntdll/process.c
+1
-1
No files found.
dlls/ntdll/loader.c
View file @
be90ae2f
...
...
@@ -809,8 +809,9 @@ static WINE_MODREF *alloc_module( HMODULE hModule, LPCWSTR filename )
if
(
!
(
nt
->
OptionalHeader
.
DllCharacteristics
&
IMAGE_DLLCHARACTERISTICS_NX_COMPAT
))
{
ULONG
flags
=
MEM_EXECUTE_OPTION_ENABLE
;
WARN
(
"disabling no-exec because of %s
\n
"
,
debugstr_w
(
wm
->
ldr
.
BaseDllName
.
Buffer
)
);
VIRTUAL_SetForceExec
(
TRUE
);
NtSetInformationProcess
(
GetCurrentProcess
(),
ProcessExecuteFlags
,
&
flags
,
sizeof
(
flags
)
);
}
return
wm
;
}
...
...
dlls/ntdll/process.c
View file @
be90ae2f
...
...
@@ -37,7 +37,7 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
ntdll
);
static
ULONG
execute_flags
=
MEM_EXECUTE_OPTION_
EN
ABLE
;
static
ULONG
execute_flags
=
MEM_EXECUTE_OPTION_
DIS
ABLE
;
/*
* Process object
...
...
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