Commit 338fc524 authored by Alexandre Julliard's avatar Alexandre Julliard

kthread: Don't make the stack executable by default.

parent 822be6c9
......@@ -237,8 +237,7 @@ static int create_thread( struct wine_pthread_thread_info *info )
{
if (!info->stack_base)
{
info->stack_base = wine_anon_mmap( NULL, info->stack_size,
PROT_READ | PROT_WRITE | PROT_EXEC, 0 );
info->stack_base = wine_anon_mmap( NULL, info->stack_size, PROT_READ | PROT_WRITE, 0 );
if (info->stack_base == (void *)-1) return -1;
}
#ifdef HAVE_CLONE
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment