diff options
author | Pavel Emelyanov <[email protected]> | 2008-03-24 12:29:53 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2008-03-24 19:22:20 -0700 |
commit | 5f7b703fe2be40db5a2bf136ac9e44cf5db267cc (patch) | |
tree | aa7da3bcd7a1e50cf2be75f633ce19ae3bf0ae9c /net/unix/sysctl_net_unix.c | |
parent | a846a1954b6397e844fe1e258af7598897ec6159 (diff) |
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 <[email protected]>
Cc: Oleg Nesterov <[email protected]>
Cc: "Paul E. McKenney" <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions