lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Wed, 2 Nov 2011 11:00:55 +0000
From:	Alan Cox <alan@...rguk.ukuu.org.uk>
To:	Tomoya MORINAGA <tomoya-linux@....lapis-semi.com>
Cc:	Alan Cox <alan@...ux.intel.com>, gregkh@...e.de,
	linux-kernel@...r.kernel.org, linux-serial@...r.kernel.org,
	qi.wang@...el.com, yong.y.wang@...el.com, joel.clark@...el.com,
	kok.howg.ewe@...el.com
Subject: Re: [PATCH 2/2] pch_uart: Delete modem status interrupt enable code

> Called ".get_mctrl" function, other software can know incoming carrier 
> detection.
> Or you mean a uart driver must detect incoming carrier with interrupt ?

If a user opens a tty port which has no carrier signal then the open is
supposed to block until the carrier is raised unless either clocal
termios or O_NDELAY open flags are set.

That usually means you need to take the carrier raise interrupt in order
to wake out of open in this case.

Alan
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ