• Andrew Morton's avatar
    [PATCH] BSD accounting oops fix · 7285840f
    Andrew Morton authored
    oopses have been reported in do_acct_process(), with premption enabled, when
    threaded applications are exitting.
    
    It appears that we're racing with another thread which is nulling out
    current->tty.  I think this race is still there after we moved current->tty
    into current->signal->tty, so let's take the needed lock.
    7285840f
acct.c 11.2 KB