Skip to contentSkip to conversation

Very preliminary dynamic pty patch

DISCUSSION H. Peter Anvin 2 participants 3 messages Feb 10, 2004

lore
Share & tools
lore
#0 lore raw

Try it out and send me the oopsen :)

ftp://ftp.kernel.org/pub/linux/kernel/people/hpa/dynpty-test-1.patch

The patch is against current 2.6 top of tree.

-hpa

Signature · 4 lines
PGP public key available - finger [email protected]
Key fingerprint: 2047/2A960705 BA 03 D3 2C 14 A8 A8 BD  1E DF FE 69 EE 35 BD 74
"The earth is but one country, and mankind its citizens."  --  Bahá'u'lláh
Just Say No to Morden * The Shadows were defeated -- Babylon 5 is renewed!!
#1 lore raw
Quoted 3 lines · On Tue, 10 Feb 2004 17:25:36 GMT, [email protected] (H. Peter Anvin) said:

Try it out and send me the oopsen :)

ftp://ftp.kernel.org/pub/linux/kernel/people/hpa/dynpty-test-1.patch

Eyeball checked only, 2 comments:

1) Will the embedded crew object to the removal of CONFIG_UNIX98_PTYS? I can see some systems that don't want either SysV or BSD pty's, unless they're deeply ingrained in some way I don't understand so you can't have a system with exactly one tty on a DB-9 serial port for a console without having them present too.

2) How much extra code to axe the BSD-style PTYs?

#2 lore raw
Quoted 6 lines · [email protected] wrote:
Quoted 3 lines · On Tue, 10 Feb 2004 17:25:36 GMT, [email protected] (H. Peter Anvin) said:

Try it out and send me the oopsen :)

ftp://ftp.kernel.org/pub/linux/kernel/people/hpa/dynpty-test-1.patch

Quoted 8 lines

Eyeball checked only, 2 comments:

1) Will the embedded crew object to the removal of CONFIG_UNIX98_PTYS?
I can see some systems that don't want either SysV or BSD pty's, unless
they're deeply ingrained in some way I don't understand so you can't have
a system with exactly one tty on a DB-9 serial port for a console without having them present too.

2) How much extra code to axe the BSD-style PTYs?

Actually it looks like it wouldn't be too much code either way. I'll probably make them both config options (with removal of the entire pty subsystem if one chooses no on both.)

-hpa