[PATCH 05/10] Add DEVPTS_MULTIPLE_INSTANCES config token

Serge E. Hallyn serue at us.ibm.com
Wed Sep 24 10:24:02 PDT 2008


Quoting sukadev at us.ibm.com (sukadev at us.ibm.com):
> 
> >From d443597559ded0785804716ed58c990ee477d56b Mon Sep 17 00:00:00 2001
> From: Sukadev Bhattiprolu <sukadev at linux.vnet.ibm.com>
> Date: Tue, 9 Sep 2008 12:00:51 -0700
> Subject: [PATCH 05/10] Add DEVPTS_MULTIPLE_INSTANCES config token
> 

No sign-off?

Acked-by: Serge Hallyn <serue at us.ibm.com>

> ---
>  drivers/char/Kconfig |   11 +++++++++++
>  1 files changed, 11 insertions(+), 0 deletions(-)
> 
> diff --git a/drivers/char/Kconfig b/drivers/char/Kconfig
> index 700ff96..0d3ea89 100644
> --- a/drivers/char/Kconfig
> +++ b/drivers/char/Kconfig
> @@ -443,6 +443,17 @@ config UNIX98_PTYS
>  	  All modern Linux systems use the Unix98 ptys.  Say Y unless
>  	  you're on an embedded system and want to conserve memory.
> 
> +config DEVPTS_MULTIPLE_INSTANCES
> +	bool "Support multiple instances of devpts"
> +	depends on UNIX98_PTYS
> +	default n
> +	---help---
> +	  Enable support for multiple instances of devpts filesystem.
> +	  If you want to have isolated PTY namespaces (eg: in containers),
> +	  say Y here.  Otherwise, say N. If enabled, each mount of devpts
> +	  filesystem with the '-o newinstance' option will create an
> +	  independent PTY namespace.
> +
>  config LEGACY_PTYS
>  	bool "Legacy (BSD) PTY support"
>  	default y
> -- 
> 1.5.2.5


More information about the Containers mailing list