[TTY] exclusive mode question

From: moreau francis
Date: Thu Jun 09 2005 - 03:50:47 EST


Hi

When a process open a tty in exclusive mode (using ioctl(X, TIOCEXCL)), can the
process be sure to be the only one using this tty ?
If so I can't find in kernel code any checks in "tty_open" method for verifying
that the tty has not been opened previously by another process when
"TTY_EXCLUSIVE" flag is set.

Thanks

Francis






_____________________________________________________________________________
Découvrez le nouveau Yahoo! Mail : 1 Go d'espace de stockage pour vos mails, photos et vidéos !
Créez votre Yahoo! Mail sur http://fr.mail.yahoo.com
-
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/