Re: [PATCH V2] tty: fix memleak in alloc_pid
From: One Thousand Gnomes
Date: Mon Apr 14 2014 - 07:07:36 EST
> move spin_unlock(sighand->siglock) after get_current_tty() can avoid
> the race and fix the memleak.
We already take tty_ctrl_lock inside sighand->siglock so this all appears
safe and correct to me.
Alan
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/