]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
arm64: elf.h: Correct comment about READ_IMPLIES_EXEC propagation
authorBen Hutchings <ben@decadent.org.uk>
Fri, 6 Oct 2017 02:00:01 +0000 (03:00 +0100)
committerWill Deacon <will.deacon@arm.com>
Mon, 9 Oct 2017 09:00:23 +0000 (10:00 +0100)
Process personality always propagates across a fork(), but can change
at an execve().

Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/include/asm/elf.h

index 33be513ef24c84093c9a50441663896b3f04376f..fac1c4de7898b4c000cadb524b22cb30fa4ba7b5 100644 (file)
@@ -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)                                     \