Commit 0c3039ff authored by Ben Hutchings's avatar Ben Hutchings Committed by Will Deacon

arm64: elf.h: Correct comment about READ_IMPLIES_EXEC propagation

Process personality always propagates across a fork(), but can change
at an execve().
Signed-off-by: default avatarBen Hutchings <ben@decadent.org.uk>
Signed-off-by: default avatarWill Deacon <will.deacon@arm.com>
parent 359be678
...@@ -188,8 +188,8 @@ typedef compat_elf_greg_t compat_elf_gregset_t[COMPAT_ELF_NGREG]; ...@@ -188,8 +188,8 @@ typedef compat_elf_greg_t compat_elf_gregset_t[COMPAT_ELF_NGREG];
#define compat_start_thread compat_start_thread #define compat_start_thread compat_start_thread
/* /*
* Unlike the native SET_PERSONALITY macro, the compat version inherits * Unlike the native SET_PERSONALITY macro, the compat version maintains
* READ_IMPLIES_EXEC across a fork() since this is the behaviour on * READ_IMPLIES_EXEC across an execve() since this is the behaviour on
* arch/arm/. * arch/arm/.
*/ */
#define COMPAT_SET_PERSONALITY(ex) \ #define COMPAT_SET_PERSONALITY(ex) \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment