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:	Thu, 23 Jul 2009 10:48:09 -0700
From:	Andrew Morton <akpm@...ux-foundation.org>
To:	Alan Stern <stern@...land.harvard.edu>
Cc:	Ferenc Wagner <wferi@...f.hu>, <linux-kernel@...r.kernel.org>,
	<alan@...rguk.ukuu.org.uk>, <linux-usb@...r.kernel.org>
Subject: Re: 2.6.31-rc3: replugging USB serial converter uses new device
 node

On Thu, 23 Jul 2009 10:44:13 -0400 (EDT) Alan Stern <stern@...land.harvard.edu> wrote:

> On Thu, 23 Jul 2009, Andrew Morton wrote:
> 
> > (cc linux-usb)
> > 
> > On Sat, 18 Jul 2009 22:04:57 +0200 Ferenc Wagner <wferi@...f.hu> wrote:
> > 
> > > Hi,
> > > 
> > > Since upgrading to 2.6.31-rc3 from 2.6.30, my ttyUSB device number
> > > keeps increasing on each replug.  Output of udevadm monitor:
> ...
> > > Dmesg is available at http://pastebin.com/d516e3e00.
> > 
> > Can anyone say whether this is expected behaviour?
> 
> It depends on whether a program is still holding the old device file 
> open when the replug occurs.

But this is new behaviour in 2.6.31-rcX.  Was something changed in this area?

> > Does it actually cause any observeable problems?  I expect things will
> > get ugly once it runs out of range.
> 
> The numbers will get reused after the corresponding device files are
> closed.
> 
> For further discussion, see this thread:
> 
> 	http://marc.info/?t=124828810800002&r=1&w=2
> 
> Alan Stern
--
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