Subject: Re: README: kernel pty struct allocation change
To: Matt Thomas <>
From: Jaromír Doleček <>
List: current-users
Date: 09/11/2000 09:25:13
Matt Thomas wrote:
> An array of struct pt_softc is just wrong.  Instead, you should switch to an
> array of pt_softc * and change the pty driver to malloc/free pt_softc on
> open/close.

Sure, it's done this way now (with exception with the free bit
on close).
The initial allocated array is array of (struct pt_softc *)'s, i.e.
only pointers. The individual pt_softc's are allocated as needed.

Jaromir Dolecek <>
@@@@  Wanna a real operating system ? Go and get NetBSD, damn!  @@@@