On Thu, Apr 29, 2021 at 11:14:51AM +0200, Sven Schnelle wrote: > This adds support for adding a random offset to the stack while handling > syscalls. The patch uses get_tod_clock_fast() as this is considered good > enough and has much less performance penalty compared to using > get_random_int(). The patch also adds randomization in pgm_check_handler() > as the sigreturn/rt_sigreturn system calls might be called from there. > > Signed-off-by: Sven Schnelle <svens@xxxxxxxxxxxxx> > --- > arch/s390/Kconfig | 1 + > arch/s390/include/asm/entry-common.h | 10 ++++++++++ > arch/s390/kernel/syscall.c | 1 + > arch/s390/kernel/traps.c | 2 ++ > 4 files changed, 14 insertions(+) Applied, thanks!