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]
Message-ID: <4CE5647F.5000203@freescale.com>
Date:	Thu, 18 Nov 2010 11:38:07 -0600
From:	Timur Tabi <timur@...escale.com>
To:	Greg KH <gregkh@...e.de>
CC:	Arnd Bergmann <arnd@...db.de>,
	Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
	Scott Wood <scottwood@...escale.com>,
	Stuart Yoder <stuart.yoder@...escale.com>
Subject: Re: How do I choose an arbitrary minor number for my tty device?

Greg KH wrote:

> No, you can use the /dev/serial/ links to determine exactly which is
> which depending on the pci id, and other unique identifiers (serial
> numbers, etc.)

I just booted a Linux kernel with the driver I just emailed you, and there's no
/dev/serial/ directory.  The only directories under /dev/ are 'shm' and 'pts',
both of which are empty.

I'm also running a Fedora 13 x86 system, just to see if I need a full modern OS
to see these files.  Again, there is no /dev/serial/, even though I have serial
ports.

Also not that since I'm not registering the byte channels as serial devices, I
wouldn't expect anything in /dev/serial/ to reference them.

What does my driver need to do in order for these /dev/xxxx/ entries to contain
that information?

> Is this somehow not public code?  What just changed in the past 15
> minutes?

Sorry, when I said "not public", I didn't mean it in a legal sense.  Now that I
think about it, I guess that doesn't make much sense.

-- 
Timur Tabi
Linux kernel developer at Freescale

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