1
0
Fork 0

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: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: Will Deacon <will.deacon@arm.com>
hifive-unleashed-5.1
Ben Hutchings 2017-10-06 03:00:01 +01:00 committed by Will Deacon
parent 359be67862
commit 0c3039ffc0
1 changed files with 2 additions and 2 deletions

View 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) \