* [PATCH] arm64: elf.h: Correct comment about READ_IMPLIES_EXEC propagation
@ 2017-10-06 2:00 Ben Hutchings
2017-10-09 9:00 ` Will Deacon
0 siblings, 1 reply; 2+ messages in thread
From: Ben Hutchings @ 2017-10-06 2:00 UTC (permalink / raw)
To: linux-arm-kernel
Process personality always propagates across a fork(), but can change
at an execve().
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
---
arch/arm64/include/asm/elf.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm64/include/asm/elf.h b/arch/arm64/include/asm/elf.h
index 33be513ef24c..fac1c4de7898 100644
--- a/arch/arm64/include/asm/elf.h
+++ b/arch/arm64/include/asm/elf.h
@@ -188,8 +188,8 @@ typedef compat_elf_greg_t compat_elf_gregset_t[COMPAT_ELF_NGREG];
#define compat_start_thread compat_start_thread
/*
- * Unlike the native SET_PERSONALITY macro, the compat version inherits
- * READ_IMPLIES_EXEC across a fork() since this is the behaviour on
+ * Unlike the native SET_PERSONALITY macro, the compat version maintains
+ * READ_IMPLIES_EXEC across an execve() since this is the behaviour on
* arch/arm/.
*/
#define COMPAT_SET_PERSONALITY(ex) \
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 811 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20171006/041ef202/attachment.sig>
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [PATCH] arm64: elf.h: Correct comment about READ_IMPLIES_EXEC propagation
2017-10-06 2:00 [PATCH] arm64: elf.h: Correct comment about READ_IMPLIES_EXEC propagation Ben Hutchings
@ 2017-10-09 9:00 ` Will Deacon
0 siblings, 0 replies; 2+ messages in thread
From: Will Deacon @ 2017-10-09 9:00 UTC (permalink / raw)
To: linux-arm-kernel
On Fri, Oct 06, 2017 at 03:00:01AM +0100, Ben Hutchings wrote:
> Process personality always propagates across a fork(), but can change
> at an execve().
>
> Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
> ---
> arch/arm64/include/asm/elf.h | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
You're right, the comment is sloppy. I'll pick this up for 4.15.
Will
> diff --git a/arch/arm64/include/asm/elf.h b/arch/arm64/include/asm/elf.h
> index 33be513ef24c..fac1c4de7898 100644
> --- a/arch/arm64/include/asm/elf.h
> +++ b/arch/arm64/include/asm/elf.h
> @@ -188,8 +188,8 @@ typedef compat_elf_greg_t compat_elf_gregset_t[COMPAT_ELF_NGREG];
>
> #define compat_start_thread compat_start_thread
> /*
> - * Unlike the native SET_PERSONALITY macro, the compat version inherits
> - * READ_IMPLIES_EXEC across a fork() since this is the behaviour on
> + * Unlike the native SET_PERSONALITY macro, the compat version maintains
> + * READ_IMPLIES_EXEC across an execve() since this is the behaviour on
> * arch/arm/.
> */
> #define COMPAT_SET_PERSONALITY(ex) \
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-10-09 9:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-10-06 2:00 [PATCH] arm64: elf.h: Correct comment about READ_IMPLIES_EXEC propagation Ben Hutchings
2017-10-09 9:00 ` Will Deacon
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).