]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/exec.c
sdhci: graceful handling of bad addresses
[linux-2.6-omap-h63xx.git] / fs / exec.c
index da94a6f05df3ef6dfd9db450e8f813c513b6a47d..fd9234379e8d2816965ff924ace687160ff0c365 100644 (file)
--- 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