Subject: CVS commit: syssrc
To: None <>
From: Jaromir Dolecek <>
List: source-changes
Date: 09/09/2000 19:42:07
Module Name:	syssrc
Committed By:	jdolecek
Date:		Sat Sep  9 16:42:06 UTC 2000

Modified Files:
	syssrc/sys/kern: kern_sysctl.c tty_pty.c
	syssrc/sys/sys: sysctl.h

Log Message:
allocate pty kernel structures on demand at run-time - this allows
to support arbitrary number of ptys without need of kernel recompile
(the extra device special files in /dev/ still need to be created, of course)

upper limit of supported ptys is controlled via new sysctl variable
kern.maxptys (KERN_MAXPTYS), which is raise-only and defaults to 512.

To generate a diff of this commit:
cvs rdiff -r1.76 -r1.77 syssrc/sys/kern/kern_sysctl.c
cvs rdiff -r1.46 -r1.47 syssrc/sys/kern/tty_pty.c
cvs rdiff -r1.55 -r1.56 syssrc/sys/sys/sysctl.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.