NetBSD Problem Report #49319
From www@NetBSD.org Sun Oct 26 17:15:03 2014
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
by mollari.NetBSD.org (Postfix) with ESMTPS id D9505A65FB
for <gnats-bugs@gnats.NetBSD.org>; Sun, 26 Oct 2014 17:15:03 +0000 (UTC)
Message-Id: <20141026171502.ED676A666B@mollari.NetBSD.org>
Date: Sun, 26 Oct 2014 17:15:02 +0000 (UTC)
From: netbsd@izyk.ru
Reply-To: netbsd@izyk.ru
To: gnats-bugs@NetBSD.org
Subject: ptm{x} driver can't opens master side with O_NONBLOCK flag.
X-Send-Pr-Version: www-1.0
>Number: 49319
>Category: kern
>Synopsis: ptm{x} driver can't opens master side with O_NONBLOCK flag.
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Oct 26 17:20:00 +0000 2014
>Originator: Ilia
>Release: NetBSD
>Organization:
No
>Environment:
NetBSD
>Description:
ptm{x} driver can't opens master side with O_NONBLOCK flag.
>How-To-Repeat:
Try:
open("/dev/ptm", O_RDWR|O_NONBLOCK);
>Fix:
tty_ptm.c has:
error = VOP_OPEN(vp, FREAD|FWRITE, lwp0.l_cred);
maybe needs use mode in ptmopen().
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.