diff options
author | jhb <jhb@FreeBSD.org> | 2006-07-10 21:38:17 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2006-07-10 21:38:17 +0000 |
commit | cfc179a934e59efac00bc180f5be3a2b057380e2 (patch) | |
tree | 72fc2b0a9892ae5c4b123960773ce52272dcdbf6 /secure/lib/libssh | |
parent | ee41eea4035fade747b35dc78c1a1c3458abbf66 (diff) | |
download | FreeBSD-src-cfc179a934e59efac00bc180f5be3a2b057380e2.zip FreeBSD-src-cfc179a934e59efac00bc180f5be3a2b057380e2.tar.gz |
- Split out kern_accept(), kern_getpeername(), and kern_getsockname() for
use by ABI emulators.
- Alter the interface of kern_recvit() somewhat. Specifically, go ahead
and hard code UIO_USERSPACE in the uio as that's what all the callers
specify. In place, add a new uioseg to indicate what type of pointer
is in mp->msg_name. Previously it was always a userland address, but
ABI emulators may pass in kernel-side sockaddrs. Also, remove the
namelenp field and instead require the two places that used it to
explicitly copy mp->msg_namelen out to userland.
- Use the patched kern_recvit() to replace svr4_recvit() and the stock
kern_sendit() to replace svr4_sendit().
- Use kern_bind() instead of stackgap use in ti_bind().
- Use kern_getpeername() and kern_getsockname() instead of stackgap in
svr4_stream_ti_ioctl().
- Use kern_connect() instead of stackgap in svr4_do_putmsg().
- Use kern_getpeername() and kern_accept() instead of stackgap in
svr4_do_getmsg().
- Retire the stackgap from SVR4 compat as it is no longer used.
Diffstat (limited to 'secure/lib/libssh')
0 files changed, 0 insertions, 0 deletions