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

This commit is contained in:
Alexandre Julliard 2006-12-05 15:42:53 +01:00
parent 822be6c90f
commit 338fc52491
1 changed files with 1 additions and 2 deletions

View File

@ -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