[Devel] Re: [PATCH 2/2] Explicitly set pgid and sid of init

Dave Hansen hansendc at us.ibm.com
Thu Feb 22 15:38:07 PST 2007


On Thu, 2007-02-22 at 15:24 -0800, sukadev at us.ibm.com 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))

etc...

-- Dave

_______________________________________________
Containers mailing list
Containers at lists.osdl.org
https://lists.osdl.org/mailman/listinfo/containers




More information about the Devel mailing list