Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Feb 2009 08:29:37 +0100
From:      Ed Schouten <ed@80386.nl>
To:        Bruce Simpson <bms@incunabulum.net>
Cc:        Michael Butler <imb@protected-networks.net>, current@freebsd.org, Maksim Yevmenkin <maksim.yevmenkin@gmail.com>
Subject:   Re: HEADS UP: IFF_NEEDSGIANT consumers to be disabled, removed
Message-ID:  <20090219072937.GB19161@hoeg.nl>
In-Reply-To: <499C7992.7000705@incunabulum.net>
References:  <20090217110524.GC79178@hoeg.nl> <499A9C9D.3000403@protected-networks.net> <20090217115651.GE79178@hoeg.nl> <bb4a86c70902170950u7ec9523fl4e39360b71b66d59@mail.gmail.com> <20090217175512.GG79178@hoeg.nl> <bb4a86c70902171003v1a85b077p923e4e0e3fa1436d@mail.gmail.com> <20090217182128.GH79178@hoeg.nl> <bb4a86c70902171107t1ff97a95h1bf67938dc675e8c@mail.gmail.com> <20090217192152.GI79178@hoeg.nl> <499C7992.7000705@incunabulum.net>

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

--XOIedfhf+7KOe/yw
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi Bruce,

* Bruce Simpson <bms@incunabulum.net> wrote:
>    Maksim seems to be talking about the use case where folk are actually=
=20
> doing straight serial over RFCOMM and need to tie it down to a known tty,=
=20
> though.

Ah, that's indeed something I didn't know. Well, in that case we still
need pseudo-terminals.

>    Surely there must be a way to tie rfcomm_sppd down to a specific pts =
=20
> number, or failing that, teach it to report the pts which it got=20
> allocated?

Well, with MPSAFE TTY the only way pseudo-terminals should be allocated,
is by calling posix_openpt(). The device name is determined by a simple
unrhdr (alloc_unr(9)). There is no actual way to influence the naming,
so I guess we should make rfcomm_sppd just use a random device name. We
could maybe solve this by creating a symlink to the TTY?

--=20
 Ed Schouten <ed@80386.nl>
 WWW: http://80386.nl/

--XOIedfhf+7KOe/yw
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (FreeBSD)

iEYEARECAAYFAkmdCmEACgkQ52SDGA2eCwVpKgCfQ2W+Ob+vFdeJZB7jPhfjldU3
H8UAn3J8/WFrsvQTeBuB6PhquuIYKJsd
=vh40
-----END PGP SIGNATURE-----

--XOIedfhf+7KOe/yw--



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