[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Sun, 2 Feb 2014 12:15:52 +0100
From: Helge Deller <deller@....de>
To: Richard Weinberger <richard.weinberger@...il.com>,
Linux Kernel <linux-kernel@...r.kernel.org>,
linux-parisc@...r.kernel.org,
James Bottomley <James.Bottomley@...senPartnership.com>,
James Hogan <james.hogan@...tec.com>,
linux-metag@...r.kernel.org
Cc: Helge Deller <deller@....de>,
Linus Torvalds <torvalds@...ux-foundation.org>
Subject: Re: [GIT PULL] parisc updates for v3.14
* Richard Weinberger <richard.weinberger@...il.com>:
> On Sat, Feb 1, 2014 at 9:23 PM, Helge Deller <deller@....de> wrote:
> > please pull the latest updates for the parisc architecture from:
> >
> > git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux.git parisc-for-3.14
> >
> > The three major changes in this patchset is a implementation for flexible
> > userspace memory maps, ....
> >
> > The change to fs/exec.c only touches code which affects parisc since it's
> > inside a #ifdef CONFIG_STACK_GROWSUP section (and parisc is the only platform
> > where the stack grows upwards).
>
> What about metag?
Great! I didn't know that we now have another platform where the stack
grows upwards! Now we are not alone in this regard!
Anyway, the suggested & untested patch below should fix the metag arch
to cope which my changes to fs/exec.c (unless the metag people want to
implement proper stack randomization too). Either I can push it via the
parisc tree, or you can take it via the metag tree. Please let me know.
> > Helge Deller (5):
> > parisc: add flexible mmap memory layout support
> > ...
> > fs/exec.c | 3 +
(see:
http://git.kernel.org/cgit/linux/kernel/git/deller/parisc-linux.git/commit/?h=for-next&id=13de8ec38997357c9865a36a587439d9c5678932 )
[PATCH] metag: define STACK_RND_MASK as -1
Signed-off-by: Helge Deller <deller@....de>
diff --git a/arch/metag/include/asm/elf.h b/arch/metag/include/asm/elf.h
index d2baf69..089e37a 100644
--- a/arch/metag/include/asm/elf.h
+++ b/arch/metag/include/asm/elf.h
@@ -100,7 +100,7 @@ typedef unsigned long elf_fpregset_t;
#define ELF_PLATFORM (NULL)
-#define STACK_RND_MASK (0)
+#define STACK_RND_MASK (-1)
#ifdef CONFIG_METAG_USER_TCM
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists