Messages in this thread | | | Subject | Re: PATCH: Lock tty directly in acct layer | From | Alan Cox <> | Date | Wed, 16 Aug 2006 18:09:54 +0100 |
| |
Ar Mer, 2006-08-16 am 18:24 +0200, ysgrifennodd Arjan van de Ven: > > - read_lock(&tasklist_lock); /* pin current->signal */ > > + mutex_lock(&tty_mutex); > > ac.ac_tty = current->signal->tty ? > > but.. can't ->signal still change, even if signal->tty isn't ?
I'm not sure, thats a good question (as if so is how to lock it). Will investigate.
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |