arm64: Add MIDR value for KRYO2XX gold/silver CPU cores
[linux-2.6-microblaze.git] / fs / binfmt_elf.c
index e7e9d0c..b6b3d05 100644 (file)
@@ -310,7 +310,10 @@ create_elf_tables(struct linux_binprm *bprm, const struct elfhdr *exec,
         * Grow the stack manually; some architectures have a limit on how
         * far ahead a user-space access may be in order to grow the stack.
         */
+       if (mmap_read_lock_killable(mm))
+               return -EINTR;
        vma = find_extend_vma(mm, bprm->p);
+       mmap_read_unlock(mm);
        if (!vma)
                return -EFAULT;