[CRIU] [PATCH 05/17] dump: remove useless arguments from seize_task()
Andrew Vagin
avagin at parallels.com
Fri Nov 7 00:28:39 PST 2014
On Thu, Nov 06, 2014 at 03:33:38PM +0400, Pavel Emelyanov wrote:
>
> > @@ -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.
[PATCH 08/17] proc: delete parse_pid_stat_small()
>
> > if (ret < 0) {
> > if (ps.state != 'Z') {
> > if (pid == getpid())
> >
>
More information about the CRIU
mailing list