[CRIU] [PATCH 05/17] dump: remove useless arguments from seize_task()

Pavel Emelyanov xemul at parallels.com
Thu Nov 6 03:33:38 PST 2014


> @@ -82,11 +82,6 @@ int seize_task(pid_t pid, pid_t ppid, pid_t *pgid, pid_t *sid)
>  	if (ret2 < 0)
>  		return -1;
>  
> -	if (pgid)
> -		*pgid = ps.pgid;
> -	if (sid)
> -		*sid = ps.sid;
> -

Plz, fix the parse_pid_stat_small too. Incrementally.

>  	if (ret < 0) {
>  		if (ps.state != 'Z') {
>  			if (pid == getpid())
> 



More information about the CRIU mailing list