On Sun, 7 Mar 1999, Jason Titus wrote:

> Well, the 1999-03-07 snapshot still does this on ARM Linux 2.2.1 when
> recieving a connection (from the same host through TCP-IP) -
> 
> server_initiate()
> Client version: SSH-2.0-lsh_0.0 lsh - a free ssh
> handle_dh_init()
> Client requesting a tty...
>  granted.
> tty_setctty: unlockpt() failed,
>    (errno = 14): Bad address
> lshd: Can't set controlling tty for child!
> Child 2467 died with exit code 1.
Unfortunately there is an other werror("tty_setctty: unlockpt() failed...") at
line 213 in server_pty.c which confused all of us... Indeed it's quite
different error from unlockpt, because it's a problem of open. Try checking
the contents of struct pty_info *pty in tty_setctty/server_pty.c.
I can't trace it, because I have no access to system with /dev/ptmx...

Greets,
Keresztg

P.s.: BTW what grantpt and unlockpt do in reality? Can't we emulate the
necessary parts to fall to the corrext UID/GID?

+ Keresztfalvi Gabor
+ Student of Technical University of Budapest
+ mailto: [EMAIL PROTECTED]  [EMAIL PROTECTED]  [EMAIL PROTECTED]
+ http://www.piar.hu/~keresztg/   There is my pubkey on this page.

Reply via email to