From owner-freebsd-emulation@FreeBSD.ORG Mon Jun 2 21:27:15 2008 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 535B61065678 for ; Mon, 2 Jun 2008 21:27:15 +0000 (UTC) (envelope-from chagin.dmitry@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.172]) by mx1.freebsd.org (Postfix) with ESMTP id E89D88FC24 for ; Mon, 2 Jun 2008 21:27:14 +0000 (UTC) (envelope-from chagin.dmitry@gmail.com) Received: by ug-out-1314.google.com with SMTP id q2so399683uge.37 for ; Mon, 02 Jun 2008 14:27:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:to:cc:subject :in-reply-to:message-id:references:user-agent:mime-version :content-type:from; bh=aNjdeKkPSf162pwiGxxnD7TLo65F9w2+V7wSr1aihiQ=; b=iWjj+5cff4LykxFhIKYYfSBGwruT6c4Kqc2YrXWy7sWWiZJ85I89rRvZH/7g6Jj1WM ul+gY4rqBq3cUtQcUZU3wE8P6uT8NMMRPUhKl4GYQlCadLaN5tlHIclub1X7T7+g/H84 P0RUcpNqP2j87asFQgo03HFR1xV7MTXNCQQ+o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:to:cc:subject:in-reply-to:message-id:references:user-agent :mime-version:content-type:from; b=t3RiOPgbv0M+aA+iYV0xKvJSoYilyQjXCFt4IvQiYT9I9VCSOteETj47n85AdkeEJ7 TTbs2xkX6Kj+qOM6tIELuftQBEzhjS0+5fUGHpyi5K+Wb6uUJEqh9iC0c5FAH8tV3omM c4n5J08qouwqqWMCWNZIka1xt0LjvGQgMGOF8= Received: by 10.210.115.15 with SMTP id n15mr1189090ebc.28.1212442033861; Mon, 02 Jun 2008 14:27:13 -0700 (PDT) Received: from ora.chd.net ( [81.200.6.196]) by mx.google.com with ESMTPS id y37sm4545026iky.8.2008.06.02.14.27.11 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 02 Jun 2008 14:27:12 -0700 (PDT) Date: Tue, 3 Jun 2008 01:27:19 +0400 (MSD) To: Roman Divacky In-Reply-To: <20080602100206.GA76861@freebsd.org> Message-ID: References: <20080602073152.GO64397@hoeg.nl> <20080602110919.17204gghm3yhhzwg@webmail.leidinger.net> <20080602091407.GQ64397@hoeg.nl> <20080602100206.GA76861@freebsd.org> User-Agent: Alpine 1.10 (BSF 962 2008-03-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed From: Chagin Dmitry Cc: Ed Schouten , freebsd-emulation@freebsd.org, philip@freebsd.org, Alexander Leidinger Subject: Re: Linux major/minor conversion not entirely correct X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Jun 2008 21:27:15 -0000 On Mon, 2 Jun 2008, Roman Divacky wrote: > On Mon, Jun 02, 2008 at 11:14:07AM +0200, Ed Schouten wrote: >> * Alexander Leidinger wrote: >> > Quoting Ed Schouten (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