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>] [day] [month] [year] [list]
Date:	Fri, 25 Feb 2011 10:09:25 +0100
From:	Wireen <lars.wireen@...yericsson.com>
To:	linux-kernel@...r.kernel.org
Subject: termios and console cflag problems (on uart) with suspend/resume

As I have understood it when resume is done the cflag from the console
is being used to reinitialize the uart unless a userspace process has
opened the uart in which case the termios setting is being used. This
seem to have been done by resetting the cflag for the console and in
that case use the termios settings. However it looks (to me) that when
the userspace process closes the uart the termios settings will be gone
(and the cflag for the console is gone too), this will make the
suspend/resume not being able to restore the uart settings (which in
turn means that kernel logging to uart will stop working after suspend).

Have I missed something (ie is it supposed to work in another way?) or
is this an intensional behavior?

--
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