Bug#331263: lockdev: TTY handling is borked

2005-10-02 Thread Pawel Wiecek
On Oct 2, 6:59pm, Roger Leigh wrote: > The special-casing of ttys looks particularly borked: Not to me. > if ( strcmp( p, "tty") == 0 ) > p = ttyname( 0); /* this terminal, if it exists */ > > What has the ttyname of the controlling terminal got to do with > locking any other device /de

Bug#331263: lockdev: TTY handling is borked

2005-10-02 Thread Roger Leigh
Package: lockdev Severity: important The special-casing of ttys looks particularly borked: if ( strcmp( p, "tty") == 0 ) p = ttyname( 0); /* this terminal, if it exists */ What has the ttyname of the controlling terminal got to do with locking any other device /dev/tty*? The call coul