From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by befuddled.reisers.ca (Postfix, from userid 65534) id 531171F06F8; Tue, 23 May 2017 04:38:21 -0400 (EDT) Received: from mail-it0-x244.google.com (mail-it0-x244.google.com [IPv6:2607:f8b0:4001:c0b::244]) by befuddled.reisers.ca (Postfix) with ESMTPS id 2B2391F026B for ; Tue, 23 May 2017 04:38:20 -0400 (EDT) Received: by mail-it0-x244.google.com with SMTP id d68so16465030ita.1 for ; Tue, 23 May 2017 01:38:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=LUMgmYgjEaepi7K/EQh8DfQsD8IfzKQPzmQLFCweIgg=; b=B3w3EgFuWRQ9bFNJ4L/gRcnoNjRmwHCudUmXEotgnV7AT1V68tL4OTA4uAWHnVs0qA vzvLU03Y1LjxC59o4tSnMRCoxeeXKs4KcanIMcmtarZl2VFYITl2WL/noCZQUA3C4Maw meQOi0p1sbYFEjf+GKhQlMoGEUXECehH8uiq7czBq1O+hcHxSlPvieP7n8MDYghVfZi8 p7uP9Nd2l/MYpUpeitQ+Mw3uWROv5+0kncUjolXhXNFgjI5qBxU3KlDQF+BJahfP4L1O Gf5KyXwOhyZovi9ovC3fUdo6cJ2RXHn4InmGI2TtAYDw5J6I5gH45Nx0ESxK5oIGHBH1 AqFg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=LUMgmYgjEaepi7K/EQh8DfQsD8IfzKQPzmQLFCweIgg=; b=Y6TpS9Mr+QdZM87SR4K4IltFYEOU573lIu9LQoxW0JRTKoQNkZPGMb3oCzFac6wM2L V/YnrvqCosPFnTOEPGpGjJdjcqpbK+ZaaQrRJZlpCbNXI3gNb7g+rvxCAGJj91WKKnpx FPeF0ckOptfBM6rarYPCtpt329pcCnD8SuJRY7l7ObvJGc7aDim+W3cRP9rtL+Q+YqKx 45aGasByTz2vBUKV1Ku4aMWflp5CaC48C9Yzk8/coGqELYF6mhViftM5Qkd+VfORGGP2 RK59XckDteXLR480xkQeOFoknaVxuD1Xe7T/tlwyQSDmq0bU1HYtdo4OaCga8YlQ8i46 u5WA== X-Gm-Message-State: AODbwcDlru/U/1JsHNujDoENuwKJM0OZtMiN9FibECj8S87yzYJUBObY pI6PeZxEQdShFVcSJ59pUf7TNa0zow== X-Received: by 10.36.121.5 with SMTP id z5mr1569330itc.36.1495528698777; Tue, 23 May 2017 01:38:18 -0700 (PDT) MIME-Version: 1.0 Received: by 10.79.154.142 with HTTP; Tue, 23 May 2017 01:38:18 -0700 (PDT) In-Reply-To: <20170523083328.7jzfbnczirw7eu4g@var.youpi.perso.aquilenet.fr> References: <20170225191801.GA4482@sanghar> <20170225192132.GA4492@sanghar> <20170226005342.fwm5wyilv6jewrbb@var.youpi.perso.aquilenet.fr> <20170226010543.prrdalpdj5jfyzee@var.youpi.perso.aquilenet.fr> <20170517074546.uzb6prh7aaa3g5ls@var.youpi.perso.aquilenet.fr> <20170517133832.GA463@sanghar> <20170522220752.bobyqbmfxnb43dgy@var.youpi.perso.aquilenet.fr> <20170523083328.7jzfbnczirw7eu4g@var.youpi.perso.aquilenet.fr> From: Okash Khawaja Date: Tue, 23 May 2017 09:38:18 +0100 Message-ID: Subject: Re: [patch 1/6] tty_port: allow a port to be opened with a tty that has no file handle To: Samuel Thibault Cc: "Speakup is a screen review system for Linux." Content-Type: text/plain; charset="UTF-8" X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 X-BeenThere: speakup@linux-speakup.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Speakup is a screen review system for Linux." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 May 2017 08:38:21 -0000 On Tue, May 23, 2017 at 9:33 AM, Samuel Thibault wrote: > Okash Khawaja, on mar. 23 mai 2017 09:30:34 +0100, wrote: >> Here's quote: >> >> "It doesn't deal with the case of a user opening a port that's also kernel >> opened and that would need some locking out (so it returned EBUSY if bound >> to a kernel device of some kind)." > > Ah, ok, so that doesn't exist yet and needs to be added. Something like > a flag added to the tty structure, which is set and cleared when opening > and closing the device from the kernel. Right that sounds good. I can test it out on my side and then we can plan what to do with the patch. Okash