[SPARC64]: Check _TIF_SYSCALL_SUCCESS before syscall return value.
We might have to clear the flag, and if we do not then subsequent syscalls can get confused. Bug easily triggered by suspending emacs in a pty and then resuming, select() returns due to a pending signal but because _TIF_SYSCALL_SUCCESS is erroneously set by a previous syscall -514 ends up slipping into userspace. Oops.
Showing
Please register or sign in to comment