Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Dec 2008 20:04:36 +0100
From:      "Olivier SMEDTS" <olivier@gid0.org>
To:        current@freebsd.org
Subject:   Re: COMPAT_43TTY and MPSAFE tty
Message-ID:  <367b2c980812021104h6453799epa210de327a21f54b@mail.gmail.com>
In-Reply-To: <20081202185719.GR64969@hoeg.nl>
References:  <367b2c980812021023s3c9f005dwf8092cb56d56db2c@mail.gmail.com> <20081202185719.GR64969@hoeg.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
2008/12/2 Ed Schouten <ed@80386.nl>:
> Hello Olivier,
>
> * Olivier SMEDTS <olivier@gid0.org> wrote:
>> Is it safe to run a kernel without options COMPAT_43TTY since the new
>> MPSAFE tty layer was introduced ?
>> I removed it from my kernel config file since few days and didn't
>> notice any change...
>> I use nearly latest -CURRENT on amd64 and never tried removing this
>> option before because of the big "KEEP THIS!". Now I don't use any
>> COMPAT_* option.
>
> If you compiled your applications after June 14, everything should just
> work (not taking binary-only applications into account). Even if you did
> not, there is a slim chance your application depends on COMPAT_43TTY.
>
> COMPAT_43TTY only introduces some binary-only compatibility interfaces
> (ioctls) for applications that used <sgtty.h>. I already removed
> <sgtty.h> before I imported MPSAFE TTY:
>
>        http://www.freebsd.org/cgi/cvsweb.cgi/src/include/Attic/sgtty.h
>
> I guess we'd better keep COMPAT_43TTY in our stock kernel configuration
> files for another couple of years, but maybe we should already remove
> the "[KEEP THIS!]" message.
>
> It's also possible to remove "device pty" from your kernel configuration
> file. If you remove this line, you can only allocate pts(4)-style
> pseudo-terminals (/dev/pts/...). This means you cannot allocate any
> pseudo-terminals inside a FreeBSD 4/5/6/7 jail. I guess we should keep
> "device pty" a little longer than COMPAT_43TTY, because recompiling
> applications won't migrate the offending ones to pts(4).

Ok, thanks for the clarification :)

Cheers,
Olivier


-- 
Olivier Smedts                                                 _
                                        ASCII ribbon campaign ( )
e-mail: olivier@gid0.org        - against HTML email & vCards  X
www: http://www.gid0.org    - against proprietary attachments / \

  "Il y a seulement 10 sortes de gens dans le monde :
  ceux qui comprennent le binaire,
  et ceux qui ne le comprennent pas."



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