X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=fs%2Fexec.c;h=fd9234379e8d2816965ff924ace687160ff0c365;hb=49997d75152b3d23c53b0fa730599f2f74c92c65;hp=da94a6f05df3ef6dfd9db450e8f813c513b6a47d;hpb=e899536470ec83f2792092640148f2488961731b;p=linux-2.6 diff --git a/fs/exec.c b/fs/exec.c index da94a6f05d..fd9234379e 100644 --- a/fs/exec.c +++ b/fs/exec.c @@ -610,7 +610,7 @@ int setup_arg_pages(struct linux_binprm *bprm, bprm->exec -= stack_shift; down_write(&mm->mmap_sem); - vm_flags = vma->vm_flags; + vm_flags = VM_STACK_FLAGS; /* * Adjust stack execute permissions; explicitly enable for