summaryrefslogtreecommitdiffstats
path: root/kernel/posix-cpu-timers.c
diff options
context:
space:
mode:
authorPavel Emelyanov <xemul@openvz.org>2008-03-24 20:29:53 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2008-03-25 03:22:20 +0100
commit5f7b703fe2be40db5a2bf136ac9e44cf5db267cc (patch)
treeaa7da3bcd7a1e50cf2be75f633ce19ae3bf0ae9c /kernel/posix-cpu-timers.c
parentbsd_acct: plain current->real_parent access is not always safe (diff)
downloadlinux-5f7b703fe2be40db5a2bf136ac9e44cf5db267cc.tar.xz
linux-5f7b703fe2be40db5a2bf136ac9e44cf5db267cc.zip
bsd_acct: using task_struct->tgid is not right in pid-namespaces
In case we're accounting from a sub-namespace, the tgids reported will not refer to the right namespace. Save the pid_namespace we're accounting in on the acct_glbs and use it in do_acct_process. Two less :) places using the task_struct.tgid member. Signed-off-by: Pavel Emelyanov <xemul@openvz.org> Cc: Oleg Nesterov <oleg@tv-sign.ru> Cc: "Paul E. McKenney" <paulmck@us.ibm.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/posix-cpu-timers.c')
0 files changed, 0 insertions, 0 deletions