[CRIU] [PATCH 1/7] tty: Save task current terminal if present

Cyrill Gorcunov gorcunov at gmail.com
Wed Feb 8 00:48:34 PST 2017


On Wed, Feb 08, 2017 at 11:30:24AM +0300, Pavel Emelyanov wrote:
> >  
> >  	optional int32			oom_score_adj	= 14;
> > +	/*
> > +	 * Next two will be needed for handling
> > +	 * /dev/tty inheritance. Rarther reserved for
> > +	 * future use.
> > +	 */
> > +	optional int32			tty_nr		= 15;
> > +	optional int32			tty_pgrp	= 16;
> 
> Yet again. If you need the numbers to be reserved, add them as comments
> into .proto file.

They are _not_ just reserved. They are dumped too, because I want
these numbers to be in image already. The key moment is that I
didnt yet implemented inheritance, but it's another issue.


More information about the CRIU mailing list