diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2012-02-07 17:56:49 -0800 |
---|---|---|
committer | Eric W. Biederman <ebiederm@xmission.com> | 2012-09-18 01:01:32 -0700 |
commit | 4bd6e32acec66c55c6c1af4672f3216b2ac88e35 (patch) | |
tree | 10800ae46eac8cba0f947b9ec3b7c8bc694d834a /init | |
parent | cca080d9b622094831672a136e5ee4f702d116b1 (diff) | |
download | op-kernel-dev-4bd6e32acec66c55c6c1af4672f3216b2ac88e35.zip op-kernel-dev-4bd6e32acec66c55c6c1af4672f3216b2ac88e35.tar.gz |
userns: Convert taskstats to handle the user and pid namespaces.
- Explicitly limit exit task stat broadcast to the initial user and
pid namespaces, as it is already limited to the initial network
namespace.
- For broadcast task stats explicitly generate all of the idenitiers
in terms of the initial user namespace and the initial pid
namespace.
- For request stats report them in terms of the current user namespace
and the current pid namespace. Netlink messages are delivered
syncrhonously to the kernel allowing us to get the user namespace
and the pid namespace from the current task.
- Pass the namespaces for representing pids and uids and gids
into bacct_add_task.
Cc: Balbir Singh <bsingharora@gmail.com>
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Diffstat (limited to 'init')
-rw-r--r-- | init/Kconfig | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/init/Kconfig b/init/Kconfig index b5ecb4e..f0f636c 100644 --- a/init/Kconfig +++ b/init/Kconfig @@ -927,7 +927,6 @@ config UIDGID_CONVERTED # Features depends on IMA = n depends on EVM = n - depends on TASKSTATS = n depends on TRACING = n depends on FS_POSIX_ACL = n depends on QUOTA = n |