mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-26 11:28:28 +00:00
0f72e5c0df
Al Viro noted that CRIS is vulnerable to bogus restarts on sigreturn.
The fixes CRISv32 by using regs->exs as an additional indicator to
whether we should attempt to restart the syscall or not. EXS is only
used in the sigtrap handling, and in that path we already have r9 (the
other indicator, which indicates if we're in a syscall or not) cleared.
Test case, a port of Al's ARM version from
|
||
---|---|---|
.. | ||
cache.c | ||
cacheflush.S | ||
crisksyms.c | ||
debugport.c | ||
entry.S | ||
fasttimer.c | ||
head.S | ||
irq.c | ||
kgdb_asm.S | ||
kgdb.c | ||
Makefile | ||
process.c | ||
ptrace.c | ||
setup.c | ||
signal.c | ||
smp.c | ||
time.c | ||
traps.c |