Re: [PATCH] tty: ->signal->tty locking

From: Alan Cox
Date: Thu Oct 19 2006 - 09:08:02 EST


Ar Iau, 2006-10-19 am 14:13 +0200, ysgrifennodd Peter Zijlstra:
> Fix the locking of signal->tty.
>
> Use ->sighand->siglock to protect ->signal->tty; this lock is already used
> by most other members of ->signal/->sighand. And unless we are 'current' or
> the tasklist_lock is held we need ->siglock to access ->signal anyway.


Nice

Acked-by: Alan Cox <alan@xxxxxxxxxx>

-
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/