diff options
author | Pavel Emelyanov <xemul@openvz.org> | 2008-07-25 01:48:48 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-07-25 10:53:47 -0700 |
commit | 7d1e13505be8c2bd2207894f4e0f069e1f9b51c9 (patch) | |
tree | d8471439c564bb15532c9dac041d0787faee2c90 /include/linux/uts.h | |
parent | b5a7174875ea570cc675f2c503e800db8efdd6a7 (diff) | |
download | lwn-7d1e13505be8c2bd2207894f4e0f069e1f9b51c9.tar.gz lwn-7d1e13505be8c2bd2207894f4e0f069e1f9b51c9.zip |
bsdacct: account dying tasks in all relevant namespaces
This just makes the acct_proces walk the pid namespaces from current up to
the top and account a task in each with the accounting turned on.
ns->parent access if safe lockless, since current it still alive and holds
its namespace, which in turn holds its parent.
Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Cc: Balbir Singh <balbir@in.ibm.com>
Cc: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/uts.h')
0 files changed, 0 insertions, 0 deletions