Date: Tue, 3 Jun 2008 01:27:19 +0400 (MSD) From: Chagin Dmitry <chagin.dmitry@gmail.com> To: Roman Divacky <rdivacky@freebsd.org> Cc: Ed Schouten <ed@80386.nl>, freebsd-emulation@freebsd.org, philip@freebsd.org, Alexander Leidinger <Alexander@leidinger.net> Subject: Re: Linux major/minor conversion not entirely correct Message-ID: <alpine.BSF.1.10.0806030052040.2118@ora.chd.net> In-Reply-To: <20080602100206.GA76861@freebsd.org> References: <20080602073152.GO64397@hoeg.nl> <20080602110919.17204gghm3yhhzwg@webmail.leidinger.net> <20080602091407.GQ64397@hoeg.nl> <20080602100206.GA76861@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 2 Jun 2008, Roman Divacky wrote: > On Mon, Jun 02, 2008 at 11:14:07AM +0200, Ed Schouten wrote: >> * Alexander Leidinger <Alexander@Leidinger.net> wrote: >> > Quoting Ed Schouten <ed@80386.nl> (from Mon, 2 Jun 2008 09:31:52 +0200): >> > >> >> Last week I've been toying around with getting sshd working inside a >> >> Linux jail, which seems to work quite nicely right now. I've made some >> >> changes to our Linux compat layer that could already get (partially) >> >> merged back to SVN. >> > >> > Does this mean your patch makes sshd inside a linux jail working for >> > non-root logins? If yes: MFC planned (I haven't checked the commit mails >> > yet, sorry)? >> >> Only on i386. We still have to deal with the sendmsg() badness. It >> doesn't seem to work properly on amd64. > > check the logs... something was done with it already... dont remember > details.... anyway, when/if I find time I'll try to look at it. but my > queue is long :( too has got stuck in sendmsg/recvmsg when did linux64 ltp tests, and at first sight here not a simple problem. Linux and fbsd at x86-64 have different definitions of msghdr & cmsghdr struct. it's not problem to convert msghdr :) with cmsghdr more difficult. see unp_internalize() at sys/kern/uipc_usrreq.c i think about it now. thnx! -- Have fun! chd
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.1.10.0806030052040.2118>