]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite58590f0677cd60309f01f9a333a622bbef80ee0
treeb790eca5876c05e8f987b3e84333c9b92cc1482d
parentcaa805d012ba0be7b7cdb6bd4d4f4a976fee867d
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