pid: fix solaris_procids
authorEric W. Biederman <ebiederm@xmission.com>
Fri, 8 Feb 2008 12:19:17 +0000 (04:19 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Fri, 8 Feb 2008 17:22:28 +0000 (09:22 -0800)
commitf374ada53bd1ca7c16d7607369fccc6769704956
treeb790eca5876c05e8f987b3e84333c9b92cc1482d
parent69440e76f6121fe7a5193a82f45ccec08e4bb24b
pid: fix solaris_procids

Use task_pgrp_vnr not task_pgrp_nr so we return the process id the processes
pid namespace and not in the initial pid namespace.

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Cc: Pavel Emelyanov <xemul@openvz.org>
Cc: Oleg Nesterov <oleg@tv-sign.ru>
Cc: "David S. Miller" <davem@davemloft.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/sparc64/solaris/misc.c