Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit df9ceff9 authored by Kees Cook's avatar Kees Cook Committed by Martin Schwidefsky
Browse files

s390: disable postinit-readonly for now



This is a temporary fix to let lkdtm run again on s390, though it'll
still fail the ro_after_init tests. Until rodata and ro_after_init
sections can be split on s390, disable special handling of ro_after_init.

Signed-off-by: default avatarKees Cook <keescook@chromium.org>
Reported-by: default avatarChristian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: default avatarHeiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
parent 59a9ed5f
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -15,4 +15,7 @@

#define __read_mostly __attribute__((__section__(".data..read_mostly")))

/* Read-only memory is marked before mark_rodata_ro() is called. */
#define __ro_after_init __read_mostly

#endif