> @@ -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()) >