[PATCH] parisc: Initialise restart_block
Calling sys_restart_syscall without having taking a signal
across a syscall leaves the restart_block uninitialized,
allowing malicious user code to crash the kernel.
FIX:
Define INIT_THREAD_INFO such that restart_block.fn is set to
the default do_not_restart_syscall.
Committed-by: Carlos O'Donell <carlos@parisc-linux.org>
Showing
Please register or sign in to comment