[Pkg-shadow-devel] Bug#544184: Reopening #544184 - typo in change

Loïc Minier lool at dooz.org
Mon Jun 20 10:19:50 UTC 2011


unarchive #544184
reopen #544184
found #544184 1:4.1.4.2+svn3283-3
stop

        Hey there

 Assuming /etc/securetty is case sensitive, #544184 isn't fixed as
 ttyama0 through 3 were added instead of ttyAMA0 through 3 (note the
 capitals).

 I grepped a recent linux tree to see whether there was any mention of
 the lower cased ones, but there wasn't; also, the original report
 confirms that it's uppercase.  I can confirm that the first serial port
 on an ARM vexpress as emulated by QEMU or on real hardware is ttyAMA0.

 Currently, securetty.linux is sorted by major char number and mentions
 Documentation/devices.txt; this documentation file isn't really kept
 up-to-date though and some devices listed in this section of
 securetty.linux aren't in Documentation/devices.txt (e.g. OMAP serial
 ports); I would suggest listing the ttyAMA[0-3] devices near the
 ttyAM[0-3] ones as both are related to AMBA ttys; see
 linux/drivers/tty/serial/amba-pl010.c for ttyAM UARTs and
 drivers/tty/serial/amba-pl011.c for ttyAMA UARTs.

 (You might want to drop the mention of QEMU as these ports are what the
 real hardware uses.)

   Thanks!
-- 
Loïc Minier





More information about the Pkg-shadow-devel mailing list