From: moreau francis <francis_moreau2000@yahoo.fr>
To: Frederik Deweerdt <dev.deweerdt@laposte.net>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [TTY] exclusive mode question
Date: Thu, 9 Jun 2005 11:59:26 +0200 (CEST) [thread overview]
Message-ID: <20050609095927.59628.qmail@web25803.mail.ukl.yahoo.com> (raw)
In-Reply-To: <20050609093642.GA507@gilgamesh.home.res>
--- Frederik Deweerdt <dev.deweerdt@laposte.net> a écrit :
> I've just greped and I found :
>
> if (!retval && test_bit(TTY_EXCLUSIVE, &tty->flags) &&
> !capable(CAP_SYS_ADMIN))
> retval = -EBUSY;
> in drivers/char/tty_io.c:tty_open
>
> Which sources are you looking at?
>
same source code but if another process has previously open the tty, how does
this source code detect it ?
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/
next prev parent reply other threads:[~2005-06-09 9:59 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-06-09 8:49 moreau francis
2005-06-09 9:36 ` Frederik Deweerdt
2005-06-09 9:59 ` moreau francis [this message]
2005-06-09 10:41 ` Frederik Deweerdt
2005-06-09 11:41 ` moreau francis
2005-06-09 12:16 ` Frederik Deweerdt
2005-06-09 14:22 ` moreau francis
2005-06-09 15:12 ` Russell King
2005-06-10 7:03 ` Denis Vlasenko
2005-06-10 7:11 ` moreau francis
2005-06-10 9:36 ` moreau francis
2005-06-10 16:24 ` Russell King
2005-06-09 12:16 ` moreau francis
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20050609095927.59628.qmail@web25803.mail.ukl.yahoo.com \
--to=francis_moreau2000@yahoo.fr \
--cc=dev.deweerdt@laposte.net \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®