We don't currently support SVR4-style fd passing which involves I_SENDFD/I_RECVFD ioctls. I'm not sure if that might help some p platforms with privsep. Some platforms that use STREAMS ptys use a set-uid root helper to handle the privileged portions of pty creation. grantpt(3) has a bit more info. on Solaris 8 it's: /usr/lib/pt_chmod on HP-UX it's: /usr/lbin/chgpt Perhaps this may be useful to support. Someone want to investigate that?
Seemingly Similar Threads
- no, I see now, tru64 pty ownership wrong on entry to setup_sia, may need /usr/lbin/chgpt (WAS Re: Tru64 privsep patch testing)
- [Bug 120] sshd fails pty chown() when run as non-root userid
- FreeBSD Security Advisory FreeBSD-SA-08:01.pty
- linux and _GNU_SOURCE define
- OpenSSH 3.9p1 X11 forwarding