Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Jun 2008 09:53:15 +0200
From:      Roman Divacky <rdivacky@FreeBSD.org>
To:        Ed Schouten <ed@80386.nl>
Cc:        freebsd-emulation@FreeBSD.org, philip@FreeBSD.org
Subject:   Re: Linux major/minor conversion not entirely correct
Message-ID:  <20080602075315.GB67510@freebsd.org>
In-Reply-To: <20080602073152.GO64397@hoeg.nl>
References:  <20080602073152.GO64397@hoeg.nl>

next in thread | previous in thread | raw e-mail | index | archive | help

--J2SCkAp4GZ/dPZZf
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, Jun 02, 2008 at 09:31:52AM +0200, Ed Schouten wrote:
> Hello everyone,
>=20
> The last couple of months I've been working on redesigning FreeBSD's TTY
> layer. This is all going quite good. Too good, actually.
>=20
> 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.
>=20
> The Linux compat layer generates fake major/minor numbers for certain
> devices, because Linux still depends on that information a lot (yuck).
> I've discovered that our Linux compat layer returns the same major/minor
> pair for all nodes in /dev/pts, but doesn't do this consistently either.
> We'd better push the conversion down into linux_driver_get_major_minor(),
> to make sure the numbers always get converted. We should also make sure
> we hand out unique numbers.
>=20
> The patch also contains a change I made to support the new DTYPE_PTS
> (pseudo-terminal master device). This part of the diff should be
> ignored. I've just added it for completeness.
>=20
> Does anyone mind if I commit this patch soonish?

I dont see a problem with it... go commit that.

thnx!

--J2SCkAp4GZ/dPZZf
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (FreeBSD)

iEYEARECAAYFAkhDpusACgkQLVEj6D3CBExamwCfZrps5Gv8JBvg8KjvsB/GjrRb
gv4AniCY4xC1c+BLqq91Lby99FL/mBmU
=K5nh
-----END PGP SIGNATURE-----

--J2SCkAp4GZ/dPZZf--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080602075315.GB67510>