RE: [PATCH v2] MIPS: Add nonxstack=on|off kernel parameter

2018-02-13 Thread Aleksandar Markovic
> > > From: James Hogan [jho...@kernel.org] > Sent: Thursday, February 8, 2018 12:55 PM > > Hi, > > On Thu, Dec 07, 2017 at 11:33:47AM +, Miodrag Dinic wrote: > > > On Wed, Dec 06, 2017 at 05:50:52PM +, Maciej W. Rozycki wrote: > > > > What probl

[PATCH v5] MIPS: Add noexec=on|off kernel parameter

2018-01-09 Thread Aleksandar Markovic
Miodrag Dinic Signed-off-by: Aleksandar Markovic --- In the last version, code comments, documentation, and commit message are modified to better explain the purpose and nature of this option. A precautionary note is added as well. --- Documentation/admin-guide/kernel-parameters.

[PATCH v4] MIPS: Add noexec=on|off kernel parameter

2017-12-15 Thread Aleksandar Markovic
pecially useful for Android development where non-exec stack is required. Signed-off-by: Miodrag Dinic Signed-off-by: Aleksandar Markovic --- Parameter name was changed from "nonxstack" to "noexec" in v4, in order to achieve consistency with similar parameter naming for Intel

[PATCH v3] MIPS: Add nonxstack=on|off kernel parameter

2017-11-21 Thread Aleksandar Markovic
nvenient during debugging and is especially useful for Android development where non-exec stack is required. Signed-off-by: Miodrag Dinic Signed-off-by: Aleksandar Markovic --- Documentation/admin-guide/kernel-parameters.txt | 11 +++ arch/mips/kernel/elf.c

[PATCH] MIPS: Add nonxstack=on|off kernel parameter

2017-11-21 Thread Aleksandar Markovic
From: Miodrag Dinic Add a new kernel parameter to override the default behavior related to the decision whether to set up stack as non-executable in function mips_elf_read_implies_exec(). The new parameter is used to control non executable stack and heap, regardless of PT_GNU_STACK entry. This d

[PATCH v2] MIPS: Add nonxstack=on|off kernel parameter

2017-11-21 Thread Aleksandar Markovic
nvenient during debugging and is especially useful for Android development where non-exec stack is required. Signed-off-by: Miodrag Dinic Signed-off-by: Aleksandar Markovic --- Documentation/admin-guide/kernel-parameters.txt | 11 +++ arch/mips/kernel/elf.c