[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] Add legacy pty support to domu config.
ChangeSet 1.1847, 2005/05/07 10:43:57+01:00, kaf24@xxxxxxxxxxxxxxxxxxxx Add legacy pty support to domu config. Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx> Kconfig.drivers | 37 +++++++++++++++++++++++++++++++++++++ configs/xenU_defconfig | 6 ++++++ 2 files changed, 43 insertions(+) diff -Nru a/linux-2.6.11-xen-sparse/arch/xen/Kconfig.drivers b/linux-2.6.11-xen-sparse/arch/xen/Kconfig.drivers --- a/linux-2.6.11-xen-sparse/arch/xen/Kconfig.drivers 2005-05-07 06:06:30 -04:00 +++ b/linux-2.6.11-xen-sparse/arch/xen/Kconfig.drivers 2005-05-07 06:06:30 -04:00 @@ -49,9 +49,46 @@ endif if !XEN_PHYSDEV_ACCESS + +menu "Character devices" + config UNIX98_PTYS bool default y + +config LEGACY_PTYS + bool "Legacy (BSD) PTY support" + default y + ---help--- + A pseudo terminal (PTY) is a software device consisting of two + halves: a master and a slave. The slave device behaves identical to + a physical terminal; the master device is used by a process to + read data from and write data to the slave, thereby emulating a + terminal. Typical programs for the master side are telnet servers + and xterms. + + Linux has traditionally used the BSD-like names /dev/ptyxx + for masters and /dev/ttyxx for slaves of pseudo + terminals. This scheme has a number of problems, including + security. This option enables these legacy devices; on most + systems, it is safe to say N. + + +config LEGACY_PTY_COUNT + int "Maximum number of legacy PTY in use" + depends on LEGACY_PTYS + range 1 256 + default "256" + ---help--- + The maximum number of legacy PTYs that can be used at any one time. + The default is 256, and should be more than enough. Embedded + systems may want to reduce this to save memory. + + When not in use, each legacy PTY occupies 12 bytes on 32-bit + architectures and 24 bytes on 64-bit architectures. + +endmenu + endif endmenu diff -Nru a/linux-2.6.11-xen-sparse/arch/xen/configs/xenU_defconfig b/linux-2.6.11-xen-sparse/arch/xen/configs/xenU_defconfig --- a/linux-2.6.11-xen-sparse/arch/xen/configs/xenU_defconfig 2005-05-07 06:06:30 -04:00 +++ b/linux-2.6.11-xen-sparse/arch/xen/configs/xenU_defconfig 2005-05-07 06:06:30 -04:00 @@ -331,6 +331,12 @@ # CONFIG_SHAPER is not set # CONFIG_NETCONSOLE is not set CONFIG_UNIX98_PTYS=y +CONFIG_LEGACY_PTYS=y +CONFIG_LEGACY_PTY_COUNT=256 + +# +# Character devices +# # # File systems _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |