why fd passing?
Matthew Vernon
matthew at debian.org
Thu Jun 27 20:02:39 EST 2002
Phil Howard <phil-openssh-unix-dev at ipal.net> writes:
> then it doesn't have to be done. But if that isn't know at fork
> time, go ahead and set one up and then if the user privilege child
> decides it does not need one, it can just close the descriptors.
This doesn't work - the client may request a shell service at any
point, so you'd have to keep the pty ready-to-use for the entire
session.
> I do not see from this illustration how mmap() is involved.
AIUI, the shared memory is for zlib use.
Matthew
--
"At least you know where you are with Microsoft."
"True. I just wish I'd brought a paddle."
http://www.debian.org
More information about the openssh-unix-dev
mailing list