Dave Hansen <hansendc@xxxxxxxxxx> writes: > On Thu, 2007-02-22 at 15:24 -0800, sukadev@xxxxxxxxxx wrote: >> - if (process_group(curr) != pgrp) { >> + if (pid_nr(task_pgrp(curr)) != pgrp) { > > I wonder if there are enough of these cases to start doing: > > #define task_pgrp_nr(tsk) pid_nr(task_pgrp(tsk)) > #define task_tgid_nr(tsk) pid_nr(task_tgid(tsk)) There shouldn't be. We should really fix the arguments of __set_special_pids to be struct_pid *. At which point this ugliness goes away. Eric _______________________________________________ Containers mailing list Containers@xxxxxxxxxxxxxx https://lists.osdl.org/mailman/listinfo/containers