• David S. Miller's avatar
    [SPARC64]: Check _TIF_SYSCALL_SUCCESS before syscall return value. · 6ca0c1d6
    David S. Miller authored
    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.
    6ca0c1d6
entry.S 47.2 KB