From: Ian Jackson Subject: Re: [PATCH]do not allow multiple xenconsole connect to the same pty Date: Thu, 17 Feb 2011 19:01:49 +0000 Message-ID: <19805.28829.785860.880256@mariner.uk.xensource.com> References: <201102151207.38331.lidongyang@novell.com> <19802.54932.293842.532179@mariner.uk.xensource.com> <201102171132.43135.lidongyang@novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <201102171132.43135.lidongyang@novell.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Li Dongyang writes ("Re: [Xen-devel] [PATCH]do not allow multiple xenconsole connect to the same pty"): > Thanks for reviewing, and what do you mean by 'not likely to be very > portable'? flock(2) is not POSIX, but fcntl(3p) is POSIX, maybe I > missed somthing? I mean that I wouldn't be surprised if a platform we try to target for dom0 (or at least, not break) doesn't support flock (or fcntl F_SETLK for that matter) on ptys. Ian.