[Devel] [PATCH] images: Reserve tty numbers in task_core_entry

Andrey Vagin avagin at virtuozzo.com
Sat Jul 29 08:11:58 MSK 2017


Applied, thanks!
On Tue, Jul 18, 2017 at 10:57:54PM +0300, Cyrill Gorcunov wrote:
> We will need them to handle tty inheritance.
> 
> Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
> ---
>  images/core.proto | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> In sake of https://jira.sw.ru/browse/PSBM-67671
> 
> diff --git a/images/core.proto b/images/core.proto
> index ea572d93a300..0291fae68ea8 100644
> --- a/images/core.proto
> +++ b/images/core.proto
> @@ -47,6 +47,10 @@ message task_core_entry {
>  
>  	optional int32			oom_score_adj	= 14;
>  	repeated sa_entry		sigactions	= 15;
> +
> +	// Reserved for TTY inheritance handling
> +	// optional int32		tty_nr		= 16;
> +	// optional int32		tty_pgrp	= 17;
>  }
>  
>  message task_kobj_ids_entry {
> -- 
> 2.7.5
> 


More information about the Devel mailing list