Date: Tue, 1 Nov 2005 10:15:44 -0500 From: John Baldwin <jhb@freebsd.org> To: freebsd-amd64@freebsd.org, Phil Regnauld <regnauld@catpipe.net> Subject: Re: amd64/86229: Missing recvmsg syscall in freebsd32 API causes sshd crash on amd64 Message-ID: <200511011015.45447.jhb@freebsd.org> In-Reply-To: <200511010930.jA19UJET042873@freefall.freebsd.org> References: <200511010930.jA19UJET042873@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday 01 November 2005 04:30 am, Phil Regnauld wrote: > The following reply was made to PR amd64/86229; it has been noted by GNATS. > > From: Phil Regnauld <regnauld@catpipe.net> > To: bug-followup@FreeBSD.org, jhb@freebsd.org > Cc: > Subject: Re: amd64/86229: Missing recvmsg syscall in freebsd32 API causes > sshd crash on amd64 Date: Tue, 1 Nov 2005 10:19:20 +0100 > > John Baldwin <jhb@FreeBSD.org> wrote: > > I haven't tested it on amd64 at all (hopefully the freebsd32 part > > compiles :-P), but here is a patch to add a kern_recvit() function and > > use it to implement freebsd32_recvmsg(). Note that I'm not sure that > > some other functions like sendmsg() actually work correctly for > > freebsd32 as they are copying in a 32-bit msghdr and expecting it to be > > a 64-bit msghdr. > > > > http://www.FreeBSD.org/~jhb/patches/freebsd32_recvmsg.patch > > Hi there, > > Didn't get to test on HEAD yet... I am attempting to patch 6.0 first > (that's what I run on the production box). It fails there -- is it easily > fixable or should I just drop it and try -CURRENT ? Try -current as the patch committed wasn't identical to the one at that URL. Also, yesterday additional patches were committed that fixed descriptor-passing (which sshd is probably going to use for privsep) using sendmsg() and recvmsg(), so you probably want the latest current. -- John Baldwin <jhb@FreeBSD.org> <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200511011015.45447.jhb>